![]() |
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:
|
I found something that would look better on a mouseover. :)
Replace this: Code:
Get New Posts in this Forum Code:
There are NO new posts in this forum |
o_O...you mean for the off.gif? "Get new posts in this forum" is for the on.gif...
Edit: Oh, I see. It's because I copied the other and forgot to change >_<. |
Bug found with the locked forum icons.
|
Thanks, that worked :)
|
{sorry, deleted the post above his thanks >_<)
Oh thanks. In both forumdisplay.php and root/index.php Replace: PHP Code:
PHP Code:
UPDATED INSTRUCTIONS IN FIRST POST |
Can you point out the differences in the updates? I think i have you're first version installed- and its a b*tch to go through everything...
|
Please point out the differences in the update as opposed to the previous version.
|
Well, I fixed the errors mentioned above...
|
Is there a version that you can make of the installer to update the previously installed version instead of going through the whole entire process again?>
|
Updates:
[8/16] - Added the code to forumdisplay.php [8/16] - Added 2 template for subforums in forumdisplay.php [8/17] - Fixed lock.gif issue And no... From the first version, do these steps. PHP Code:
|
Austin Dea, I have an update for you to add to this hack. If you want the images linked in the usercp for the Subscribed Forums, do the following:
In usercp.php, replace PHP Code:
PHP Code:
PHP Code:
PHP Code:
NOTE: Don't forget to take the spaces out between the { and imagesfolder. That's all! :) |
I never use the Subscribed forums personally, but great idea ;).
|
I usually don't use them either but sooner or later, someone would catch it. So, better to take care of it now, huh? :)
Quote:
|
Yes, I'll add to the instructions :).
|
Look at my snapshot plz...
I have installed a hack which shows the latest threads on my homepage. What I want is that in each posted thread titel is a ligtbulb on which I can click and go to the last post in that Thread! This is one step further then what you have, with your hack you go to the last post in the whole forum...i need to go to the last post of every thread... So on the left of the snapshot under Laatste Topics there are the 5 latest threads on the forum. In each of them I will have later on a picture on which I can click and go directly to the latest post in that thread. Could you gimme the code for that??? Thanx |
Just make that image link to this in whatever template shows that.
Code:
"showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$thread[threadid]" |
Thanx for your reply but I managed to fix that on my own :)
I used this for the 'replier' part in the snapshot (on your left) showthread.php?s=&goto=lastpost&threadid=$thread[threadid]" You posted this Quote:
Q2: Besides that how do I get the the lightbulb picture for if there is a new post in that particular thread, what code do I need for that? Q3: Then I want to have another function for when my mouse is over the Thread link in the menu...when my mouse rests on the link then I would love to have a popup information screen in which forum it has been posted...could you get me this code...I think it has to with a mouse over event but then I still need the code to fill out for the forum it has been post in.... Thanx for your effort... |
I think you should ask for this in the Request forum, since it is a totally different hack.
|
Anyone have a copy of the exact file listed in post #1 here? The link is completely dead now.
-Jason |
Sorry ^_^;. Check the first post.
|
Hello Austin Dea. I haven't run into you for a while. ;)
You forgot to add: forumhome_onlink to the templatesused line in the usercp.php. ;) |
Thanks ;)
|
Thanks, I'll check it now and give it a whirl! :D
|
Works great in 2.3.0!
/me clicks install. |
;D
|
All times are GMT. The time now is 12:18 PM. |
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:
|