Log in

View Full Version : Removing the comma that separates moderated forums (showgroups)


Gray Matter
08-17-2005, 02:48 PM
Hi,

I'm looking to make my SHOWGROUPS template look more like a vBulletin 2 version. I've managed to perfect it other than two details. Firstly, how would I go about removing the " , " that separated moderated forums under Forum Moderators? I've already managed to get each forum onto a new line but the commas still preceed the 2nd, 3rd, etc. forums. I think, to remove this, I need to edit "showgroups.php" but unfortunately when it comes to PHP I may as well be reading Greek. I did play around with the PHP file a little but as was to be expected it came out disastrous, so I shall leave it to someone with more knowledge than I in this area. ;)

As for the other "detail". I don't know if it was something I edited or what, but nothing shows up where the online status is supposed to be. Where would I go about editing that?

Thanks in advance. :)

Gray Matter
08-18-2005, 05:31 PM
*bump*

No one? :(

Revan
08-18-2005, 06:41 PM
I may be very wrong about this, but I believe if you change:
$user['forumbits'] = implode(",\n", $modforums);
to
$user['forumbits'] = implode("\n", $modforums);
in showgroups.php, you'll get rid of the comma.

About your other detail, I really wouldn't know, as that looks like incorrect editing is the culprit. Did you try using a fresh copy of the file?


Hope this helps :)

Gray Matter
08-18-2005, 09:22 PM
Thanks, but I can't seem to find that first line anywhere in showgroups.php. :(

Can you tell me what line it is on?

eta; Nevermind, I found it and it works perfectly. :D