![]() |
Handy link to search for "New Posts in Only This Forum"
Not a blockbuster by any means. Just a simple (yet effective) little link, makes it easy to find the new posts in that particular forum. (If there are NO new posts in a forum, the text link on forumhome says "old" instead.)
In FORUMDISPLAY template, find: Code:
<td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td> Code:
<td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title] <a href="search.php?do=getnew&include=$foruminfo[forumid]">(new in <b>bold</b>)</a></span></td> In forumhome_forumbit_level1_post template, find: Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <span class="smallfont"><a href="search.php?do=getnew&include=$forum[forumid]">$forum[statusicon]</a></span> ...done. :o Screenshot/attachment shows what it looks like. |
Reserved.
|
Dont work for me
|
Doesn't work, how? Does the link not show up at all? Or does clicking it not result in showing that forum's new posts?
|
Sorry for being so vague. No it does not appear at all. I have VB 3.6.5 checked the edit multiple times still not displaying.
|
Check both screenshots. Neither of those show up?
|
|
I suspect it's an issue with your unique skin. Can you try in another skin, like the vBulletin default, just to confirm? By no means am I an advanced coder... but this is a real simple one, and it works for me with two skins.
-shrug- |
I tried the default still nothing. does OLD show up instead of new? lol Cause I have that showing on some threads....lol
|
rjmjr69, you are doing something wrong. I checked whether there's something wrong in the codes or not, but there is nothing wrong.
Congratulations and thanks Tralala. |
Must be me usually is. But I have gone over this a million times and cleared all cache and everything oh well was worth a shot. Thank you though.
|
I do not know what the heck is happening now. Here are the two templates to edit I can't figure out what I did
Attachment 62009 Attachment 62010 |
Quote:
For starters, you didn't add the code to the FORUMDISPLAY template. (I searched for "search.php?do=getnew&include=$foruminfo[forumid]" -- the important bit -- and found nothing. You have a heavily modified skin, so with mods like this you'll often have to figure things out on your own. In your case, at least for FORUMDISPLAY, find: Code:
<td class="tcat" width="100%" align="left"><span class="smallfont"><strong>$vbphrase[threads_in_forum]:</strong> $foruminfo[title]</span></td> Code:
<td class="tcat" width="100%" align="left"><span class="smallfont"><strong>$vbphrase[threads_in_forum]:</strong> $foruminfo[title] <a href="search.php?do=getnew&include=$foruminfo[forumid]">(new in <b>bold</b>)</a></span></td> |
Ah! Good! I was looking for where to add the span class.
You rock. thanks so much! Yeap - works great and I'm running 3.6.5 |
Installed on my forum and works great! :up: Thanks :D
|
Thanks........
|
What a nice little mod that is really useful for members, the best kind - thanks!
|
Hi where I can this chance from old to neu. i have a german board and old was in englisch am spent.
old >> alt new >> neu thanks |
Installed again on 3.6.8 and works exactly as indicated. Thanks dude
|
Still works on 3.7.3 PL1 - Thanks for the awesome and handy template edit.
|
All times are GMT. The time now is 07: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:
|