PDA

View Full Version : Add link to unread posts in FORUMHOME template


DF031
09-21-2013, 04:17 AM
At the bottom of the FORUMHOME template (near the forum leaders link) I would like to add a link that lists the unread posts.

In the navmanager I use the following code for this:

search.php?{session.sessionurl}do=getnew&contentty pe=vBForum_Post

That code works perfectly.

So I converted it to the following html code:

<a href="search.php?{session.sessionurl}do=getnew&amp;contentty pe=vBForum_Post">Unread Posts</a>

Then added it to the FORUMHOME template.

But clicking the link only takes me to the advanced search page.

What am I doing wrong ?

ForceHSS
09-21-2013, 12:50 PM
search.php?{sessionurl}do=getnew&contenttype=vBForum_Post

DF031
09-21-2013, 02:31 PM
Thanks for the help HSS

I just tested it and a link like:
<a href="search.php?{sessionurl}do=getnew&contenttype=vBForum_Post">Unread Posts</a>

Also takes me to the advanced search page instead of the unread posts list

--------------- Added 1379800287 at 1379800287 ---------------

Finally found the correct code for the hyperlink. It is:
<a href="search.php?do=getnew&contenttype=vBForum_Post">Unread Posts</a>