PDA

View Full Version : Mark Forums Read


vimarc
03-07-2013, 01:21 PM
Hi

I need help in moving Mark Forums Read link to bottom above bottom navigation bar. How i can do this?


www.talkinwebforum.com

findingpeace
03-07-2013, 02:37 PM
Hi vimarc,

Remove this line from FORUMHOME :

<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

You should also delete the pipe after | , so the Forum Leaders link stands alone.

Then, if you want the Mark Forums Read link in the main navbar, just make a new tab link with this URL:

{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}

If you want it right below the navbar (subnav), open up ACP -> Navigation Options -> Click "Forum", it'll expand showing all of the subnavs (Forum Home, New Posts, etc). Click Edit -> Add Link and add the same link above.

Amaury
03-07-2013, 05:00 PM
If you want it in the navigation bar, there's actually already one under the Forum Actions dropdown menu and as a standalone link by default on pages like Activity Stream and New Posts.

vimarc
03-07-2013, 05:49 PM
Hi vimarc,

Remove this line from FORUMHOME :

<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

You should also delete the pipe after | , so the Forum Leaders link stands alone.

Then, if you want the Mark Forums Read link in the main navbar, just make a new tab link with this URL:

{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}

If you want it right below the navbar (subnav), open up ACP -> Navigation Options -> Click "Forum", it'll expand showing all of the subnavs (Forum Home, New Posts, etc). Click Edit -> Add Link and add the same link above.

Hi thanks for reply.. i tried to do but the gap is still there.. pl see bottom of home page above adsense there is huge gap. my motive is to reduce that gap similar to above forum listing.

findingpeace
03-07-2013, 06:10 PM
You can just remove the surrounding div tag, including forum leaders link - make sure to backup the template before deleting anything!

vimarc
03-07-2013, 06:42 PM
Hi Tried that one also then gap removed completely and ad messed up with forum lists

findingpeace
03-07-2013, 06:53 PM
Try just replacing all of this:

<div class="navlinks">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>

with this:

<div class="navlinks">
</div>

or if that leaves a space, this:

<div> </div>

But really, you should be able to delete it all

vimarc
03-08-2013, 01:57 PM
Hi Thanks.. I don't want to delete need to just move to below advertisement..