![]() |
Quote:
Quote:
This include when you view the thread AGAIN, the script will check if your ID is already in the list, if it is, then your ID is moved to the end (or beginning) of the list. It might help knowing the sequence of reading (but losing the order of first reading) Quote:
|
Quote:
If it's present, than it leaves things be. If not, then it takes an additional query to add that UserID. If we wanted to keep track of the date/time that each user last viewed each thread - than every thread view would need to look for and then add or edit the current date/time stamp. Plus, since the user and date/time stamp would be stored together - and all users + date/time stamps are stored in a single field per thread, the added parsing adds no small amount of processing that needs to be done. Or rather, it's a small addition by itself - but not cumulatively when 5,000 users are all viewing threads simultaneously. :) I'm not sure it's worth the processing time/power for any boards except small ones. However, I might add it in a future version, nevertheless. :) Quote:
Where it gets tricky, is if you edit or add to that announcement - because then the question is who read it since it was updated. It's for that reason that I added that second counter. Now, once you edit or add to an Announcement/Bulletin/Post, just reset the second counter for that thread. Now you'll know exactly who read it before your changes and who read it afterwards. :) |
Quote:
If we were going to go that route, we might as well add the full date/time stamp. (Which still may happen) :) |
Awesome!! *Clicks install!
|
I'm sorta confused...I do not have Garys hack installed...I would like ot install this enhanced version.
The instructions seem to be geared towards upgrades from previous versions. Do you have a step by step to install this version? Thanks |
Quote:
If you want the full instructions - you need to download the TXT file from the very first post in this thread - the same as you would do for any other hack on this site. :) |
Okay...I have downloaded the txt file from first post. Please dont hurt me...LOL...I'm just trying to figure out this hack and how to install it...it refers to some php files which are not located in either of the two files you have in the first post of this thread.
Where exactly does the fresh install portion start? I see release notes section, then a UPGRADE NOTES section. >Choice One or Choice Two After that is shows File Modifications: showthread.php misc.php Template Modifications: ShowThread New Phrases: already_viewed_this_thread already_viewed_this_thread_since Number of SQL Queries: 3 After that I see nothing to indicate...begin here for a fresh or new install Is this the begining of the install process? I do not have those files listed above...the showthread.php or misc.php ******************************** 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; |
Quote:
As for the PHP files listed - the reason they are listed as files which need to be modified is because they are your files that need to be modified. Those two PHP files in question are supposed to be in the root of your vB folder, not supplied by me. After all, if I supplied them - why would you need to further modify them? :) |
LOL...I just relized those two files are in the root of VB...hmm...I've been looking over the instructions...and theres some files I cant find...eith in the showthread.php or even in any other folder?
5. Open the "SHOWTHREAD" template and Find I'm unsure of where this is within VB I did a search of the entire VB folder and within showthread.php and coame up with no such file or phrase. Is it obviouls I have never done tis before...HEHE...guess you got to start somewhere...why not your hack...which I like, just wish I could figure this out |
okay, go into your vb Admin section.
open 'Styles & Templates' from the left menu. choose 'Style Manager' press the [ << >> ] button on the right hand side. that will show you all the templates that are used on the site. (i.e. the file forum.php [for instance] only holds all the coding for that particular page. all the looks and style of the page will be kept in the template system under a similar name ) Okay, now it's showing templates - but only the custom-added ones. press the, now standard font << >> link, and it will open up every single group. [ctrl] + [f] and type in 'showthread' then just click 'edit' or 'customise' next to the template, select all and copy and paste into dreamweaver to get better search and replace capabilites. hope that helps. |
All times are GMT. The time now is 09:32 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:
|