Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jul 2009, 03:05
DionDev DionDev is offline
 
Join Date: Mar 2008
Forum stats in header template

This makes no sense. Why is something so simple being so difficult?

Adding the following code as a plugin in global_start does not work:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When using the variable $totalthreads in the header template after creating and activating this plugin, it is still not showing the $totalthreads count in the header where I want it to.

I have not seen a suitable fix for this. And no, a mod that executes 6 queries just to pull up these cached statistics is not what I am looking for.
Reply With Quote
  #2  
Old 14 Jul 2009, 03:15
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
just a small bit from one of my custom files on my site.....it should help you out a bit:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 14 Jul 2009 at 03:18 ---------------

Actually....looking at that again, that IS part of my file. You're just missing the require_once variables I believe
__________________

Posting for support? Read THIS first
Do NOT PM me unless I asked you to. Your PM will be deleted and ignored!
Do NOT IM me unless I asked you to. You will be added to my ignore list!
Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!”

Last edited by HMBeaty : 14 Jul 2009 at 03:18. Reason: Auto-Merged DoublePost
Reply With Quote
Reply


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

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


New To Site? Need Help?

All times are GMT. The time now is 16:03.

Layout Options | Width: Wide Color: