![]() |
New Posts in Subscribed Forums
Originaly Released: 11-09-2001 Last Updated: 11-09-2001 Author: mister Demo: Sorry, no demo... Installation Instructions are as follows: 1) Backup your database and all forum files, just in case 2) Add this new template name: error_not_subscribed stuff: You are not subscribed to any forums. This search is only for those who are subscribed to forums. You can subscribe to forums by clicking on the 'Subscribe to this forum' link at the top of each individual forum. 3) Edit search.php as noted below NOTE: All Additions happen in this if-block: if ($action=="getnew") { If you put them in the other if's (i.e. newdaily, etc) it won't work properly. FIND: PHP Code:
PHP Code:
IN THAT SAME "getnew" IF-BLOCK FIND: PHP Code:
AFTER IT, PUT THIS: PHP Code:
PHP Code:
Add this PHP Code:
|
So what's this do? Search thread your subsribed to..? How do I select which forum to search..? no demo or ss... sounds great but I need more info I'll be sure to install..
|
LuBi, it just shows you all threads you are subscribed to that have new posts in them.
Like the "View New Posts" search, only this only returns subscribed threads. mister, I think you forgot a function you wrote, getsubscribedforumsql(). :) |
Quote:
|
[QUOTE]Originally posted by LuBi
All the time when you search or is it selectable? |
anyone mind finishing this ?
please :) |
Sorry about forgetting to add that one function.
My bad. Thanks for reminding me, red_barron2000. Should work now once you add that function to search.php |
I'm getting this error after adding the function.
Parse error: parse error, unexpected ',' in /home/bear/public_html/forum/search.php on line 578 It has to do with this line. $ret = $ret,0,$ret)-1); |
Quote:
same here :confused: |
All times are GMT. The time now is 05:59 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:
|