Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #52  
Old 12-19-2005, 03:05 AM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Today I installed this Mod,
I too have the same problem, but with different line numbers
"global.php(332) : eval()'d code on line 9"
Reply With Quote
  #53  
Old 12-19-2005, 10:52 AM
KBV KBV is offline
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It must have something to do with the other mods that are installed in vB. I have yet to figure out why. Any insight would be much appreciated.
Reply With Quote
  #54  
Old 12-19-2005, 10:48 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, I've been busy with final exams and stuffs.
Anyway, I've just checked the hack ... and yeah, there was a typo. I missed out one closing quote in 'memberinfo_threadlist'.
To fix that, open the Threads In Profile plugin (cache_template hook),

FIND:
PHP Code:
$globaltemplates[] = 'memberinfo_threadlist; 
CHANGE THAT TO:
PHP Code:
$globaltemplates[] = 'memberinfo_threadlist'
that would fix the bug.

For those who are un-able to log into AdminCP as caused by this stupid hack; in your phpMyAdmin, run following query:
PHP Code:
DELETE FROM plugin WHERE title 'Threads In Profile'
Reply With Quote
  #55  
Old 12-20-2005, 09:43 AM
KBV KBV is offline
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Works perfectly. Great mod. ^^
Reply With Quote
  #56  
Old 12-24-2005, 01:23 PM
Danny Diamond's Avatar
Danny Diamond Danny Diamond is offline
 
Join Date: Oct 2004
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are we supposed to edit.

I just get this.....

if condition="">
Joe Cool's Last Threads
Thread Title Forum Last Poster Last Post Views Replies

Nothing shows up......
Reply With Quote
  #57  
Old 12-27-2005, 08:44 AM
AWI's Avatar
AWI AWI is offline
 
Join Date: Dec 2005
Location: Midwest
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.5.2 and it looks great in Firefox but not in IE, any suggestions?

http://www.idnba.com/member-find_lastposter-f_13.html
Reply With Quote
  #58  
Old 01-06-2006, 07:22 PM
neutek neutek is offline
 
Join Date: Mar 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
+install
Reply With Quote
  #59  
Old 01-06-2006, 07:34 PM
lightwave lightwave is offline
 
Join Date: Sep 2004
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upload plugin-lastthreads.xml in your Plugin Manager.

but where in the hook does ti go?

and also how do i make a new template?
Reply With Quote
  #60  
Old 01-06-2006, 09:14 PM
Hellraider's Avatar
Hellraider Hellraider is offline
 
Join Date: Jul 2003
Location: @ home
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lightwave
and also how do i make a new template?
ACP --> Styles & Templates --> Style Manager --> In pulldown menu klick on Add new template
Reply With Quote
  #61  
Old 01-29-2006, 12:45 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 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?
Code:
if (THIS_SCRIPT == 'member'){
     $globaltemplates[] = 'memberinfo_threadlist';
 }
So the cache only is used on member.php
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 11:02 PM.


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.04833 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)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
  • (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