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

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
  #2  
Old 04-21-2007, 12:59 AM
nexialys
Guest
 
Posts: n/a
Default

please indicate in your description that your hack will add 1 query per postbit displayed, so if you display 25 posts from different members in a page, that will add 25 new queries for each page displayed...
Reply With Quote
  #3  
Old 04-21-2007, 03:18 AM
TheRed's Avatar
TheRed TheRed is offline
 
Join Date: Oct 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, not that much, it would be like you say if the posts are all from different members. It does use the cache array to store a member's threads so that way it doesn't query again for that member.
Reply With Quote
  #4  
Old 04-21-2007, 03:27 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice Reserved
Reply With Quote
  #5  
Old 04-21-2007, 05:27 AM
alqloob alsahya alqloob alsahya is offline
 
Join Date: Dec 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice thank"s so match :up:
Reply With Quote
  #6  
Old 04-21-2007, 09:15 AM
vip-q.com's Avatar
vip-q.com vip-q.com is offline
 
Join Date: Oct 2006
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great I like it

I'll use it
Reply With Quote
  #7  
Old 04-21-2007, 12:13 PM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.. This would be very useful to my forum.
I am going to use it in my postbit.
Hope it will not reduce the speed of the forum by lot of queries.
Reply With Quote
  #8  
Old 04-21-2007, 12:56 PM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congrats.. it beautifully works in my forum. I liked it very much.
My feedback after successfull installation in postbit as below.

1) This Mod has a Permission problem. if you select '0' it shows the threads in The Admin/Protected Area threads even to the Guests, which is not very good. The Protected Area should be always protected from the unauthorized users.

2) Exclude forums feature will be very handy. I have 115 forums, I cannot type one by one, just to exclude 2 admin protected forums. Therefore, There should be an exclude forums option.

3) I don't count the threads in the "Recycle Bin forum", it takes all the forums, even if I don't count that forums.

4) I had path problem for the menu_open.gif, it should be [imgdir_misc] instead of [imgdir_button].

5) If no threads there, then it is show a message to indicate there are threads.

6) It would be nice if we could show totally how many threads started by the user in the specified forums.

I'd appreciate if he rectifies this in his next version.
Reply With Quote
  #9  
Old 04-22-2007, 06:04 PM
TheRed's Avatar
TheRed TheRed is offline
 
Join Date: Oct 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, thanks Chikkoo

Will be working on a new release based on those items you just pointed.
Reply With Quote
  #10  
Old 08-06-2007, 09:07 AM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.. TheRed,

Also add this point.

The link appears in PM messages but the drop down is not working.
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 01:14 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.04658 seconds
  • Memory Usage 2,283KB
  • Queries Executed 24 (?)
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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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