vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Threads List in PostBit (https://vborg.vbsupport.ru/showthread.php?t=145390)

TheRed 04-20-2007 10:00 PM

Threads List in PostBit
 
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. :)

nexialys 04-21-2007 12:59 AM

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...

TheRed 04-21-2007 03:18 AM

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.

rjmjr69 04-21-2007 03:27 AM

Looks nice Reserved

alqloob alsahya 04-21-2007 05:27 AM

nice thank"s so match :up:

vip-q.com 04-21-2007 09:15 AM

great I like it :)

I'll use it :)

chikkoo 04-21-2007 12:13 PM

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.

chikkoo 04-21-2007 12:56 PM

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.

TheRed 04-22-2007 06:04 PM

Alright, thanks Chikkoo :)

Will be working on a new release based on those items you just pointed.

chikkoo 08-06-2007 09:07 AM

Hi.. TheRed,

Also add this point.

The link appears in PM messages but the drop down is not working.


All times are GMT. The time now is 10:24 AM.

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.01133 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete