vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Mark Forums Read from New Posts page (https://vborg.vbsupport.ru/showthread.php?t=199484)

nascartr 12-21-2008 10:00 PM

Mark Forums Read from New Posts page
 
1 Attachment(s)
Sorry if this has already been posted. I am not aware of any other modification such as this.

This template edit will allow members to click 'Mark Forums Read' from any search result page including but not limited to the New Posts page.

Now, when members are done with the threads they want to see, they can easily mark all posts read and be taken back to the main forum page.


In 'search_results' template

find:

Code:

<td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
<if condition="$show['results']">
<span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
<else />
&nbsp;
</if>
</td>

replace with:

Code:

<td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
        <if condition="$show['results']">
        <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>&nbsp;
<span class="smallfont"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a></span>
        <else />
        &nbsp;
</if>
    </td>


ecurbh 01-17-2009 02:42 PM

Thanks, I've had users requesting this function!

paintballer.ie 03-01-2009 08:50 PM

very handy, thanks

gexain 03-01-2009 10:27 PM

thaks

nascartr 03-01-2009 10:57 PM

My users were begging for this option. Glad to be able to share it with you guys!

forum4 05-23-2009 08:34 PM

Life saver! Had 4 pages of posts...whew!

lm3a.net 05-24-2009 04:52 AM

thanks,

Kosmic1 01-12-2010 11:57 AM

Nice :) Thanks.

panosha 01-09-2011 04:33 PM

Thanks, works fine on VB 3.8.6. :)

Nook_Neformat 04-20-2011 10:55 AM

awesome, thanks


All times are GMT. The time now is 04:49 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
  • Page Generation 0.01205 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete