PDA

View Full Version : views problem


almightyone
03-05-2002, 03:50 PM
ok i think i posted about this before and never got a response anyways i chnaged my style sets a few times then at xmas i used a xmas theme that was on vbulletin.com had the grinch and all then after xmas i changed back to my origianl set to find that each time a thread is viewed it was counting it 3 times per view
i then tinkered with it and got it to count 2 views to 1 view but i have yet to resolves this problem could soemone tel me what particular file i may have messed up to cause this as i said in messin with styles i got it to 2 views to 1 view i even changed my style file completely to get this to work 2 views to1
what this is you select to view a thread after viewing it it shows it was viewed 2 times instead of 1 any help would be much greatful

almightyone
03-07-2002, 01:25 AM
come on someone must know what template and or php file would have caused this i really hate this as it is annoying to se a thread being showed as viewed 20 or 30 times 10 minutes after ya post it :(

ZiRu$
03-07-2002, 02:16 AM
Originally posted by almightyone
come on someone must know what template and or php file would have caused this i really hate this as it is annoying to se a thread being showed as viewed 20 or 30 times 10 minutes after ya post it :(

ok, just to let you know no one is ignoring you......But I dont know how to help you......sorry

The best place to ask is vbulletin.com

No one has ever answered a question for me here

almightyone
03-07-2002, 03:16 AM
vbuleltin.com wil not help me as i have added hacks to ym board see back when the hacks section was on vbulletin.com i installed a hack then they said they wouldnt help me i felt that if they had a hacks section then they should support people it aggrivated me baly as that is why i decided not to by a 2nd vbulletin

Admin
03-07-2002, 08:43 AM
Guessing... in functions.php change
$noshutdownfunc = 0; // #CHANGE ME IF YOU CAN'T USE register_shutdown_function
to:
$noshutdownfunc = 1; // #CHANGE ME IF YOU CAN'T USE register_shutdown_function
also what hacks do you have installed?

almightyone
03-07-2002, 10:00 PM
got alot of different hacks installed but the funny thing is i havent tinkered with the functions php to my knowledge i was wondering if i got a double line somewhere that is making it count views 2 times :confused:

almightyone
03-07-2002, 10:02 PM
also i guess ya mean admin functions and this lin eof code does not exist in my admin functions as i run vb 2.03 sorry didnt mention that as i have no desire to upgrade

almightyone
03-07-2002, 10:17 PM
ok firefly i did a search for the test that you gave me and i find it in sessions however changing it does not help this is really aggrivatin and i got no clue where to begin the files i ahve modified are as folows
showthread.php
newreply.php
editpost.php
member.php

at this time those are the only php files i have edited so if there is coding in any of these files that would cause this please let me know as im searching away tryin to figure this out thanx chen