Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Find My Posts In A Thread Details »»
Find My Posts In A Thread
Version: 3.8.003, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 12-10-2008 Last Update: 12-15-2008 Installs: 90
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]hr[/hr]
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]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install Instructions[hr]hr[/hr]
  1. Unzip ms_findmyposts.zip
  2. Upload bitfield_ms_findmyposts.xml to your /includes/xml folder.If upgrading from an earlier version, then overwrite the previous copy.
  3. Import the ms_findmyposts.xml into vB using the AdminCP Product Manager. If upgrading from an earlier version, then set Allow Overwrite to Yes.
  4. 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).

Uninstall Instructions[hr]hr[/hr]
  1. Delete the bitfield_ms_findmyposts.xml file from your /includes/xml folder.
  2. Uninstall the product in vB using the AdminCP Product Manager.

Version History[hr]hr[/hr]
v3.8.003 - Tuesday 16th December 2008
-- Changed: Installation Instructions
-- Changed: Screenshots
-- Added: SQL query to check if a user has posted in a thread, and code display the link if there are posts
-- Added: 1 phrase
-- Added: 1 bitfield option

v3.8.002 - Friday 12th December 2008
-- Changed: Phrase type for a couple of phrases

v3.8.001 - Thursday 11th December 2008
-- Initial Release


Show Your Appreciation [hr]hr[/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.

Download Now

File Type: zip ms_findmyposts.zip (1.9 KB, 330 views)

Screenshots

File Type: png screenshot1.png (11.6 KB, 0 views)
File Type: png screenshot2.png (12.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-11-2008, 06:24 AM
Madlike's Avatar
Madlike Madlike is offline
 
Join Date: Jan 2008
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx, Installed
Reply With Quote
  #3  
Old 12-11-2008, 07:00 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Usefull for big threads!
Reply With Quote
  #4  
Old 12-11-2008, 12:04 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent idea, Sir May I correct you in one important thing? Here y?u go...

Change the Phrasetype from:
HTML Code:
<phrasetype name="GLOBAL" fieldname="global">
  <phrase name="ms_find_my_posts" date="1228954692" username="Mosh" version="3.8.001"><![CDATA[Find My Posts]]></phrase>
  <phrase name="ms_findmyposts" date="1228954810" username="Mosh" version="3.8.001"><![CDATA[Allow view of the <b>Find My Posts</b> link?]]></phrase>
  <phrase name="ms_findmyposts_permissions" date="1228954726" username="Mosh" version="3.8.001"><![CDATA[Find My Posts In A Thread Permissions]]></phrase>
</phrasetype>

And separate them as below:
HTML Code:
<phrasetype name="GLOBAL" fieldname="global">
    <phrase name="ms_find_my_posts" date="1228954692" username="Mosh" version="3.8.001"><![CDATA[Find My Posts]]></phrase>
</phrasetype>
			
<phrasetype name="Permissions" fieldname="cppermission">
 <phrase name="ms_findmyposts" date="1228954810" username="Mosh" version="3.8.001"><![CDATA[Allow view of the <b>Find My Posts</b> link?]]></phrase>
  <phrase name="ms_findmyposts_permissions" date="1228954726" username="Mosh" version="3.8.001"><![CDATA[Find My Posts In A Thread Permissions]]></phrase>
</phrasetype>
Reply With Quote
  #5  
Old 12-12-2008, 12:04 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike-D View Post
Excellent idea, Sir May I correct you in one important thing? Here y?u go...

Change the Phrasetype from:
HTML Code:
<phrasetype name="GLOBAL" fieldname="global">
  <phrase name="ms_find_my_posts" date="1228954692" username="Mosh" version="3.8.001"><![CDATA[Find My Posts]]></phrase>
  <phrase name="ms_findmyposts" date="1228954810" username="Mosh" version="3.8.001"><![CDATA[Allow view of the <b>Find My Posts</b> link?]]></phrase>
  <phrase name="ms_findmyposts_permissions" date="1228954726" username="Mosh" version="3.8.001"><![CDATA[Find My Posts In A Thread Permissions]]></phrase>
</phrasetype>

And separate them as below:
HTML Code:
<phrasetype name="GLOBAL" fieldname="global">
    <phrase name="ms_find_my_posts" date="1228954692" username="Mosh" version="3.8.001"><![CDATA[Find My Posts]]></phrase>
</phrasetype>
			
<phrasetype name="Permissions" fieldname="cppermission">
 <phrase name="ms_findmyposts" date="1228954810" username="Mosh" version="3.8.001"><![CDATA[Allow view of the <b>Find My Posts</b> link?]]></phrase>
  <phrase name="ms_findmyposts_permissions" date="1228954726" username="Mosh" version="3.8.001"><![CDATA[Find My Posts In A Thread Permissions]]></phrase>
</phrasetype>
I was just being lazy, global is the default phrase type when creating a phrase, and at the time I just could not be asked to change the phrase type

I will update it and release an updated version later.
Reply With Quote
  #6  
Old 12-12-2008, 07:39 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.8.002
-- Changed: Phrase type for a couple of phrases

No need to upgrade if you don't want to, there is no added functionality, just changed phrase types to the correct ones.
Reply With Quote
  #7  
Old 12-14-2008, 02:25 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it show if the user has not posted in the thread?
Reply With Quote
  #8  
Old 12-14-2008, 05:15 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle View Post
Does it show if the user has not posted in the thread?
Yes, it is just a simple hack that displays an extra link, nothing fancy. There are no queries used to determine if a user has posted in a thread or not.
Reply With Quote
  #9  
Old 12-15-2008, 11:49 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle View Post
Does it show if the user has not posted in the thread?
As mentioned in the previous post, it did show the link regardless. Now thanks to your idea, I have added an option to check if a user has posted in a thread and display the link if they have, otherwise it will not display.

Thanks Michelle

Update: v3.8.003
-- Changed: Installation Instructions
-- Changed: Screenshots
-- Added: SQL query to check if a user has posted in a thread, and code display the link if there are posts
-- Added: 1 phrase
-- Added: 1 bitfield option
Reply With Quote
  #10  
Old 12-16-2008, 02:04 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, I might install it in the future
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05112 seconds
  • Memory Usage 2,339KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete