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 My Posts In A Thread (https://vborg.vbsupport.ru/showthread.php?t=232622)

Mosh 01-08-2010 10:00 PM

Find My Posts In A Thread
 
1 Attachment(s)
Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]Silver[/hr]
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 Compatibility[hr]Silver[/hr]
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 Requests[hr]Silver[/hr]
IMPORTANT: This hack is no longer supported.



Install/Uninstall Instructions[hr]Silver[/hr]
The readme.txt instructions file is included in attached .zip file.


Version History[hr]Silver[/hr]
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 [hr]Silver[/hr]
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.

Quote:

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

Quote:

Originally Posted by Hippy (Post 2129177)
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

Same 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
PHP Code:

 <div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;search_type=1&amp;searchthreadid={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
PHP Code:

<a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;searchthreadid={vb:raw thread.threadid}&amp;contenttype=vBForum_Post">{vb:rawphrase advanced_search}</a></div

so it looks like this

PHP Code:

 <div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;search_type=1&amp;searchthreadid={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={vb: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 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

Quote:

Originally Posted by Hippy (Post 2139856)
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

Quote:

Originally Posted by Rofo (Post 2170089)
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

Quote:

Originally Posted by sonny1 (Post 2172260)
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

1 Attachment(s)
After upgrade to 4.1.10

https://vborg.vbsupport.ru/attachmen...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

Quote:

Originally Posted by Mosh (Post 2305634)
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

Quote:

Originally Posted by sadiq6210 (Post 2305666)
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

Quote:

Originally Posted by sadiq6210 (Post 2305653)
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 hack.


All times are GMT. The time now is 05: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.01200 seconds
  • Memory Usage 1,810KB
  • 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
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete