miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Re-cycled miniBB Support Forums / Re-cycled /  
 

Template variables

 
Author Grunff
Guest
#1 | Posted: 27 Feb 2004 00:08 
I'm trying to display some more info by the user's name, as outputted in main_posts_cell.html.

I've placed the output I want in a variable which is set in bb_func_vthread.php, but I can't figure out how the template parsing works!

I tries putting the variable in main_posts_cell.html like this {$myvar}, but it doesn't get parsed + outputted.

Any clues?

Many thanks.

Author Grunff
Guest
#2 | Posted: 27 Feb 2004 00:39 
D'oh - please ignore, I was being an idiot. That is exactly how you do it - it just helps if your variable actually contains something!

Author link92
Partaker
#3 | Posted: 2 Jan 2005 21:51 
How is this done in version 2?

Author Team
8-)
#4 | Posted: 3 Jan 2005 10:27 
The same way as in all versions :-) Declare variable in your script and put it in a template like {$variable}

Author link92
Partaker
#5 | Posted: 4 Jan 2005 00:32 
OK :)

Re-cycled miniBB Support Forums / Re-cycled /
 Template variables
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑