Home Forum  Search the forums : 
GFXstyles
Go Back   GFXstyles » Style forums » Styles Support : free :
Styles Support : free : Help for getting your style set up and coded properly, plug in integration
Not for add ons or programs that dont' use the vBulletin template configuration

Reply
 
LinkBack Thread Tools Display Modes
Forum Lover's Avatar
Style Owner
Join Date: Dec 2007 Location: Toronto Posts: 500 Forum Lover will become famous soon enough Forum Lover is offline
September 7th, 2008, 05:21 PM
Question $numbermembers thing!

Hi,

I want to something on my header like...

Code:
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.

Well the thing is, I tried putting $numbermembers at forumdisplay and its showing, while trying to show at the header.. its not.

Any clue guys?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  Reply With Quote top of post top of page
MikeD's Avatar
Style Owner
Join Date: Feb 2007 Age: 44 Location: Cologne, Germany Posts: 70 MikeD has a spectacular aura aboutMikeD has a spectacular aura about MikeD is offline
September 7th, 2008, 06:36 PM
Default Re: $numbermembers thing!

The reason is, that vB use the variables in different ways of its different Hooks. Sure, "$numbermembers" works only in FORUMHOME but not in the HEADER. You need to write an Plugin which looks like in this way...

Code:
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.


Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  Reply With Quote top of post top of page
MikeD's Avatar
Style Owner
Join Date: Feb 2007 Age: 44 Location: Cologne, Germany Posts: 70 MikeD has a spectacular aura aboutMikeD has a spectacular aura about MikeD is offline
September 7th, 2008, 06:41 PM
Default Re: $numbermembers thing!

In case you want to add more Statistic Infos (such like "$totalposts, $totalthreads, $newusername, $newuserid, $countthreads, $totalonline ...) I'd recommend you to use the "$datastore_fetch[]" via Hook "init_startup"...
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.

This one save a lot of Queries and can be done via just 3 Queries

Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  Reply With Quote top of post top of page
Santai's Avatar
3ts'
Join Date: Mar 2006 Age: 53 Location: USA - tn Posts: 7,679 Santai is a splendid one to beholdSantai is a splendid one to beholdSantai is a splendid one to beholdSantai is a splendid one to beholdSantai is a splendid one to beholdSantai is a splendid one to beholdSantai is a splendid one to behold Send a message via MSN to Santai Send a message via Yahoo to Santai Send a message via Skype™ to Santai Santai is offline
September 8th, 2008, 05:48 AM
Default Re: $numbermembers thing!

nice

is there a way that the thread views can be retrived - stored :

total views and ahow many in each forum ? ..
Quote:
Originally Posted by MikeD View Post
In case you want to add more Statistic Infos (such like "$totalposts, $totalthreads, $newusername, $newuserid, $countthreads, $totalonline ...) I'd recommend you to use the "$datastore_fetch[]" via Hook "init_startup"...
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.

This one save a lot of Queries and can be done via just 3 Queries

Kenj
a certain amount of common sense is necessary to survive in this world !
insanity leaves you no restrictions !
// support is available via the forums, post the apparent discrepancy or help needed . \\
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  Reply With Quote top of post top of page
Forum Lover's Avatar
Style Owner
Join Date: Dec 2007 Location: Toronto Posts: 500 Forum Lover will become famous soon enough Forum Lover is offline
September 11th, 2008, 03:35 AM
Default Re: $numbermembers thing!

thanks MikeD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  Reply With Quote top of post top of page
Reply

Bookmarks


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 09:53 PM.
style developed @ GFXstyles
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2006-2008 gfxstyles.com