vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   vB4 Template Conditionals List (https://vborg.vbsupport.ru/showthread.php?t=231525)

BBR-APBT 01-09-2010 01:15 AM

Quote:

Originally Posted by SledgeHead (Post 1950619)
I apologize. I was wondering for the conditional tags to use to accomplish this.

You will need more then a conditional to accomplish this.

SledgeHead 01-09-2010 03:07 AM

Right. From my understanding you make a custom profile field and then incorporate they field number into the conditional. No?

BBR-APBT 01-09-2010 03:19 AM

you may have to also register variables depending where you want to put it.


Code:

<vb:if condition="$bbuserinfo['fieldx']">

</vb:if>


abdicar 01-11-2010 05:30 PM

I want to setup an alias for my forum, for the porn forum. So, how I can show that forum, ONLY if the people is accessing using the alias domain name?

In PHP It is easy, but i don't know how can be possible now in vB.

Adam H 01-14-2010 09:05 PM

I could actually kiss you , great list was waiting for some one to get a list done like this.

BBR-APBT 01-15-2010 03:01 AM

Quote:

Originally Posted by riverwire (Post 1955983)
I could actually kiss you , great list was waiting for some one to get a list done like this.

I at least hope your a female. ;)

TimberFloorAu 01-18-2010 09:23 PM

Brilliant list mate :up:

Really helps, keep up the great work. Ste

RL714 01-22-2010 11:10 PM

Useful for adding a advertisement or other information after the first post on every page.

Code:

<vb:if condition="!$GLOBALS['FIRSTPOSTID']"></vb:if>

huuquynh 01-23-2010 04:08 PM

I want to use condition with the custom field. For example, I use custom field number 6 for private information, and I want the member can view it but hide it for everyone.

Is there any example?

3DUInc 01-26-2010 12:49 AM

Excellent thank you very much :)


All times are GMT. The time now is 05:02 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.01266 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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