PDA

View Full Version : Show Thread Enhancements - Find My Posts In A Thread


Mosh
01-08-2010, 10:00 PM
Please click Mark as Installed if you are using this hack.


What Does This Hack Do?Silver
It is a update of my v3.8.x hack available here, designed to work with vBulletin v4.0.x.

This is a hack that adds an extra option on the Search this Thread drop down list on the first post of a thread (along with all the other thread tools) which allows your members to search for their own posts within a thread they have posted in, just like here at vb.org.

As an added bonus (thanks to Michelle for the idea), unlike the version here at vb.org, you have the option to check if a user has posts in the thread they are in and not display the link to users who do not have posts (why show the link if there will be no search results?). Please note, if this option is enabled for a usergroup, it will add 1 query when a user from that usergroup is viewing a thread.

There are no file or template changes at all, and is fully phrased.

DEMO: Click on the Search this Thread or Search this Mod drop down list and select Find My Posts in any thread you have posted in to see it in action.


vBulletin Version CompatibilitySilver
This hack can be used with vBulletin versions 4.0.0 - 4.2.0.

For the v3.8.x version of this hack, which will also work with v3.7.x and v3.6.x - check here.


Hack Support/Feature RequestsSilver
IMPORTANT: This hack is no longer supported.



Install/Uninstall InstructionsSilver
The readme.txt instructions file is included in attached .zip file.


Version HistorySilver
v4.0.3 - Saturday 3rd March 2012
-- Altered: 1 plugin to fix 'Find My Posts' link line spacing issue in vBulletin 4.1.10 (and above)
-- Updated: readme.txt
-- Updated: VersionHistory.txt

v4.0.2 - Sunday 26th December 2010
-- Changed: Version number formatting
-- Removed: 1 plugin
-- Removed: 1 template
-- Altered: 1 plugin to cater for all versions of vBulletin from version 4.0.0 to 4.1.0 (and above)
-- Added: readme.txt
-- Added: VersionHistory.txt

v4.0.001 - Saturday 9th January 2010
-- Initial vBulletin.org v4.0.x Release (released a week earlier at Wolfshead Solutions)


Show Your Appreciation Silver
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Hornstar
01-11-2010, 06:05 AM
Tagged for when I upgrade. thanks.

albrens
01-19-2010, 03:01 AM
Good works.

But could you explain this point, because I didn't understand.

In the Usergroup Manager edit the usergroup(s) you want:

* To see the link (disabled by default for all usergroups).
* To check to see if they have posts in that thread (disabled by default for all usergroups).


Thanks.

Trek
01-19-2010, 03:04 PM
Tagged until I upgrade. Thanks!

Hippy
12-04-2010, 11:58 AM
This is a great addation to vb..
thanks for your efforts
After updating from 4.0.7 to vb4.1.0 pl2

The link to search for my posts disappeared after upgrading to vb4.1.0

I re-Import Product and allowed overwrite..

I turned on and off the save css as a file..
any ideas?
thanks

COL NIL SATIS
12-04-2010, 07:05 PM
Fantastic concept...again will tag this until i upgrade!!! thanks mate

New Joe
12-24-2010, 06:03 AM
This is a great addation to vb..
thanks for your efforts
After updating from 4.0.7 to vb4.1.0 pl2

The link to search for my posts disappeared after upgrading to vb4.1.0

I re-Import Product and allowed overwrite..

I turned on and off the save css as a file..
any ideas?
thanksSame problem.

Hippy
12-24-2010, 12:45 PM
For some reason it's no longer hooking ..
I just added it to the template..
only thing is that all user group have access to it..

no big dea,l why have a addon if all can't benefit from it

in the showthread template
I added this

<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;search_type=1&amp;searc hthreadid={vb:raw threadid}&amp;contenttype=vBForum_Post&amp;userid={vb:raw bbuserinfo.userid}&amp;showposts=1">{vb:rawphrase ms_find_my_posts}</a><br />
above this <a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;searchthreadid={v b:raw thread.threadid}&amp;contenttype=vBForum_Post">{vb:rawphrase advanced_search}</a></div>

so it looks like this


<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;search_type=1&amp;searc hthreadid={vb:raw threadid}&amp;contenttype=vBForum_Post&amp;userid={vb:raw bbuserinfo.userid}&amp;showposts=1">{vb:rawphrase ms_find_my_posts}</a><br /><a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;searchthreadid={v b:raw thread.threadid}&amp;contenttype=vBForum_Post">{vb:rawphrase advanced_search}</a></div>

Mosh
12-25-2010, 10:01 PM
Update: v4.0.2
-- Changed: Version number formatting
-- Removed: 1 plugin
-- Removed: 1 template
-- Altered: 1 plugin to cater for all versions of vBulletin from version 4.0.0 to 4.1.0 (and above)
-- Added: readme.txt
-- Added: VersionHistory.txt

Hippy
12-25-2010, 11:23 PM
thanks for the update

Hippy
12-27-2010, 10:49 PM
Mosh
I have a stupid question ..
in the admin setting in the usergroups ..
there are 2..options
I get the first one but
Do you want to check to see if a user has posts in a thread, and if they do not, then not display the Find My Posts link?
NOTE: If enabled, then it will add 1 query to showthead.

What does it do or add.. with it on I see the extra query but I don't see any extra options..

thanks

OldSchoolDSL
12-27-2010, 11:35 PM
Very useful little mod you've made here.

Installed and working

4.1 PL2

Mosh
01-08-2011, 01:02 AM
Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread (http://www.wolfshead-solutions.com/threads/444-Our-quot-vBulletin.org-Hacks-Support-quot-subscription-has-been-scrapped) at Wolfshead Solutions).

Enjoy :)

Regards,

Mosh Shigdar - Wolfshead Solutions.

Hippy
01-08-2011, 02:38 AM
Mosh congrats on the new job..
Glad everything is working out
and thanks for your great mods

Mosh
01-08-2011, 03:49 AM
Mosh
I have a stupid question ..
in the admin setting in the usergroups ..
there are 2..options
I get the first one but
Do you want to check to see if a user has posts in a thread, and if they do not, then not display the Find My Posts link?
NOTE: If enabled, then it will add 1 query to showthead.

What does it do or add.. with it on I see the extra query but I don't see any extra options..

thanks
If you go to any thread here and the search feature within a thread, you will see a "Find My Posts" link regardless of if you have any posts in the thread or not.

Now the option I have in my hack uses an extra query to check if you have any posts in a thread (if enabled) and displays the link only if there any of your posts in the thread, otherwise it does not display a link. If the option is not enabled, it behaves just like it does here at vBulletin.org.

Rofo
03-06-2011, 09:24 AM
Cool hack, I just realized I don't have the "search this thread" option. Wheres it hiding in the ACP?

Thanks!

Mosh
03-06-2011, 09:21 PM
Cool hack, I just realized I don't have the "search this thread" option. Wheres it hiding in the ACP?

Thanks!

If you have done Step 1 of the installation instructions, you should find the permissions in Step 3.

sonny1
03-11-2011, 02:03 PM
i can't find the 'find my posts permission'.

For example to give myself permission first, I tried for myself ...User groups > group manager > administrators group ... but can't find it anywhere... with no luck...

where is it??

I uninstalled it till I am to install it.

pls. assist.

Mosh
03-11-2011, 07:39 PM
i can't find the 'find my posts permission'.

For example to give myself permission first, I tried for myself ...User groups > group manager > administrators group ... but can't find it anywhere... with no luck...

where is it??

I uninstalled it till I am to install it.

pls. assist.

It is the as the post above yours..... If you have done Step 1 of the installation instructions, you should find the permissions in Step 3.

Bob_R
03-12-2011, 01:16 AM
Tagged. Thanks!

Phaedrus
03-21-2011, 10:44 PM
Works for me in 4.1.2...

Conehead555
08-29-2011, 07:12 AM
Nice! 4.1.4

sadiq6210
02-22-2012, 08:18 AM
After upgrade to 4.1.10

https://vborg.vbsupport.ru/attachment.php?attachmentid=136606&stc=1&d=1329902284


Any update?

Nirjonadda
02-23-2012, 04:32 PM
Not Working for me in 4.1.10

Mosh
03-03-2012, 10:37 AM
Update: v4.0.3
-- Altered: 1 plugin to fix 'Find My Posts' link line spacing issue in vBulletin 4.1.10 (and above)
-- Updated: readme.txt
-- Updated: VersionHistory.txt

Hippy
03-03-2012, 11:40 AM
thanks Mosh for the update
Hows the new job going ?
life ? etc

sadiq6210
03-03-2012, 11:52 AM
Update: v4.0.3
-- Altered: 1 plugin to fix 'Find My Posts' link line spacing issue in vBulletin 4.1.10 (and above)
-- Updated: readme.txt
-- Updated: VersionHistory.txt

Great .. thanks for update

Suggestion:
- Find my thread in this category/forum (In forumdisplay)

Is it possible to add this feature for future releases?

sadiq6210
03-03-2012, 12:10 PM
Unfortunately, the same bug is still exist in RTL
LTR (Fixed)
RTL (Not fixed)

Mosh
03-05-2012, 09:24 PM
Unfortunately, the same bug is still exist in RTL
LTR (Fixed)
RTL (Not fixed)

I am not familiar with RTL sites, and I do not see why it should not work with both RTL as well as LTR as the CSS class should have the same link padding in both directions..... this may be something you need to ask about at vBulletin.com.

Mosh
03-06-2012, 03:51 AM
Great .. thanks for update

Suggestion:
- Find my thread in this category/forum (In forumdisplay)

Is it possible to add this feature for future releases?

That functionality is already in my View Your Threads Or Posts From The Navbar (https://vborg.vbsupport.ru/showthread.php?t=229027) hack.