![]() |
This hack was written at the request of my members so that they can view only those posts that have been made to the forum since their last visit. They can either select this from the Show Topics Since pulldown in the forumdisplay or set this as their preferred viewing option in the user control panel.
Again, my thanks go out to Bira for helping me with the code and it wouldn't have been possible without her help. Parker |
Nice Forum and Hack!
|
TheComputerGuy:
Thanks for kudos. Is it working ok for your site? Pakrer Quote:
|
Its working on my test board, I am not installing any new hacks for public display until the design is finished ;)
|
between this hack and view new posts?
|
Lionel:
View new posts allows you to view all the new posts in every forum on one page. This allows you to set it to allow you to just see the new posts in a particular forum area that you are interested in only instead of seeing them all on one page. So instead of setting your Default Thread Views to one or more days you can set this to just show you new posts since you last logged on. Parker |
I am going to try it
|
Great.
Let me know how it works for you. Parker |
I installed this, Parker. I'm having a small problem. It works fine when I use the sort option at the bottom of the threadlist. But, when I select it in my user CP it's not working right. When I go to a forum it shows all the posts. The right value is in the sort box at the bottom, but it doesn't drop the old posts until I press go. I've installed it twice. Maybe I'm missing something.
|
FWC:
I am using version 2.2.0 of vBulletin instead of 2.2.1 and it has changed a little in the forumdisplay.php file. In forumdisplay.php (your backed up version) look for Code:
$datecut=""; Code:
$datecut=""; Parker |
Parker, I look at the template forumdisplay and at the original, but I cannot find <option value="1" $daysprunesel[1]>Show Topics From last day</option>
|
Quote:
|
Lionel:
Sorry about that. I forgot that that was something that I added to my board. Just ignore that part. I have updated the file download to take that part out. Thanks for heads up. Parker |
FWC:
Let me know what you find out. Parker |
I started this hack, but I have 2.0.3 and in forumdisplay it says search for
unset($daysprunesel); $daysprunesel[$daysprune]='selected'; and replace it with unset($daysprunesel); if ($bbuserinfo['daysprune']==-2) { $daysprunesel[17]='selected'; } else { $daysprunesel[$daysprune]='selected'; } but I only have // complete form fields on page $daysprunesel[$daysprune]='selected'; // look at sorting options: if ($sortorder!='asc') { $sqlsortorder='DESC'; $order['desc']='selected'; } else { $sqlsortorder=''; $order['asc']='selected'; } from line 320 - 330. Can somebody help me or let me know what I do on this step. (although there could be others that I need help on to.) Anybody willing to go through this hack and set it up for 2.0.3 too? :( Any help would be appreciated. Thanks. |
nice hack, gonna install this one later :up:
|
Question: Does this hack show all the forums on the front page, or only those that there have been new threads or posts in?
If not, is there a hack that does that? |
Members are saying that there is so many posts since there last visits but when checking there aint as many as it says. I guess this is because we make post in the mods lounge and they cant see it. Is there a option so that the posts in the mods doesn't display to the members??
Beams :D |
heidit:
No this won't do that. That is a different hack altogether. Beams: I sure that something could be writtent that would total up the posts made in the private areas and not include them in the over all total of the board but I am not sure how to do this. Parker |
In some forums after installing this hack it still shows all threads in the forum. Others it doesn't show any. And in some forums where I know there have been posts within the last 3 or so days it doesn't show any threads, which it shouldn't since I had seen them, but it gives this: There have been no posts in the last 75 days in this forum.
I don't want people to use this and then think the site is dead. For the message to say 75 days is incorrect, because the forum I copied ans pasted that from I made a posted yesterday. What gives? |
All times are GMT. The time now is 03:51 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:
|