vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2006, 07:33 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
Default VB variables?

I am using a template thta has the following lines in the navbar

Code:
<div>Registered $vbphrase[members]: $numbermembers | Total $vbphrase[threads]: $totalthreads | Total $vbphrase[posts]: $totalposts</div>

The variables (ie. $numbermembers, $totalthreads, etc.) show up fine in the forums, but do NOT show up on the VBa Home Page...

Any Ideas?
__________________
InterFX
<br><br>

my Clients using VBa:
ChristianMom.com | BrassReview.com | TrumpetForum.com
Reply With Quote
  #2  
Old 11-11-2006, 08:07 PM
Chiaki Chiaki is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default Re: VB variables?

Quote:
Originally Posted by interfx View Post
I am using a template thta has the following lines in the navbar

Code:
<div>Registered $vbphrase[members]: $numbermembers | Total $vbphrase[threads]: $totalthreads | Total $vbphrase[posts]: $totalposts</div>

The variables (ie. $numbermembers, $totalthreads, etc.) show up fine in the forums, but do NOT show up on the VBa Home Page...

Any Ideas?
Make them global ?
Reply With Quote
  #3  
Old 11-11-2006, 09:01 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
Default Re: VB variables?

OK, I'm stupid... How/Where would I make them global? Looked in AdminCP, but can not figure out?
__________________
InterFX
<br><br>

my Clients using VBa:
ChristianMom.com | BrassReview.com | TrumpetForum.com
Reply With Quote
  #4  
Old 11-12-2006, 12:16 PM
Chiaki Chiaki is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default Re: VB variables?

Quote:
Originally Posted by interfx View Post
OK, I'm stupid... How/Where would I make them global? Looked in AdminCP, but can not figure out?
Go into your CMPS ACP and go to the normal settings. There you can enter somewhere variables that shall be treated global. Isn't that hard to find, is it?
Reply With Quote
  #5  
Old 11-12-2006, 02:07 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
Default Re: VB variables?

Ok, I did end up finding it (was looking in VB, not VBa admin settings) - but not working... I'll keep tryign to figure it out...
__________________
InterFX
<br><br>

my Clients using VBa:
ChristianMom.com | BrassReview.com | TrumpetForum.com
Reply With Quote
  #6  
Old 11-12-2006, 03:13 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: VB variables?

Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables

Add this to that setting and it should take care of the problem:
Code:
totalposts
totalthreads
numbermembers
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using variables from vb ? LoOnEyToOnZ "How Do I..." Questions 1 12-30-2005 04:10 PM
How can I use variables in other templates? suryoyena "How Do I..." Questions 1 12-08-2005 03:24 PM
Passing variables? cookie "How Do I..." Questions 3 09-22-2005 11:51 AM
Passing variables gabned Troubleshooting & Problems 6 09-05-2005 06:12 PM


All times are GMT -4. The time now is 08:06 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.