PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   Adding customized vB variables to templates (http://www.photopost.com/forum/reviewpost-how-do-i/126596-adding-customized-vbulletin-variables-templates.html)

LamBras August 13th, 2006 01:52 PM

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.

Chuck S August 13th, 2006 02:50 PM

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.

LamBras August 13th, 2006 02:57 PM

It is used in the navbar template, so anywhere on the forum.

Chuck S August 13th, 2006 03:30 PM

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


All times are GMT -5. The time now is 01:38 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97