![]() |
On.gif = Link to latest threads in forum
Requested by Boofo in this thread =P.
This will make the on.gif a link to get the latest threads in that forum. It will not affect the off.gif. It's just like the "Get New Posts" link, only forum specific :).
ADDED: On.gif = link to latest threads for subscribed forums in user cp. (Thanks Boofo) It's steps 10, 11, and 12 from version 1.3. |
Can't you just do this in the template? I have had the buttons linking to 'make new post', but surely if you link it to: http://yourforum/showthread.php?s=&g...ost&forumid=xx
Just replacing the forum id with the forum id call $. I'm also not sure why you need this when there's a link next to the name in the 'last post' column which does the same thing? Bit confused. :) |
That's not what this does ;). It's a link to search.php to show the latest threads post in that forum. Like the "Get New Posts" link, but specific to the forum you click. You could make it just a template edit, but that would make both on.gif AND off.gif a link and the off.gif would come up with a "No matches - try some other terms" error message.
If you wanna see, click the on.gif link here at vb.org on the forumhome. |
Good idea ;)
*clicks install* |
Whoops, forgot to add the code to forumdisplay.php. Just do the same edit as you did for index.php ;).
Quote:
|
Nice, will install later :)
|
Pretty cool idea, i might just install this
|
Austin Dea, there are 2 instances of the code to replace in "forumhome_forumbit_level1_post". Both should be replaced, right? And, aslo, I added the "forumhome_onlink" template the the templateused section of both the index.php and the fourmdisplay.php to cut the 2 queries for it. :)
BTW: Thank you very much for taking the time to do this. It is greatly appreciated. :) |
Ok, thanks a bunch. My second hack >_<. Instrucs are updated.
|
No problem. You did all the hard work. :)
Quote:
|
All times are GMT. The time now is 07:13 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:
|