Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 12-30-2005, 08:53 AM
Saskia's Avatar
Saskia Saskia is offline
 
Join Date: Oct 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Space in between username and comma

I'm having a slight problem which I can't seem to solve on my own, so I hope someone can.

All around my forum, I get a space in between a username and a comma, seperating multiple usernames. It's at the bottom of the forumhome in the "who's online" bit and at the top of forumdisplay where it's stating the moderators and the users browsing that forum.

I'm running vBulletin 3.5.2 and made a lot of template changes to make my forum look like vBulletin 2, but even the unchanged stylesets are having this problem. I hope someone can help me with this.

Thank you.

ETA: Oh god, I think I've posted this in the wrong forum. I'm terribly sorry if I did.
Attached Images
File Type: jpg problem.jpg (27.7 KB, 0 views)
Reply With Quote
  #2  
Old 12-30-2005, 12:41 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll let you off Saskia The comma and it's space is hardcoded in the relevant files that display who's online. For your forumhome as in the screenshot you need to look at this line in index.php:

PHP Code:
eval('$activeusers .= ", ' fetch_template('forumhome_loggedinuser') . '";'); 
Be careful that you only edit the comma and it's proceding space otherwisu'll get errors
Reply With Quote
  #3  
Old 12-31-2005, 08:02 AM
Saskia's Avatar
Saskia Saskia is offline
 
Join Date: Oct 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to see what was wrong with that code but I can't find a thing. I've got the exact same thing:

PHP Code:
eval('$activeusers .= ", ' fetch_template('forumhome_loggedinuser') . '";'); 
I took the original index.php file and it didn't change one bit. The really weird part is that when I go to "view source" on my forum's home, and go to the part that I'm having problems with, that I can't even find the comma in that code.

The only comma editing I did was on showgroups.php, but I doubt that that altered all my comma's in the process.
Reply With Quote
  #4  
Old 12-31-2005, 01:45 PM
nexialys
Guest
 
Posts: n/a
Default

if your "space" is showing on people with a specific usergroup, maybe you simply have to edit the usergroup and delete all spaces in the html tags of that group.
Reply With Quote
  #5  
Old 12-31-2005, 02:21 PM
Saskia's Avatar
Saskia Saskia is offline
 
Join Date: Oct 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, I've tried deleting the the html tags for usergroups and tried the normal username instead of musername. The space is still there.

EDIT: Okay I've found it. I had the option "Add Template Name in HTML Comments" turned to 'yes' to be able to debug and work on the forums, so I figured that maybe that caused the space cause nothing else was really causing this. I don't understand why it would add in a space though, but I'm glad I found it.

Thanks for all the help , I really appreciate it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


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.03805 seconds
  • Memory Usage 2,208KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete