Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
View Your Posts/Threads from Navbar Search Details »»
View Your Posts/Threads from Navbar Search
Version: 3.8.003, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 12-10-2008 Last Update: 06-22-2009 Installs: 118
DB Changes Uses Plugins
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 an update to my 3.7.x version of this hack, with the addition of show additional links to view your threads or posts from a forum you are browsing (if you not in a forum, the links do not appear).

This is a simple hack that adds extra options on the Search drop down list on the navbar which allows your members to search for their own posts and threads start by themselves.

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

This was a request by odeezie in post #22 of this thread.


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_vopt_38.zip
  2. Upload bitfield_ms_vopt_38.xml to your /includes/xml folder.
  3. Import the ms_vopt_38.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 links (disabled by default for all usergroups).

Uninstall Instructions[hr]hr[/hr]
  1. Delete the bitfield_ms_vopt_38.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 23rd June 2009
-- Added: Category heading to separate the view own threads/posts from other search links
-- Added: Extra links that only appear when browsing forums to view own threads/posts in that forum only

v3.8.002 - Friday 12th December 2008
-- Changed: Phrase type of 3 phrases

v3.8.001 - Thursday 11th December 2008
-- Initial v3.8.x 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.


Donations[hr]hr[/hr]
I would like to thank the following people for their kind donations:

Download Now

File Type: zip ms_vopt_38.zip (2.1 KB, 295 views)

Screenshots

File Type: png screenshot1.png (13.5 KB, 0 views)
File Type: png screenshot2.png (15.4 KB, 0 views)
File Type: png screenshot3.png (9.8 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 02-18-2009, 07:48 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 Danisty View Post
This messed up my admin panel. I tried to edit the usergroups to allow them to view this in the menu and instead of editing the usergroup, it created a new custom group so now I have custom groups for administrator, moderator, etc. with the permission to view the on the menu but no change to the original group i tried to edit. Then I went in and checked to see if those custom groups had permission and they did not. If i tried to give the custom group permission, it created yet another custom group. I tried uninstalling this product but the option block is still on the usergroup permissions page except there is nothing written in the option block. I tried editing a different permission for my admin account and now I get this error. I can't change any permissions on my usergroups at all now!

Database error in vBulletin 3.8.1:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO usergroup
(`title`, `description`, `usertitle`, `opentag`, `closetag`, `passwordexpires`, `passwordhistory`, `forumpermissions`, `genericpermissions`, `attachlimit`, `pmquota`, `pmpermissions`, `pmsendmax`, `pmthrottlequantity`, `calendarpermissions`, `wolpermissions`, `adminpermissions`, `genericpermissions2`, `genericoptions`, `profilepicmaxwidth`, `profilepicmaxheight`, `profilepicmaxsize`, `avatarmaxwidth`, `avatarmaxheight`, `avatarmaxsize`, `signaturepermissions`, `sigpicmaxwidth`, `sigpicmaxheight`, `sigpicmaxsize`, `sigmaxrawchars`, `sigmaxchars`, `sigmaxlines`, `sigmaxsizebbcode`, `sigmaximages`, `albumpermissions`, `albumpicmaxwidth`, `albumpicmaxheight`, `albumpicmaxsize`, `albummaxpics`, `albummaxsize`, `usercsspermissions`, `visitormessagepermissions`, `socialgrouppermissions`, `maximumsocialgroups`, `groupiconmaxsize`, `vbblog_general_permissions`, `vbblog_customblocks`, `vbblog_custompages`, `vbblog_entry_permissions`, `vbblog_comment_permissions`, `fcpermissions`, `ms_vopt_permissions`)
VALUES
('Administrators', '', 'Administrator', '<b><span style=\"color:#660198;\">', '</b></span>', '180', '360', '16777215', '2145386431', '0', '1000', '7', '20', '0', '63', '31', '3', '1', '55', '300', '300', '150000', '150', '150', '120000', '234623', '500', '75', '100000', '1500', '1000', '5', '3', '6', '255', '800', '800', '100000', '2000', '0', '63', '63', '65535', '5', '150000', '262142', '5', '5', '24575', '0', '0', '0');

MySQL Error : Unknown column 'ms_vopt_permissions' in 'field list'
Error Number : 1054
Request Date : Tuesday, February 3rd 2009 @ 04:04:40 PM
Error Date : Tuesday, February 3rd 2009 @ 04:04:40 PM
Script : http://www.allbeliefs.com/admincp/us....php?do=update
Referrer : http://www.allbeliefs.com/admincp/us...&usergroupid=6
IP Address : 72.230.88.206
Username : ?anisty
Classname : vB_Database
MySQL Version : 5.0.75
That was because the ms_vopt_permissions field was deleted and the bitfield was still there.

Quote:
Originally Posted by Danisty View Post
I deleted bitfield_ms_vopt_38.xml from my xml folder and reinstalled the old version. My usergroups are still messed up. No matter what edits I make to them, it just creates a new custom group that I also can't edit. I've checked on my forum that does not have this hack installed at all and there is no problem over there so I know it's not vb 3.8.1 that caused this problem. I also disabled the only other hack I upgraded today (https://vborg.vbsupport.ru/showthread.php?t=199975) and I'm still having the problem. Even when I disable the old version of this hack, I have this problem. This is a pretty big deal and I need a fix for this!
If you have deleted bitfield_ms_vopt_38.xml from your xml folder and you are still having the error Unknown column 'ms_vopt_permissions' in 'field list', then the bitfield file is still there, and has not been deleted.

I am pretty sure this problem is due to mixing up old and new versions of this hack.

Make sure you delete the bitfield file, un-install the product, and check the following:

In the AdminCP, select Maintenance -> Execute SQL Query and run the following query:

[sql]describe usergroup;[/sql]

If there is a ms_vopt_permissions entry in the Field column, then running the following query will get rid of it:
[sql]ALTER TABLE usergroup DROP ms_vopt_permissions;[/sql]

That should fix your problem up. If it does not, then post back with the exact error.
Reply With Quote
  #13  
Old 02-18-2009, 10:43 PM
peterle1 peterle1 is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Neither version of this hack behaves like that. There have always been two links, one for the threads, the other for the posts, and has been since I released this hack.
Yes, I thought it behaved like that.

Interested in adding a feature like "my answers"?
The lines for search.php looks like that:

HTML Code:
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&exactname=1&searchtype=1&userid=$bbuserinfo[userid]">my answers</a>
</td>
</tr>
I don't want to hack your mod and it seems to be a very usefull search type for the users.
Thanks for your work and time anyway.

Do what ever you like to do with it.
Reply With Quote
  #14  
Old 02-19-2009, 05:30 AM
bbcentral's Avatar
bbcentral bbcentral is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly on 3.8.1, looks fantastic! Thanks for this, might very slightly boost posting rates (as in people checking for replies to their own posts )
Reply With Quote
  #15  
Old 02-21-2009, 01:13 AM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you should make it default that this is enabled for all usergroups. Due to my board's own weird purposes, I have well over 100 usergroups and now have to go in and edit each one, unless you might know a query I could run to set them all to yes. I don't know enough to figure that part out (lol) - I would imagine in most cases, this woudl be an option people would want all usergroups to have anyway, or at least the majority of their usergroups...
Reply With Quote
  #16  
Old 02-21-2009, 08:40 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 jilly View Post
I think you should make it default that this is enabled for all usergroups. Due to my board's own weird purposes, I have well over 100 usergroups and now have to go in and edit each one, unless you might know a query I could run to set them all to yes. I don't know enough to figure that part out (lol) - I would imagine in most cases, this woudl be an option people would want all usergroups to have anyway, or at least the majority of their usergroups...
In the AdminCP, select Maintenance -> Execute SQL Query and run the following query:

[sql]UPDATE usergroup SET ms_vopt_permissions = 3;[/sql]

That will enable both view posts and view threads to enabled for every usergroup.
Reply With Quote
  #17  
Old 02-21-2009, 11:46 PM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm. Installed per instructions. Enabled in all usergroups per the query and double-checked.

Nothing is showing. Is there a hook I need somewhere that I may not have in my template?

www.guineapigcages.com/forum

vB 3.8.1

Also have this add-on installed: Member Search on Search Dropdown, 3.0

Thanks,
Teresa
Reply With Quote
  #18  
Old 02-22-2009, 04:52 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 Teresa View Post
hmmm. Installed per instructions. Enabled in all usergroups per the query and double-checked.

Nothing is showing. Is there a hook I need somewhere that I may not have in my template?

www.guineapigcages.com/forum

vB 3.8.1

Also have this add-on installed: Member Search on Search Dropdown, 3.0

Thanks,
Teresa
The hook that needs to be in your navbar template is:
Code:
$template_hook['navbar_search_menu']
Reply With Quote
  #19  
Old 02-23-2009, 05:00 AM
trnim.com trnim.com is offline
 
Join Date: Feb 2009
Location: Sheffield UK
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #20  
Old 02-23-2009, 01:30 PM
Danisty Danisty is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
That was because the ms_vopt_permissions field was deleted and the bitfield was still there.



If you have deleted bitfield_ms_vopt_38.xml from your xml folder and you are still having the error Unknown column 'ms_vopt_permissions' in 'field list', then the bitfield file is still there, and has not been deleted.

I am pretty sure this problem is due to mixing up old and new versions of this hack.

Make sure you delete the bitfield file, un-install the product, and check the following:

In the AdminCP, select Maintenance -> Execute SQL Query and run the following query:

[sql]describe usergroup;[/sql]

If there is a ms_vopt_permissions entry in the Field column, then running the following query will get rid of it:
[sql]ALTER TABLE usergroup DROP ms_vopt_permissions;[/sql]

That should fix your problem up. If it does not, then post back with the exact error.
I ran the first query and nothing with ms_vopt_permissions came up. The file is not in my xml folder and the product is uninstalled. I'm not getting an error message but I'm still have a problem editing usergroups. It's still creating more groups instead of editing.
Reply With Quote
  #21  
Old 02-23-2009, 05:22 PM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
The hook that needs to be in your navbar template is:
Code:
$template_hook['navbar_search_menu']
I do have that hook, although it does not have the single quotes around it. None of my hooks do (at least in that template). Is that the problem?
Reply With Quote
Reply


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 07:06 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.05766 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (7)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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