vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing the comma that separates moderated forums (showgroups) (https://vborg.vbsupport.ru/showthread.php?t=94497)

Gray Matter 08-17-2005 02:48 PM

Removing the comma that separates moderated forums (showgroups)
 
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:
PHP Code:

$user['forumbits'] = implode(",\n"$modforums); 

to
PHP Code:

$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


All times are GMT. The time now is 07:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete