Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Threads In Profile Details »»
Threads In Profile
Version: 1.1, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 12-02-2005 Last Update: Never Installs: 70
Uses Plugins Template Edits
 
No support by the author.

Last XX Threads In Profile
Author: tnguy3n
Support: www.vbviet.org

This hack show users' last XX threads in their profile. Forum viewing permission applied. Regular users can't see soft-deleted and inactive threads in thread list.

Open the plugin and adjust the value of $maxthread and $titlelength to change the number of threads to show in user's profile and max thread title length respectively.

Installation: 2-4 mins (easy)
- new template: 1
- template mod: 1
- plugin: 2

Show Your Support

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

Comments
  #22  
Old 12-03-2005, 07:16 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working a treat here.....
Reply With Quote
  #23  
Old 12-03-2005, 11:37 PM
swa swa is offline
 
Join Date: Apr 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack! thanks!
Reply With Quote
  #24  
Old 12-04-2005, 10:44 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are 2 problems. One is the memberinfo_threadlist template is not cached and the second one it is not showing the correct threads.
Reply With Quote
  #25  
Old 12-04-2005, 11:39 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to cache memberinfo_threadlist,create a new plugin from cache_templates hook with the following content:
PHP Code:
$globaltemplates[] = 'memberinfo_threadlist'
for 2nd issue, could you pls clarify?
Reply With Quote
  #26  
Old 12-04-2005, 02:08 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
to cache memberinfo_threadlist,create a new plugin from cache_templates hook with the following content:
PHP Code:
$globaltemplates[] = 'memberinfo_threadlist'
for 2nd issue, could you pls clarify?
I double check the second issue and it takes the last replied threads to profile.
http://www.ayyas.com/member.php?u=4&styleid=69 check in here for example the thread En Son Ben Post Atıcam was opened in 2004 but it is in the profile. I opened tons of threads after this one but this had a new reply.
Reply With Quote
  #27  
Old 12-04-2005, 02:27 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah thanks for this one, I'll get it installed when I finish working on my profiles!
Reply With Quote
  #28  
Old 12-04-2005, 02:36 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this:
Code:
Parse error: parse error, unexpected T_STRING in /home/thebedrock/domains/thebedrocktavern.com/public_html/global.php(334) : eval()'d code on line 83
After I installed this hack in my usercp but the threads didn't show.
Reply With Quote
  #29  
Old 12-04-2005, 03:04 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King
I double check the second issue and it takes the last replied threads to profile.
http://www.ayyas.com/member.php?u=4&styleid=69 check in here for example the thread En Son Ben Post Atıcam was opened in 2004 but it is in the profile. I opened tons of threads after this one but this had a new reply.
I already said the thread is ordered by lastpost time. If you want to order it by thread dateline, open the plugin and change the query. Here's what you want to change:
PHP Code:
ORDER BY thread.dateline DESC 
Reply With Quote
  #30  
Old 12-04-2005, 03:05 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastar
After I installed this hack in my usercp but the threads didn't show.
This hack doesn't touch or modify usercp.php file. maybe some other hacks you installed.
Reply With Quote
  #31  
Old 12-04-2005, 03:23 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I missed that. Thanks it worked out
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 11:01 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.11050 seconds
  • Memory Usage 2,307KB
  • 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
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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