Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #12  
Old 10-03-2008, 03:12 PM
Slaxi Slaxi is offline
 
Join Date: Aug 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, works fine with 3.7.3
Reply With Quote
  #13  
Old 10-03-2008, 05:14 PM
binevi binevi is offline
 
Join Date: Jan 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about module? can you make a module with this features ?

thnks great hack
Reply With Quote
  #14  
Old 10-03-2008, 05:24 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yop, good idea
Reply With Quote
  #15  
Old 10-03-2008, 07:01 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by binevi View Post
what about module? can you make a module with this features ?


thnks great hack
Yea, that's definitely possible. I'll see if i have time to make an add-on for this.
Reply With Quote
  #16  
Old 10-03-2008, 07:10 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you create a mod, that allows users to view posts that other people have quoted them in? Who Quoted Me kind of thing?

We crudely use:

Code:
http://www.mywebsite.com/forum/search.php?do=process&query=TimberFloorAu&searchdate=lastvisit&showposts=1
Doesnt seem that accurate...
Reply With Quote
  #17  
Old 10-03-2008, 07:23 PM
Kkimber Kkimber is offline
 
Join Date: Jun 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and works, after clicking two threads when installed.
iis 6 + vb 3.7.3
Reply With Quote
  #18  
Old 10-03-2008, 09:25 PM
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There seems to be a couple of bugs.

Firstly, threads in the list are arranged by thread ID, not by most recently viewed.

Then, when the database is updated, it appears to only replace the last value. Meaning the first 4 threads you viewed are never removed from the list and the last value (the most recent thread) is constantly updated.



Here's a fix for the second issue. In the showthread_complete plugin, change:
PHP Code:
$recent_threadviews array_slice($recent_threadviews04); 
to:
PHP Code:
$recent_threadviews array_slice($recent_threadviews14); 
That makes sure the first value in the recent_threadviews array is removed.
Reply With Quote
  #19  
Old 10-04-2008, 06:26 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

Updated the .xml with fixes for both :up:
Reply With Quote
  #20  
Old 10-04-2008, 06:49 AM
CristianoDiaz CristianoDiaz is offline
 
Join Date: Jun 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it installed, but it is only displaying one recent thread no matter how many I have clicked through. It just keeps replacing the first one. Version 3.7.3 of VB.
Reply With Quote
  #21  
Old 10-04-2008, 07:49 AM
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was an unintended side effect in my last fix.

Although it corrected the problem if you have 5 threads listed, it also removed a thread from the list when you have less than 5 listed. Here's a better tested quick fix for the showthread_complete plugin.

Replace:
PHP Code:
if(!in_array($threadinfo['threadid'], $recent_threadviews)){
    
$recent_threadviews array_slice($recent_threadviews14); 
With:
PHP Code:
$count_recent_threadviews count($recent_threadviews);
if(!
in_array($threadinfo['threadid'], $recent_threadviews)){

if (
$count_recent_threadviews 4){
    
$recent_threadviews array_slice($recent_threadviews14);

Reply With Quote
Reply

Thread Tools

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 03:08 AM.


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.05788 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (4)bbcode_php
  • (1)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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