The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Views Don't Count If Done By Guest Or Thread Starter Unless Replying Details »» | |||||||||||||||||||||||||||
Views Don't Count If Done By Guest Or Thread Starter Unless Replying
Developer Last Online: Apr 2020
Views Don't Count If Done By Guest Or Thread Starter Unless Replying by 006
What this hack does: This hack basically keeps your thread views down to only the legit views, and does not add a vew for each refresh unless you are viewing somebody elses thread and are not the last poster in the thread. When a guest views a thread this also does not add a view unless the guest is allowed to reply and does so. In that case one view will be added. This hack makes it easier to tell if somebody has viewed your threads, because after posting, even if you go look at your thread to make sure it "looks right," the view count will still be 0. Your own views will not count. Benefits of this hack: The main reason I made this hack was because of the Lesane "Store Hack." If you use the store hack, then you know that points can be awarded to people after so many views of their thread. Well, this hack creates the following variables when calculating the views for each thread:
by 006 INSTALLATION: It shouldn't take any more than 5 minutes to install. (3 steps, 2 file edits) It has been tested and works fine in 2.2.9 Any questions? Feel free to ask in this thread. If you use this hack, please click "INSTALL." Thanks Show Your Support
|
Comments |
#12
|
||||
|
||||
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:
|
#13
|
||||
|
||||
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.
|
#14
|
||||
|
||||
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. |
#15
|
||||
|
||||
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.
|
#16
|
||||
|
||||
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. |
#17
|
||||
|
||||
The code you updated was for the newreply, right? That's not where I was having the problem yesterday.
|
#18
|
||||
|
||||
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: |
#19
|
||||
|
||||
Does this work for you now Boofo?
|
#20
|
|||
|
|||
There's an error in your code in step 3..
In "root/showthread.php" you say to replace: PHP Code:
PHP Code:
PHP Code:
|
#21
|
||||
|
||||
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* |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|