vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   vBulletin Variables List (https://vborg.vbsupport.ru/showthread.php?t=179930)

DragonMasterNYC 08-26-2008 03:52 AM

What would I use if i wanted to show an image if a curtain user is online and if they are off show a different one.

hellbringer80 12-30-2008 08:58 PM

What about trying to get themt o display in two different spots, when I have them both in the forumhome template and in the footer template, it won't display in the footer one, is there something I need to do to make it display?

figu120 02-05-2009 07:22 PM

Thanks ...
I doubt I can use it anywhere in my vb

Birched 02-28-2009 07:08 PM

Is there a variable that contains the name of the current page? I can't seem to find one.

ragtek 03-05-2009 01:35 AM

THIS_SCRIPT

But it's a constant, not a variable, so don't use $

Bloodhound2922 03-11-2009 08:52 PM

One more that should be added to the BBuserinfo list is $bbuserinfo[usergroupid]

This one is really useful, so I think it should be added.

positiverep 03-24-2009 07:27 PM

How do I use THIS_SCRIPT in a conditional to check if on the forum index page?
This is what I have right now but it's not working:
Code:

<if condition="THIS_SCRIPT != 'index.php'">
 <td class="forumbitforumlevel1post">$forum[lastpostinfo]</td><!-- -->
 <td class="forumbitforumlevel1post">$forum[threadcount]</td><!-- -->
 <td class="forumbitforumlevel1post">$forum[replycount]</td><!-- -->
</if>

I've placed it inside the forumbit_forum_level1_post as I want the thread and post info displayed in tabular form in the displayforum page but not on the homepage.
I've tried using the $vboptions[homeurl] and $vboptions[bburl] to no avail.
:confused:

--------------- Added [DATE]1237927008[/DATE] at [TIME]1237927008[/TIME] ---------------

I've just found the answer to my question here:
http://forum.vbulletinsetup.com/f18/...list-2185.html

In other words it should be this:
Code:

<if condition="THIS_SCRIPT != 'index'">
:)

Gamelobby 04-04-2009 07:44 AM

What would i use to make a "Home" buton that links to each persons OWN profile.?

Thanks :)

veenuisthebest 04-04-2009 10:11 AM

Quote:

Originally Posted by Gamelobby (Post 1783560)
What would i use to make a "Home" buton that links to each persons OWN profile.?

Thanks :)

HTML Code:

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">Home</a>

Gamelobby 04-04-2009 11:53 PM

This is what is there now..so i will need to make some adjustments for the button, etc..
Code:

<a href="$vboptions[forumhome].php$session[sessionurl_q]" class="home">Home</a>
This has the info i need though thanks. :)


All times are GMT. The time now is 06:59 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03691 seconds
  • Memory Usage 1,733KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)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