PDA

View Full Version : HELP...Currently viewing forum/thread count not working


eblivion
10-02-2004, 10:03 PM
The "x viewing" count on the forum home page disappeared. Also, on the show threads page the "Currently active users viewing this thread" count is incorrect. It only shows the member currently looking at it.

It just says "1 member 0 guests" eventhough, I can see that other members/guests are viewing that forum/thread from the Who's Online page.

The only hack I've installed since I noticed the problem is vbAdvanced CMPS. The mod is just for their homepage (/index.php), so it doesn't affect any of the other forum pages/settings.

I re-uploaded index.php, sessions.php & showthread.php files and I still have the same problem.

I checked the sessions database table and it shows the currently active users. It shows the location of each user, which I'm assuming is why Who's Online displays properly.

However, it has "0" for the "inforum" and "inthread" fields, which I'm assuming is why those counts aren't displaying on the site.

How can I fix this. Where can I find the code to make sure it's upating the database.

Also, I noticed "0" for the "incalendar" field for one of the users, eventhough the "location" field shows the user in the calendar.

----------------------------------------------------

I posted the content above on vbulletin.com and they said your script makes changes to my database and that's most likely why the database fields aren't updating properly.

Can you please tell me what changes your script may have made to prevent the inforum, inthread, and incalendar fields in the session database from updating.

Also, I'm going to try uninstalling/reinstall your mod, but I just want to make sure it won't delete any custom templates that I created for addons.

eblivion
10-02-2004, 10:43 PM
I uninstalled/reinstalled and still have the same problems.

Any suggestions?

Our Sponsors
 

Fiber
10-02-2004, 11:18 PM
Did you make copies of all the original files before installing VBA CMPS?
If so put them all back, I don't see how the tables from this install would mess that up.
Sounds like something else went wrong.

eblivion
10-03-2004, 12:07 AM
I had backups of everything. I still had the same problem evern after uninstalling your mod.

It seems to be a template/style issue for some reason. I created a new style that was based off of the orig vb3 style and as long as I have that running in a browser, the proper counts display on the browser with both new & old style.

I'm now comparing all templates in both old and new style to see what I may have indvertently deleted from the default style that would cause this behavior.

Our Sponsors
 

Artayick
10-03-2004, 12:10 AM
Restore all your templates. then make edits one template at a time.. it will either find your error or correct it. provided is a template error..

eblivion
10-03-2004, 01:36 AM
It was a template issue. It was a problem with the footer template. I never removed $cronimage, but I rearranged the content in the footer. I must have put something in the wrong order... who knows!

I'm just glad it's working now. I reinstalled vBAdv CMPS and have had no problems at all.

~ Thanks for all your help everyone ~