PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 13th, 2006, 02:52 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Location: Frankfurt/Germany
Posts: 6
Question Adding customized vB variables to templates

Hi,

in my vBulletin navbar, I have some calls to custom variables like these:
Quote:
$vbphrase[members]: $numbermembers | $vbphrase[threads]: $totalthreads | $vbphrase[posts]: $totalposts
or like
Quote:
<img src="$vboptions[avatarurl]/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif" alt="Your Avatar" border="0" />
Unfortunately, these variables don't work with reviewpost. I noticed header-inc.php is the place to define them, but this is still too complex right now (just got ReviewPost today).

Any advice is appreciated.
LamBras is offline   Reply With Quote
Old August 13th, 2006, 03:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
well you might need to define where this plugin is activated. if its activated say only on forumhome you might want to try moving it to global start so its available throughout vbulletin.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 13th, 2006, 03:57 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Location: Frankfurt/Germany
Posts: 6
It is used in the navbar template, so anywhere on the forum.
LamBras is offline   Reply With Quote
Old August 13th, 2006, 04:30 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Check out your hack as I stated and see where the variables are defined. This has to do with your hack and nothing along with our vbulletin photopost integration. You must ensure whatever hack your doing that it is done globally to be usuable on the photopost pages
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Code to templates? kevinrstruck Photopost Pro How Do I...? 7 July 13th, 2006 04:39 PM
Pass phpbb variables through templates... scionlife Photopost Pro How Do I...? 6 March 25th, 2005 01:30 PM
Where do I change variables for new templates? ghern Classifieds Installation & Upgrades 1 September 1st, 2004 11:31 AM


All times are GMT -5. The time now is 04:45 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0