![]() |
006, in your first step in the showthread.php, the last 2 lines are wrong (they give a db error):
Instead of: PHP Code:
PHP Code:
|
For some reason, this hack is no longer working for me. The thread views are not updating even when I am not the thread starter or last poster.
|
That's weird. That's what happened to me before I "fixed" it... which I thought I did. I haven't been having any problems with it. I'll check it tomorrow.
The code you mentioned above is set to -1 so it doesn't give you a view after posting your own topic. You wouldn't want to change it to +1 because it is already adding one. I think that part is no longer necessary since I took out the disableing view count adding if you are the last poster option since that gave me trouble. I will look into this tomorrow and let you know. |
After you look at the file in post 1, let me know what you find out. I'd really like to get this working. Thanks. ;)
|
Ok, try cdownloading the file again. If it does not say "Updated 05/05/03" after "by 006" then you will need to clear your history and try opening it again.
What I did was remove some unecessary code in the 2nd step. This should have an effect on whether or not it works, but it makes the code cleaner. The reason for the -1 as you mentioned before, is so after someone makes a post, usualy in VB by the time they finish posting it, there are already 2 views on it. This simply makes it so first of all they don't get a view as the thread poster, and second of all, the first view will be subtracted. This leaves new posts with 0 views. |
The code you updated was for the newreply, right? That's not where I was having the problem yesterday. ;)
|
I know but are you sure you have the most recent file??? It works totally fine with the most recent.
The problem you are having sounds a lot like what I was having before I fixed it... The new file says Updated 05/05/03 near the top of it. Let me know. :ermm: |
Does this work for you now Boofo?
|
There's an error in your code in step 3..
In "root/showthread.php" you say to replace: PHP Code:
PHP Code:
PHP Code:
|
Pikok.. I could kiss you LOL I was just on the verge of going back to my last backup after the third time of installing, then I finally spotted your post!!!
It works beautifully now :) *Clicks install* |
All times are GMT. The time now is 07:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|