View Full Version : Mini Mods - My Threads - My Posts Links in the Search Drop-Down Menu
Milad
03-04-2009, 10:00 PM
Brought to you by Milad?s vBulletin Services (http://services.milado.net/)
Introduction & Description:
Simply, this will add two new links for members, in the search drop-down menu. to enable them to find their posts and threads easily.
Installation & Upgrade:
One step! Import the product file product-mythreads_myposts.xml and you're done.
Choose yes to overwrite when upgrading.
Change log:
1.0.2 released on March, 5 2009
1.0.3 released on March, 8 2009. Improved based on Vitaly's feedback. Thanks to him.
Click install to receive support & updates.
RamisK
03-05-2009, 06:50 AM
installed. thanks!
SadMonk
03-05-2009, 07:53 AM
Thanx ,Installed
K4GAP
03-05-2009, 08:42 AM
See no problems with this product. Installed easy enough. And, is a great addition to my site.
Thanks for sharing. :up:
Vitaly
03-05-2009, 04:41 PM
Nice mod. Thanks. Some comments:
1. Title should be phrased separetely. Currrent concatenation causes too many problems with other languages.
2. It's better to set menu plugin priority to 7 instead 5. To make better sequence when blog installed.
Tophon
03-05-2009, 05:17 PM
Installed and great mod!
Sayid
03-05-2009, 05:26 PM
Is it show my last threads ?
Milad
03-05-2009, 05:43 PM
All threads ( if not more than the allowed returned search results), paginated.
DobieGillis?
03-05-2009, 05:51 PM
Great Mod, thanks!
Arrogant-One
03-06-2009, 09:48 AM
<font face="Georgia">I tried installing this mod on my 3.6.7 forum - however, it did nothing. How do I uninstall this mod?</font>
Vitaly
03-08-2009, 07:00 AM
Thanks a lot, Milad. Tested. All is ok now.
zensplace
03-08-2009, 10:29 AM
like it, thank you! :)
rasp187
03-08-2009, 03:39 PM
Thanks!
Jasem
03-27-2009, 08:05 PM
Great looking mod. keep up the good work.
Installed,
crazlunatic
03-29-2009, 05:02 AM
I installed this but don't see any changes from the dropdown quick links menu?
Milad
03-29-2009, 10:59 AM
It's in the Search drop-down menu!
kimtown
04-03-2009, 06:52 PM
It's in the Search drop-down menu!
Uh yeah, that's what the mod description states!
Introduction & Description:
Simply, this will add two new links for members, in the search drop-down menu.
Catherines WC
04-04-2009, 09:44 PM
Hi,
Thanks, I installed it but it only shows up in the default style. How can I make it also show up in my other style?
Cheers,
Scott
www.CatherinesWebChat.com
Milad
04-04-2009, 09:56 PM
It seems like you have old modified navbar, try to revert it.
It's supposed to be shown in every style.
Regards
ComputerVitals
04-06-2009, 10:57 PM
Wonderfull!!!
Something so small makes forum life so easy!
islam2all
04-07-2009, 04:19 AM
Thanx ,Installed
wcguy
04-08-2009, 12:52 AM
Yipee!
Now if I can only get a way to autoinstall this mod on the forums I visit.....
Good job.
Milad
04-08-2009, 01:28 AM
Just ask admins to install it!
Regards
M? Mostafa
04-10-2009, 04:33 PM
Nice Work Milad
Hack In Arabic here
http://www.leenkat.com/vb/f80/23196/
Milad
04-10-2009, 10:34 PM
The one who translated the hack, didn't include my credit. I don't accept that, no one accepts this.
odln018
05-05-2009, 06:57 PM
Very nice, thank you
M3xital
05-14-2009, 10:57 AM
Installed and working just fine.
Thanks Milad
00skull00
05-14-2009, 04:22 PM
Very work, thanks...
ubcforums
05-14-2009, 04:29 PM
/me clicks installed
inciarco
06-03-2009, 04:38 AM
Great Mod Milad, thank you for Sharing it. :up:
Inspired by it I created in my Board the Following 2 Plugins, 1 Template, and 1 Template Edit, that work in a similar way that your Mod, but Applied to the Search of My Posts and My Threads in an Specific Forum; I Finally Found today the Answer I was looking for From "Lynne (https://vborg.vbsupport.ru/showthread.php?p=1822367#post1822367)" who pointed me to the Additional Code Line (forumchoice[]) to be able to search in a Particular Forum.
Perhaps you can Add this Functionallity on Your Next Update of this Mod. ;)
1. Create the Following 2 Plugins:
1.1
Create a Plugin with ACP > Plugins & Products > Add New Plugin
Product: vBulletin
Hook Location: cache_templates
Title: Forum Search - My Threads - My Posts - Cache templates
(or whatever Title you Like)
Execution Order: 5
Plugin is Active: Yes
Plugin PHP Code
$globaltemplates[] = 'mythreads_myposts_forum_search_link';
1.2
Create a Plugin with ACP > Plugins & Products > Add New Plugin
Product: vBulletin
Hook Location: forumdisplay_complete
Title: Forum Search - My Threads - My Posts - ForumDisplay Hook - Search Table
Execution Order: 7
Plugin is Active: Yes
Plugin PHP Code:
if ($show['searchbuttons'] AND $vbulletin->userinfo['userid'])
{
eval('$template_hook[\'a7_forum_search_menu\'] .= "' . fetch_template('mythreads_myposts_forum_search_lin k') . '";');
}
2. Add the Follwing Template:
2.1
Create a Template with ACP > Styles & Templates > Main_Style_Name > Add New Template
Title: mythreads_myposts_forum_search_link
Template:
<tr>
<td class="thead">$vbphrase[my_threads_posts]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=$foruminfo[forumid]">$vbphrase[my_threads]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&forumchoice[]=$foruminfo[forumid]">$vbphrase[my_posts]</a></td>
</tr>
3. Edit FORUMDISPLAY Template:
3.1
In FORUMDISPLAY Template you need to Add a Hook Code Line.
After
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
Add
<!-- Beginning of Hook for My Threads Posts Forum Search -->
$template_hook[a7_forum_search_menu]
<!-- End of Hook for My Threads Posts Forum Search -->
Click the Save Button to Apply the Changes.
4. ENJOY !!! ;)
My Best Regards.
:)
Eruantien
07-27-2009, 12:17 PM
How do I "Revert" my template? I have a custom Navbar and this mod is not showing up. I assume this is what I need to do from reading this thread?
reddyink
11-11-2009, 10:20 PM
Nothing happened when I did this!
Great Mod Milad, thank you for Sharing it. :up:
Inspired by it I created in my Board the Following 2 Plugins, 1 Template, and 1 Template Edit, that work in a similar way that your Mod, but Applied to the Search of My Posts and My Threads in an Specific Forum; I Finally Found today the Answer I was looking for From "Lynne (https://vborg.vbsupport.ru/showthread.php?p=1822367#post1822367)" who pointed me to the Additional Code Line (forumchoice[]) to be able to search in a Particular Forum.
Perhaps you can Add this Functionallity on Your Next Update of this Mod. ;)
1. Create the Following 2 Plugins:
1.1
Create a Plugin with ACP > Plugins & Products > Add New Plugin
Product: vBulletin
Hook Location: cache_templates
Title: Forum Search - My Threads - My Posts - Cache templates
(or whatever Title you Like)
Execution Order: 5
Plugin is Active: Yes
Plugin PHP Code
$globaltemplates[] = 'mythreads_myposts_forum_search_link';
1.2
Create a Plugin with ACP > Plugins & Products > Add New Plugin
Product: vBulletin
Hook Location: forumdisplay_complete
Title: Forum Search - My Threads - My Posts - ForumDisplay Hook - Search Table
Execution Order: 7
Plugin is Active: Yes
Plugin PHP Code:
if ($show['searchbuttons'] AND $vbulletin->userinfo['userid'])
{
eval('$template_hook[\'a7_forum_search_menu\'] .= "' . fetch_template('mythreads_myposts_forum_search_lin k') . '";');
}
2. Add the Follwing Template:
2.1
Create a Template with ACP > Styles & Templates > Main_Style_Name > Add New Template
Title: mythreads_myposts_forum_search_link
Template:
<tr>
<td class="thead">$vbphrase[my_threads_posts]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1&forumchoice[]=$foruminfo[forumid]">$vbphrase[my_threads]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&forumchoice[]=$foruminfo[forumid]">$vbphrase[my_posts]</a></td>
</tr>
3. Edit FORUMDISPLAY Template:
3.1
In FORUMDISPLAY Template you need to Add a Hook Code Line.
After
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
Add
<!-- Beginning of Hook for My Threads Posts Forum Search -->
$template_hook[a7_forum_search_menu]
<!-- End of Hook for My Threads Posts Forum Search -->
Click the Save Button to Apply the Changes.
4. ENJOY !!! ;)
My Best Regards.
:)
realdx
11-12-2009, 09:29 AM
Installed, translated, working without a glitch on 3.8.4 PL1, should be standard in VB!
5 STARS and a lot of thanks!
Dax IX
11-15-2009, 06:15 PM
For some reason it's not working for me.
Of course, I moved my navbar links into my header, but the code is still complete.
Won't it read the template hook in the header?
EDIT:
Nevermind.
I just added the this template to my header.
I guess I'd still like to know why the plugin wasn't working...
X_FiLeS
04-20-2010, 01:28 PM
Geat Mode been looking for this for awhile, thanks Installed.
prabhgrewal
04-21-2010, 11:09 AM
I get a 404 when i click on the search menu and select My threads, though if i navigate away from the Vbadvanced Home page to the forums...it works fine...any ideas how i could get it to work from the Vbadvanced home page ??
PHATTPANTZ
04-30-2010, 07:53 AM
Great mod, installed
Thanks
DarkArmada
07-02-2010, 12:26 AM
Just want to say kudos for this, the majority of my users come from another site where you can click a single button to display ALL past threads posted in, awesome.
Although I did have to basically cut the template out and paste it within my own style to suit, it works a treat (and great that it's kept simple enough to allow me to do that)
So cheers
kenmoresp
10-12-2010, 11:56 AM
Really nice...makes things much easier to navigate....thanks
besedka
10-23-2010, 02:15 AM
useful product
thank you
ravenscape
05-18-2011, 02:41 AM
installed, and my members like it. thanks!
Taleempoint
05-03-2012, 08:11 PM
thankx
Magnusson2u
05-06-2012, 12:41 PM
I love this! Installed.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.