Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Recently Viewed Threads 1.0.0 Details »»
Recently Viewed Threads 1.0.0
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.3 Rating:
Released: 10-02-2008 Last Update: 10-04-2008 Installs: 49
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com

Recently Viewed Threads 1.0.0
Allow users to browse through threads in which they've recently viewed. This will be a great hit with your members!

With this modification, members will easily be able to navigate through topics in which they've recently seen, no matter what page they're on! This will help keep your members on track and increase their participation in your community.


Instructions:
[/B]
  • Upload the product
  • Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-15-2009, 01:38 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and working on 3.8 :up:
Reply With Quote
  #33  
Old 10-19-2009, 03:48 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A Small but Important Bug:

When the Thread's Title is Too Long the Search Menu With Goes Too Long Too, even Occupying the Screen Width.

How can the Thread's Names be Limited to xxx Characters?

My Best Regards.

Reply With Quote
  #34  
Old 10-19-2009, 04:22 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Experienced a Little with the Code of One of the Plugins and I Found the Way; perhaps you can Include it in the Next Update of your Mod with an Option in the Control Panel for Admins to Set it:

I added the Following Code on the Plugin "Recently Viewed Threads - Browse Recently Viewed", by

Code:
$recent_thread['title'] = substr($recent_thread['title'], 0, 30);

if (strlen($recent_thread['title'])>=30)
{
$recent_thread['title'] .= '...';
}
You just have to Change the 30 to the Number of Characters You'd Like the Text to be Limited to.

so that Plugin would be:

Code:
if($vbulletin->options['recent_threadviews_enabled'] AND $vbulletin->userinfo['userid'] AND !empty($vbulletin->userinfo['recent_threadviews'])){

	$get_recent_threadviews = $vbulletin->db->query_read("SELECT threadid, title
														FROM " . TABLE_PREFIX . "thread
														WHERE threadid IN (" . $vbulletin->userinfo['recent_threadviews'] . ")
														ORDER BY FIELD(threadid," . $vbulletin->userinfo['recent_threadviews'] . ") DESC
													");
		
	
	while($recent_thread = $vbulletin->db->fetch_array($get_recent_threadviews)){
	


$recent_thread['title'] = substr($recent_thread['title'], 0, 30);

if (strlen($recent_thread['title'])>=30)
{
$recent_thread['title'] .= '...';
}



		//$recent_thread['title'] = fetch_trimmed_title(fetch_censored_text($lastpostinfo['lastthread']));
		eval('$recently_viewed_threads .= "' . fetch_template('recent_threadviews_navbit') . '";');

	}
	
	eval('$template_hook[navbar_search_menu] .= "' . fetch_template('recent_threadviews_nav') . '";');	
	
}
And that's it.

My Best Regards.

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03553 seconds
  • Memory Usage 2,237KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete