![]() |
yeah...I only want it to show up in certain subforums, more then 1....anyway to do that?
|
Quote:
|
Okay, if you want this hack to only work for certain Forums/Subboards, than there are two steps you need to perform:
Step 1 In the ShowThread.php file, you are supposed to insert a section of code (from the hack instructions). What you need to do is to add the following code first (in the spot indicated by the hack instructions). Then, follow the instructions given in the commented section of the following code. Finally, add the section of code from the hack instructions where indicated below. PHP Code:
Step 2 In the ShowThread Template, you are also supposed to insert a section of code (from the hack instructions). What you need to do is to add the following code first (in the spot indicated by the hack instructions). Then, add the section of code from the hack instructions where indicated below. Code:
And that should do it! |
I get this error when trying to Reset Counter
" Could not find phrase 'redirect'. " |
Quote:
|
I have just released v1.2.1 of this hack.
Anyone who has successfully installed v1.2, doesn't need to do anything. The changes were all related to upgrading from Gary's original version. I released an upgrade script that would convert the data from the old format to the new - so anyone who hasn't installed this yet because you don't want to lose your current WhoViwed data, can now do so with no worries. :) Upgrade instructions are included in the Instructions file. |
can you plz be so kind and change the way it shows the stats ?!
I mean the load-time is much higher if 1000+ members viewed a thread.. a much better way would be doing it via POP-UP... When u view a Forum you can see the Views and replies of the Topic... The Number of Replies leads to a POP-UP where u have short and clear listed who viewed the topic... (its and integrated vb-feature)... but the number of views isnt hotlinked.. so why not hotlink it too and make it redirect to a pop up which dispalys the content of ya hack..!! I hope u got what i mean and would be very cool if u release it..!! Much eazier to handle then..!! Thhnx and respect ;) |
Quote:
Quote:
Now, what I might do for a future version is offer an option whereby there will be a link within the thread that you could click in order to bring up the popup. If I did that, I might also add the View number hyperlink in addition. I'll consider it for a future version. :) |
Sorry for being a bit of a dummy, but how and where do I run these queries
1. Run the following SQL Queries (Adjust accordingly, if you use Table Prefixes): ********** ALTER TABLE thread ADD whoviewed TEXT NOT NULL; ALTER TABLE thread ADD whoviewedcounter TEXT NOT NULL; ALTER TABLE thread ADD whoviewedreset INT(10) UNSIGNED NOT NULL; I am very new to this and do not really understand what this means |
Quote:
However, in order to run SQL Queries, your Config.php file has to have been configured to allow your User ID to run them - since SQL Queries can cause a lot of damage if not used properly. :) |
All times are GMT. The time now is 09:14 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:
|