vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   WebTemplates 3.x: VB Integrated Content Management System (https://vborg.vbsupport.ru/showthread.php?t=76422)

Logician 02-19-2005 10:10 AM

Quote:

Originally Posted by neocorteqz
quick question on conditionals.

Please check help webtemplate, details are there.

neocorteqz 02-19-2005 10:35 AM

Quote:

Originally Posted by Logician
Please check help webtemplate, details are there.

thanks.

Agester 02-19-2005 11:30 PM

woot!!! going to install very soon, thanks logician :D

T3MEDIA 02-23-2005 08:02 PM

why did you use your own conditionals? I am just curious.
Do you have a complete list? (Just in case you get busy or not arround) EVERYONE knows only a few people on vb actually help so I would like to do work even if your not arround.

a full list with quick simple examples would be awsome.
Like your dynamic pop up. There were some hidden gems you gave users. I wouldnt have know them if you didnt show them in the thread.

Thanks.

Logician 02-24-2005 10:38 AM

Quote:

Originally Posted by T3MEDIA
why did you use your own conditionals? I am just curious.

Because although most of you met with this hack recently due to this new 3.x version, webtemplates hack is pretty old whose roots go back to March 2002.

My conditional syntax is first introduced in this first version of webtemplates and then I used the same context in many of my other hacks. At this time, there was no VB3 and vbulletin had no conditional concept. In other words my conditional syntax and concept is older than that of vb3.

To maintain backward compatibility, I keep supporting my syntax in my own hacks, besides I find it easier to use.

Quote:

a full list with quick simple examples would be awsome.
Like your dynamic pop up. There were some hidden gems you gave users. I wouldnt have know them if you didnt show them in the thread.
My conditional syntax is same in all my hacks so Dynamic Forum Home Announcement conditionals are fully compatible with webtemplates or vice versa. Hence you can use these samples in webtemplates.

T3MEDIA 02-25-2005 03:09 AM

Quote:

Originally Posted by Logician
Because although most of you met with this hack recently due to this new 3.x version, webtemplates hack is pretty old whose roots go back to March 2002.

My conditional syntax is first introduced in this first version of webtemplates and then I used the same context in many of my other hacks. At this time, there was no VB3 and vbulletin had no conditional concept. In other words my conditional syntax and concept is older than that of vb3.

To maintain backward compatibility, I keep supporting my syntax in my own hacks, besides I find it easier to use.


My conditional syntax is same in all my hacks so Dynamic Forum Home Announcement conditionals are fully compatible with webtemplates or vice versa. Hence you can use these samples in webtemplates.

yes but they dont have a full list.
Is there a list to go by?

jluerken 02-25-2005 05:05 AM

Quote:

Originally Posted by T3MEDIA
yes but they dont have a full list.
Is there a list to go by?

I would also like to see a list of condition examples.
I don't think that Jelsoft has one so maybe we can collect some here?

Logician 02-25-2005 07:52 AM

Quote:

Originally Posted by T3MEDIA
yes but they dont have a full list.
Is there a list to go by?

Full list of what exactly? The conditionals that you can build up is endless, they can not be restricted to a list. If you are looking for samples of this endless list (generally most used), you can find them in the hack threads of my relevant hacks (Webtemplates 2.x for vb2.x, Advanced Templates w/Conditionals hack for vb2.x, Dynamic Forum Home Announcement hack for vb2.x, Dynamic Forum Home Announcement hack for vb3.x)

Besides the conditionals you can use with this hack is not much different than the default conditionals of vb3. It is just the syntax that matters. So Vb 3 syntax is:

<if condition="$bbuserinfo[userid]==1">
if userid is 1, show this
</if>

my syntax is:

[[($bbuserinfo[userid]==1)]]
if userid is 1, show this
[[/($bbuserinfo[userid]==1)]]

as you can see the conditional here is same ($bbuserinfo[userid]==1), it is just the syntax that differs.

Agester 02-27-2005 01:29 AM

Worked great first time around on install! Great work man! Just a few modifications on colors for text and background to match my site, but it works awesome! Thanks!

lucabosurgi 03-01-2005 02:18 PM

I just installed the February version of the hack on 3.0.7,
but I can find the sentences indicated in the optional php modifications.
Any one can help?


All times are GMT. The time now is 04:20 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.01377 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)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