vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Comma ? (https://vborg.vbsupport.ru/showthread.php?t=139579)

Lynne 11-02-2010 07:00 PM

Thanks Joe, I don't know why I left that up except I was commenting about it...

Anyway, if you want to see if your file is default, then download a new fresh package from the members area and compare your index.php file to the default index.php file.

Michael.A 11-03-2010 01:53 AM

stop stop stop

omg all that just to remove a comma you dont have to do all that ...

here is what you have to do with out aditing any php files

stapes
1- go to user admin cp
2- Styles & Templates
3- Style Manager
4- pick the style that you dont want the comma to show up on...
5- edit Templates
6- forum home Templates
7- forumhome_loggedinuser
8- find
Code:

<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
9- replace with
Code:

<if condition="$show['comma_leader']"> </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
that way you dont have to play with you php file and stay on the safe side...
-------------------------------------------------

anyways whats up lynne i have Ben know you for like ever but i want to know something are you girl or ur ?
it wont make no different i will still like even if you were a dude no homo.. :)
am sorry for going off topic

Arrogant-One 11-03-2010 02:41 AM

Quote:

Originally Posted by MAD--DOG (Post 2117328)
4- pick the style that you dont want the comma to show up on...

No, no - the problem is that the comma's are already gone, I would like them back.

I put up the index.php file so someone could tell me if it is missing something, and now it has been deleted. :(

For what its worth I went to forumhome_loggedinuser and it did not have:

Quote:

<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
All it had was

Quote:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]

Michael.A 11-03-2010 02:45 AM

so add it and dont forget to thank me just kidding but that will fix it for you...topic closed

Arrogant-One 11-03-2010 02:40 PM

Quote:

Originally Posted by MAD--DOG (Post 2117346)
so add it and dont forget to thank me just kidding but that will fix it for you...topic closed

We are almost home free Madd Dog (and thanks a ton for your help by the way). I added the template code you asked in the

forumhome_loggedinuser template

to make it look like this:


Quote:

<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]

Now the comma's are showing up, but the usernames are appearing twice - if you click the link below in my signature you can see what I mean.

Hopefully there is an easy way to correct this, but we seem to be making progress.

Arrogant-One 11-05-2010 08:12 PM

<font face="Georgia">Can anyone please offer some insight into how I can get rid of the double usernames appearing in the Currently Active Users box?</font>

kh99 11-05-2010 08:19 PM

Did you insert the code MAD--DOG posted, or did you replace the original code? I'm guessing the only way this could happen is if you duplicated the code that adds the name.

Lynne 11-05-2010 08:32 PM

MAD-DOG's instructions said to find that stuff in the template and REPLACE it with his stuff, not just add his stuff. My guess is you didn't replace, you added. Post the template contents (using tags, please) if you can't figure it out.

Arrogant-One 11-05-2010 11:26 PM

Quote:

Originally Posted by Lynne (Post 2118432)
MAD-DOG's instructions said to find that stuff in the template and REPLACE it with his stuff, not just add his stuff. My guess is you didn't replace, you added. Post the template contents (using tags, please) if you can't figure it out.

Thanks for that. The issue is now largely resolved, although the comma now appears in the middle between username's and not right after a user's name. I tried fixing that without success, but that's not a huge deal though. Thanks for the help everyone.

kh99 11-05-2010 11:29 PM

nvm, I'm wrong (I think).


All times are GMT. The time now is 08:11 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.01761 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete