vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   Template Editing - All the variables and coding bits you need to know! (https://vborg.vbsupport.ru/showthread.php?t=113489)

aisais 07-11-2008 02:49 AM

Excellent thread. Thanks

katwomanofsteel 08-15-2008 03:56 PM

Just read your variables article and it was very helpful! However, I still can't figure out how to pull into the postbit template, a poster's paid subscription information in 3.5.8.

Tried an if condition to check for $user['donator'] (hoping this would grab the check for paid subscriptions field in the user table) but that isn't working and I can't figure out where in the db the field is for the user's paid subscriptions...

Any ideas?

ForgotenDynasty 08-18-2008 03:22 AM

if i want to use these on a nonvb page all i need to do is include the global.php correct?

silly rabbit 05-02-2009 11:22 AM

Quote:

Originally Posted by aisais (Post 1572461)
Excellent thread. Thanks

ditto! And Thanks!

Another Question (this thread seems appro): those pesky 'lil "phrase variables" embedded within vB phrases (ie: the ones that look like {1} and ofttimes come with plugins) what's the easiest way to add more or change 'em?

Forgive if stupid question,

Rabbit

mokonzi 02-24-2010 08:44 PM

Sorry to resurrect a seriosuly old article, but since I found this useful in 3.7 and 3.8, it might be nice to get some updated info in here...

So...

My question is what is the proper {vb:raw} expression to put a profile field into a template?

TalkVirginia 02-28-2010 08:19 AM

Instead of adding 4.x info to this article.. Might want to just do a new one for 4.x and add a link to it, but I'm sure the 'powers that be' already knew that. ;)

Gator Bite 05-07-2010 03:12 PM

OK, I've banged my head pretty good on this one. We have a vb 3.8.4 forum and we would like to change the recipient field on the activation e-mail from the 'username' to the members real first name, which we have stored in Profile Field 15. Does anyone know how we can achieve this?

Thanks in advance for your time.

Mike

MathewC 05-11-2010 12:07 PM

Is there a way to display content to the user logged in and not to everyone logged in?

Such as,

License Code:
54575e4

Each license code is different thus every member should only see their license code?

BirdOPrey5 06-28-2010 08:26 PM

Quote:

Originally Posted by ForgotenDynasty (Post 1601157)
if i want to use these on a nonvb page all i need to do is include the global.php correct?

I'm curious if there is a way to call these fields from a php file as well.

gamerzhut 07-21-2010 03:58 PM

Really useful thanks :)


All times are GMT. The time now is 01:18 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.01241 seconds
  • Memory Usage 1,732KB
  • 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_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