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


All times are GMT. The time now is 03:39 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.01173 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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