vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - "Find all started threads" in postbit & postbit_legacy dropdown (https://vborg.vbsupport.ru/showthread.php?t=229262)

Lynne 11-30-2009 10:00 PM

"Find all started threads" in postbit & postbit_legacy dropdown
 
1 Attachment(s)
fourat asked me to update his modification here for vb4. It just adds a new option, Find all started threads, to the little postbit(_legacy) dropdown and now (in version 1.2) throughout the site.

This was just a simple plugin, but it is now a product. It was a bit more involved figuring out the variable names than any simple little plugin should have to be! Or, perhaps I was just having a bad coding day. :)

https://vborg.vbsupport.ru/attachmen...1&d=1262556711

Version History:
1.0 2009-12-01: - initial release by Lynne at vbulletin.org as a plugin
1.1 2010-01-03: - Had to add a phrase and rewrite the plugin, so it's now a product.
1.2 2011-01-23: - Thanks to Boofo, this now works throughout the site. :)
1.3 2012-05-12: - Fixed template to use CSS for image. :) (changed around 4.1.12?)




To install:

1. Plugins & Products > Manage Products > Import product-product-lynne_view_threads.xml

To uninstall:

1. Uninstall "Add View Forum Threads to Postbit Dropdown"

BBR-APBT 12-01-2009 04:17 PM

Thanks Lynn.

P.S. You did it again 4.0.0 RC 1

Lynne 12-01-2009 04:21 PM

Quote:

Originally Posted by BBR-APBT (Post 1923590)
Thanks Lynn.

P.S. You did it again 4.0.0 RC 1

Well, I'm sure it will work there too. :)

They shouldn't have added that option yet. I've seen quite a few mods released for this version.

Zaiaku 12-01-2009 05:25 PM

OH NO Lynne you just broke my board. This doesn't work on RC1 lol just kidding. :)
Nice work on this one. Especialy since its works on both postbits!

fourat 12-01-2009 06:01 PM

Thank you so much Lynne
I hope adding this mod as default to vb4 because its very useful
Regards

Alecsmith 12-01-2009 06:24 PM

Working good work :)

yaghoub 12-02-2009 06:05 AM

thanks lynne you are the best

Dr.osamA 12-02-2009 01:00 PM

Thank you so much Lynne

installed
________
VAPORIZER REVIEW

SİMAR 12-02-2009 10:13 PM

Thank

Lynne 12-15-2009 02:44 AM

This does not work in RC2. There are also currently no template_hooks available for use in the template for the new dropdown. I'm going to wait until the next RC release to see if that is changed.

I.am 12-22-2009 05:05 PM

Hello, there is a chance to have this function in gold version as in the vb older versions?

Thanks

KevinGupta 01-03-2010 05:55 AM

Tagged Modification until next release :D

Lynne 01-03-2010 08:17 PM

Sorry for the delay guys. I updated this today. It really was not as simple of an update as I thought it was - sometimes figuring out variable names is a pain in the, um, well, it's not as easy as it should be! (Of course, I could be just having a bad coding day too.)

linuxututs 01-03-2010 08:45 PM

Love your Mods Lynne!

My buddy has been bragging about IPB this-and-that, etc...I'm gonna put him to shame if I can just get a couple more Mod's to do what I want. ( Or vBullettin....lol )

Thanks,

ageurtse 01-13-2010 07:24 PM

Lynne, you use $show['search'] in the if statement. are there more option's and where or how can i find these.

Lynne 01-13-2010 08:09 PM

I use $show['search'] because you don't want to show the option if search is off. If you are wondering about other $show variables, either look in the template to see which are there or do a search in your php files for $show to find all of the $show variables defined on different pages.

ageurtse 01-14-2010 04:41 AM

i can't find the one that does this thrik onf the forum's home page. i know i have to change the hook lookcation also.

i set this one to forum_home_complete, but that doesn't do the trick

RedHacker 01-14-2010 07:02 AM

This cant import...

XML Error: Not well-formed (invalid token) at Line 1

TimberFloorAu 01-14-2010 07:12 AM

Great MOD Lynne, thanks.

YoBroMoFo clicks Installed

TimberFloorAu 01-21-2010 04:12 AM

Could you Upgrade this to Show Users Album ( with a graphic ) please. I would do it, but its your MOD ! And as you know I dont do xml stuff lol.

Lynne 01-21-2010 02:10 PM

Quote:

Originally Posted by TimberFloorAu (Post 1961993)
Could you Upgrade this to Show Users Album ( with a graphic ) please. I would do it, but its your MOD ! And as you know I dont do xml stuff lol.

There is already another mod that shows various things in that dropdown (like the users album). You can go use that one if it is what you want. This is just a simple one to just show the Threads also without all the extra code to use the other mod.

TimberFloorAu 01-21-2010 05:59 PM

Quote:

Originally Posted by Lynne (Post 1962363)
There is already another mod that shows various things in that dropdown (like the users album). You can go use that one if it is what you want. This is just a simple one to just show the Threads also without all the extra code to use the other mod.

Ahh cheers Lynne, will check it out.

Ste

TwinsForMe 01-28-2010 01:11 PM

FYI, there is a conflict with the following mod:

Add Ignore User To Postbit Dropdown

If I disable the other mod, yours shows up. If I enable the other mod, yours disappears.

djbaxter 02-18-2010 03:09 AM

This is broken in 4.02.

Lynne 02-18-2010 04:18 AM

Quote:

Originally Posted by djbaxter (Post 1985252)
This is broken in 4.02.

Looks like they finally fixed the issue with that template_hook. I've posted the fix in the first post until I can get around to reuploading a new version of the product.

djbaxter 02-18-2010 04:35 AM

Thanks, Lynne. :)

Extra PC 02-18-2010 06:38 AM

hello attach updated for 4.0.2?

djbaxter 02-18-2010 02:59 PM

Quote:

Originally Posted by Extra PC (Post 1985340)
hello attach updated for 4.0.2?

See https://vborg.vbsupport.ru/showpost....8&postcount=25

haytham 05-19-2010 09:37 AM

Can this work for 3.8.5?

Lynne 05-19-2010 01:39 PM

Quote:

Originally Posted by haytham (Post 2039726)
Can this work for 3.8.5?

Nope. There is already a mod like this for 3.8

Boofo 05-26-2010 02:49 AM

Lynne,

The icon doesn't line up with the rest of them in 4.0.3. The fix for this is as follows:

Code:

if ($show['search'])
{
$template_hook['memberaction_dropdown_items'] .= '<li class="left">
    <img src="'.vB_Template_Runtime::fetchStyleVar(imgdir_siteicons).'/forum.png" alt="" />
    <a href="search.php?'.$session[sessionurl].'do=finduser&amp;userid='.$post[userid].'&amp;starteronly=1&amp;contenttype=vBForum_Post" rel="nofollow">
        '.$vbphrase[view_forum_threads].'
    </a>
</li>';
}


Also, is there a way to do this globally so that it works in all areas that have the dropdown when you click on the username? (forumdisplay, etc.)

Lynne 05-26-2010 01:41 PM

Thanks Bob.

If you want to have it show up everywhere that this template is used, then you have to write a different plugin for every area it is used in.

Boofo 05-26-2010 02:09 PM

I tried doing that and I couldn't get it to work in any other place.

And, you're very welcome. ;)

ArchAngelz 07-18-2010 11:34 AM

Does installing this mean that the "Add as Contact" (which is located where the View Forum Threads is at now) is replaced by "View Forum Threads"?

Lynne 07-18-2010 02:27 PM

Quote:

Originally Posted by ArchAngelz (Post 2071039)
Does installing this mean that the "Add as Contact" (which is located where the View Forum Threads is at now) is replaced by "View Forum Threads"?

No, it doesn't replace it. It would be shown in addition to the other stuff.

p@ndu 04-29-2011 04:47 AM

hi

it is showing in this way cannot we set in a order

http://lulzimg.com/i20/41f235.png

Boofo 04-29-2011 06:38 AM

No, there is no way to sort the order.

ARSamo 05-03-2011 04:49 PM

un installed ............ not working on vb 4.0.0

gezuvor 03-04-2012 04:44 AM

Alignment is off on 4.1.11. I ended up hard-coding the mod into memberaction_dropdown.

Thanks for the great idea though!

Big-Pete 05-11-2012 06:49 PM

Can't get this to work in vB4.1.12PL1


All times are GMT. The time now is 04:54 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.01735 seconds
  • Memory Usage 1,791KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_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
  • (40)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