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

Reply
 
Thread Tools
Threads List in PostBit Details »»
Threads List in PostBit
Version: 1.00, by TheRed TheRed is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 04-20-2007 Last Update: Never Installs: 24
Uses Plugins
Re-useable Code  
No support by the author.

Description:
This mod will display in postbit, a list of recents threads a member have created.

Note: I have not tested how this will look on forums using a normal postbit type. Though, it should work regardless of the type of postbit.

Installation:
Get the attached xml product, install it on your vB forums 3.6.x through the "Products Manager", and commit the following template change:

In postbit_legacy template.
Find:
Code:
<if condition="$show['avatar']">
	<div class="smallfont">
		&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
	</div>
</if>
Below that, Add:
Code:
<br />
<div id="mythreads_$post[postcount]">
	<u>
		<strong>My Threads</strong>
	</u>
	<script type="text/javascript">vbmenu_register("mythreads_$post[postcount]", true); </script>&nbsp;
	<img src="$stylevar[imgdir_misc]/menu_open.gif">
	<div class="vbmenu_popup" id="mythreads_$post[postcount]_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">My Threads</td>
		</tr>
		$mythreadsbits
		</table>
	</div>
</div>


Please, don't forget to click on the INSTALL link if you have installed this mod.

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 08-07-2007, 05:23 PM
Kalyse Kalyse is offline
 
Join Date: Sep 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I would love to see an exclude forum.

I have support forums on my boards and sometimes the user names their posts with sensitive information.
Reply With Quote
  #13  
Old 10-02-2007, 11:47 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would love to see either an exclude forums or a choose which forums to take it from..PLEEASE .
Reply With Quote
  #14  
Old 12-08-2007, 08:27 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a sample postbit from my forum.
Quote:
Originally Posted by my postbit
Join Date: Oct 2007
Location: USA
Posts: 568
Referrals: 1
Would it be possible for this mod to add, below that :

Threads: 20 !

Where "20" is the total number of threads they have, and "!" is a drop-down button that lists the threads and lets you jump to them?

That would look a bit prettier IMHO, and also be good for encouraging users to post more threads, by putting their thread count in their postbit.
Reply With Quote
  #15  
Old 12-17-2007, 02:23 AM
Pure Dope Pure Dope is offline
 
Join Date: Dec 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very server intensive? id assume yes.
Reply With Quote
  #16  
Old 10-28-2009, 12:30 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

how to limit the number of characters ?
Reply With Quote
  #17  
Old 10-28-2009, 04:39 PM
sd2310 sd2310 is offline
 
Join Date: Oct 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allan View Post
Thank you

how to limit the number of characters ?
Two possibilities:
1. By modifying the SQL.
In the file, find:
Code:
SELECT threadid, title
and replace by:
Code:
SELECT threadid, LEFT(title,20) AS title
2. By adding PHP:
Find:
PHP Code:
eval('$mythreadsbits .= "' fetch_template('postbit_mythreadsbit') . '";'); 
and add before:
PHP Code:
$mythread['title'] = substr($mythread['title'],0,20); 
Change 20 by the maximum size desired
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 12:46 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.04130 seconds
  • Memory Usage 2,275KB
  • Queries Executed 22 (?)
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
  • (4)bbcode_code
  • (2)bbcode_php
  • (2)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
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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