vb.org Archive

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

Mickie D 01-21-2004 03:56 PM

template condition ?
 
i want to add a member of the year gif for my member who won :)

i can hard code it myself but i am sure you could use a template IF condition to do it ?

anyone know what it is ... as i dont have a clue about them template conditions

thank you very much in advance

NTLDR 01-21-2004 03:59 PM

HTML Code:

<if condition="$post['userid'] == X">code</if>
That assumes you want it in the postbit, replace X with the users userid and code with your HTML.

Mickie D 01-21-2004 07:11 PM

Quote:

Originally Posted by NTLDR
HTML Code:

<if condition="$post['userid'] == X">code</if>
That assumes you want it in the postbit, replace X with the users userid and code with your HTML.

your a star m8 .. this is much better than doing it hard coded.

and much easier i am gonna try and learn the new vbulletin conditionals .. is there a tut or just maybe a list of conditions ?

Zachery 01-21-2004 08:40 PM

im currently working on a tutorial for them, but ive only been poking at it id honestly expect to see it next week, probally at vBt if not here as well

Mickie D 01-21-2004 09:12 PM

i will have a good read of that tut m8y ;)

i am sure you told me on .nl the other day i got so many things happening i just finished a php tvguide that intergrates into vbulletin its pretty sweet but not sure if i will be releasing yet as i am gonna get a pal who is a php teacher to look over security and stuff

Zachery 01-21-2004 09:14 PM

Quote:

Originally Posted by Mickie D
i will have a good read of that tut m8y ;)

i am sure you told me on .nl the other day i got so many things happening i just finished a php tvguide that intergrates into vbulletin its pretty sweet but not sure if i will be releasing yet as i am gonna get a pal who is a php teacher to look over security and stuff

i have a basic howto on vB3 if you want to check it out /look in Hacking Hints and Tip


All times are GMT. The time now is 12:16 AM.

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.01069 seconds
  • Memory Usage 1,721KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete