The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I've double checked my edits but it won't update the stats unfortunately. Even after new posts are made in the forums I've listed to be ignored, the stats continue to update as normal.
|
#12
|
||||
|
||||
The stats under where it says Site Statistics? And you added in the forumids for the child forums, not just the parent forum?
|
#13
|
|||
|
|||
Yep, those statistics. I placed the category ID and all forum ID's within that category in the code.
|
#14
|
||||
|
||||
I honestly don't know why it wouldn't work for you as it works just fine on my test site with no modifications.
|
#15
|
|||
|
|||
I'll have a closer look, I might be able to spot if any modifications are getting in the way. Thank you for your help
--------------- Added [DATE]1369910733[/DATE] at [TIME]1369910733[/TIME] --------------- Hello again, What I've done is removed the private forum ID's and replaced them with forums I do wish to have shown in the statistics - this has now worked, the private forums are now excluded. I think I may have just misunderstood the instruction. So, the forum ID's I need to enter are the forums I do want to be counted for the statistics, is it possible to change it so that the ID's I enter are the forums I do not wish to be counted for the statistics? I'm going to have a lot more public forums than I would private forums if you understand what I mean. Thanks |
#16
|
||||
|
||||
It sounds like you forgot the ! at the beginning of the condition:
Code:
if (!in_array($forum['forumid'], array (x, y, z))) { |
#17
|
||||
|
||||
Lynnes original code shows that you have to list each and every forum (and subforum) that you don't want to be counted.
|
#18
|
|||
|
|||
That's done the trick, I have no idea why the ! wasn't there, I copy/pasted the code you provided.
Having included exclamation mark it now works as I wanted it to. Thank you very much for your help and time |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|