vb.org Archive

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

Lady Divus 02-25-2006 12:34 AM

Question For Brad
 
Brad, hello and good day to you...I have a question that i know may seem a little silly, but i have to ask. How did you get your post count to show question marks?

I think it is so interesting and would most definately help hide how lazy i am on my forums ;) Seriously tho, i do like it...

Is this something you mind sharing? I await your response...Thank you in advance -

Lady Divus

harmor19 02-25-2006 12:47 AM

It's just a template conditional

Go to
Admin CP --> Postbit Templates --> postbit or postbit_legacy

Find:
HTML Code:

$post[posts]
Replace With:
HTML Code:

<if condition="$post['userid'] == X">???<else />$post[posts]</if>
X = Your User ID

Lady Divus 02-25-2006 12:53 AM

Quote:

Originally Posted by harmor19
It's just a template conditional

HTML Code:

<if condition="$bbuserinfo['userid'] == X">???</if>
X = Your User ID

You'll need to throw in an else condition aswell.

harmor19, thank you for your reply. Could you tell me which template, and where i add this conditional? And what kind of else condition are you referring to, and where do i insert it?

I dont mean to sound like such a n00b, but fact is, i am a n00b ;) Thank you for your help in advance -

Lady Divus

Daniel 02-25-2006 12:54 AM

What about having your user name multiple colors?

harmor19 02-25-2006 12:58 AM

I edited my post.

If you're unsure of which postbit to edit remember that vbulletin.org uses postbit_legacy, the information is to the left.
vbulletin.com uses postbit, the information is above the posts.

Quote:

Originally Posted by Daniel
What about having your user name multiple colors?

That I do not know

Daniel 02-25-2006 01:05 AM

I've tried to edit it to fit the Join Date, but I get ??? for everything. Here is my code:

<if condition="$bbuserinfo['userid'] == 1">$vbphrase[join_date]: ???<else />$vbphrase[join_date]: $post[joindate]
</if>

Lady Divus 02-25-2006 01:15 AM

Quote:

Originally Posted by harmor19
I edited my post.

If you're unsure of which postbit to edit remember that vbulletin.org uses postbit_legacy, the information is to the left.
vbulletin.com uses postbit, the information is above the posts.



That I do not know

harmor19, again, thank you for your help...I did just as you instructed, in both templates and replaced the X with my user ID and i still see my post count...Could you tell me what i am doing wrong? Thank you for your help...Be well -

Lady Divus

harmor19 02-25-2006 01:35 AM

Sorry, I had you looking for the wrong thing.
I updated the post.

Lady Divus 02-25-2006 01:42 AM

Quote:

Originally Posted by harmor19
Sorry, I had you looking for the wrong thing.
I updated the post.

Perfect!!...Thank you so very much for this tidbit of info that i know isnt sugnificant to most, but i love it! Kisses to you harmor19...Be well -

Lady Divus

harmor19 02-25-2006 03:09 AM

I noticed my mistake.
I have edited my post.


All times are GMT. The time now is 04: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.02519 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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