Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 11-06-2010, 12:14 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd guess you have an extra space or return in your template that is adding the space.
Reply With Quote
  #22  
Old 11-06-2010, 06:49 AM
Michael.A's Avatar
Michael.A Michael.A is offline
 
Join Date: Dec 2008
Location: L.A
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598 View Post
I'm not sure if you can turn that off from within the admincp. I'm almost sure you can't.

If you really want though you can open up index.php

find:

PHP Code:
eval('$activeusers .= ", ' fetch_template('forumhome_loggedinuser') . '";'); 
replace with:

PHP Code:
eval('$activeusers .= " ' fetch_template('forumhome_loggedinuser') . '";'); 
i dont know if that was helpful or not but the guy doesn't even know whats a ftp and your asking him to edit a php file see man people like you need to stop helping buc they really making things harder than they oared are..

am not trying to get on your bad side.

and by the way yes you can edit it with in the admin cp....

-------------------------------------------------------

anyways man i see that you got a space befor and after the usernames to fix that,
1- go to: forumhome_loggedinuser
2- find:
PHP Code:
 
3- remove the space before the , and leave the one after it
it will look like this in the end
PHP Code:

Reply With Quote
  #23  
Old 11-06-2010, 07:23 AM
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Location: Brisbane
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font face="Georgia">Thanks dude.

There actually wasn't a space before the ( , ) only, after it. As such I couldn't delete the space before it. But its not a big deal as I don't mind the comma in the middle. Thanks for all your help Maddog and Lynne.

I might not be a programmer but I have learned a fair bit about vBulletin since getting one a few years ago - when i knew absolutely nothing about web design. Now I at least know the basics, and fixing things hands on like this is actually a good learning experience for me. So all help rendered is appreciated, and I'm grateful for it.

But I am happy to let this particular issue rest now.</font>
Reply With Quote
  #24  
Old 11-06-2010, 12:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MAD--DOG View Post
i dont know if that was helpful or not but the guy doesn't even know whats a ftp and your asking him to edit a php file see man people like you need to stop helping buc they really making things harder than they oared are..
Are you complaining about the guy from 3 years ago who wasn't even replying to Arrogant-One? Or maybe this is in reply to my comment which I deleted because I realized it was wrong, but even before I deleted it I wasn't asking anyone to do anything, I was just commenting. In either case I don't think you should be telling anyone to stop helping.
Reply With Quote
  #25  
Old 11-06-2010, 08:46 PM
Michael.A's Avatar
Michael.A Michael.A is offline
 
Join Date: Dec 2008
Location: L.A
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

see man when i first started on vbulletin there is one person that helped me get the knowledge i know now and that was Lynne, but other helps like the one paul41598 supported in hes post made me start over my forum about 4 time so i know when i ask them to stop trying to help there is more meaning to it...
Reply With Quote
  #26  
Old 11-06-2010, 09:05 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know what you're saying, but I disagree. A couple of things I'd like to point out: One is that with all due respect to Lynne who I'm sure knows much more about this stuff than I ever will, if you go back to post #4 you will see that Lynne is explaining how to change the index.php file, so even people with expert knowledge don't have every file and template memorized and sometimes make mistakes. Fortunately there is a community so if someone makes a mistake or doesn't give the best solution someone else will correct it.

Second, this thread is about how to put in a comma. It's certainly a much better solution to do it in templates, but if someone did it by editing their index.php file it's not a disaster, and if someone wants to make that change they would probably rather have someone suggest changing the index.php file rather than get no answer at all. I started helping people because I saw simple questions go days or weeks without answers when I knew I could probably answer some of them.

In any case, if you have a correction to something or a better solution you should defintely post it but IMHO it can be done without criticizing other people for trying to help.

ETA: BTW, if the comma was actually hard-coded into index.php like is shown in post #2 then there would be no way to remove it by editing a template.
Reply With Quote
  #27  
Old 11-08-2010, 04:09 AM
Michael.A's Avatar
Michael.A Michael.A is offline
 
Join Date: Dec 2008
Location: L.A
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
ETA: BTW, if the comma was actually hard-coded into index.php like is shown in post #2 then there would be no way to remove it by editing a template.
am only going to QUOTE on this part and yes you can....

with out that template i told him to edit none will show up.. walk the walk before you talk the talk .
night kid99...
Reply With Quote
  #28  
Old 11-08-2010, 02:27 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm curious how if something is hard coded in a php file you can remove it from a template... It was my understanding templates can only add more code, not remove it. I would greatly appreciate an example if that is not the case.
Reply With Quote
  #29  
Old 11-08-2010, 08:19 PM
Michael.A's Avatar
Michael.A Michael.A is offline
 
Join Date: Dec 2008
Location: L.A
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok man he is talking about the Comma between the usernames can you or cant you not remove it from the template.
if you think not then read post 12 and try it out on a one of your forums...

---------------------------------------------------------------------------------- read me
i think i know why you have extra space:

download or find
{
- a default index.php
- upload it to you forum dir
}
Reply With Quote
  #30  
Old 11-08-2010, 08:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK thanks... I see post 12 works but that means the comma wasn't in the php file to begin with, no?
Reply With Quote
Reply


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 06:26 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.04893 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete