Skip to Content Skip to Menu

Remove bullets cbuserlist module

  • mrtomuk
  • mrtomuk
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
15 years 3 months ago #106737 by mrtomuk
Remove bullets cbuserlist module was created by mrtomuk
Hi there,

How can I edit the way the module shows users on the cbuserlist module?

I particularly want to remove the bullets as they take up too much room - bumping the username off the edge of the page. Example on the right here:

www.theprisoneronline.com

Many thanks

Tom F

Please Log in or Create an account to join the conversation.

  • Rapunzl
  • Rapunzl
  • OFFLINE
  • Posts: 149
  • Thanks: 7
  • Karma: 108
15 years 3 months ago #106764 by Rapunzl
Replied by Rapunzl on topic Re:Remove bullets cbuserlist module
Use Firefox Firebug addon or a similar web developer browser addon to find the CSS to change or add in your CSS template.

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in or Create an account to join the conversation.

15 years 3 months ago #107607 by chattalkcity
Replied by chattalkcity on topic Re:Remove bullets cbuserlist module
If you want this, then you are required to change the .php file in the 'Modules' folder.

Please Log in or Create an account to join the conversation.

  • TinaFitz
  • TinaFitz
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
15 years 1 month ago #113282 by TinaFitz
Replied by TinaFitz on topic Re:Remove bullets cbuserlist module
chattalkcity wrote:

If you want this, then you are required to change the .php file in the 'Modules' folder.


can someone provide more help on this? are you talking about the mod_cbuserlist/tmpl/default.php file or some other file? I can't figure out where to make a mod in this file and I can't find a different file to check out. Any help would be very appreciated:)

Please Log in or Create an account to join the conversation.

  • TinaFitz
  • TinaFitz
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
15 years 1 month ago #113283 by TinaFitz
Replied by TinaFitz on topic Re:Remove bullets cbuserlist module
forgot to subscribe -

Please Log in or Create an account to join the conversation.

  • Kolibri
  • Kolibri
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
14 years 8 months ago #127563 by Kolibri
Replied by Kolibri on topic Re:Remove bullets cbuserlist module
Hi,

the problem is the appearance of an "unsorted list".

To change that open mod_cbuserlist\tmpl\default.php.

Modify Line 327 from
$obj = '<li>'.$obj.'</li>'."\n";
to
$obj = '<dt>'.$obj.'</dt>'."\n";

Modify Line 337 from
$html = '<ul>'."\n".$objs."\n".'</ul>'."\n";
to
$html = '<dl>'."\n".$objs."\n".'</dl>'."\n";

This will show a "definition list" without bullets instead of an "unsorted list" in frontend.

Regards

Kolibri

Post edited by: Kolibri, at: 2010/03/23 15:18

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum