PDA

View Full Version : Miscellaneous Hacks - View Your Posts/Threads from Navbar Search


Mosh
05-06-2008, 10:00 PM
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.4 PL1, v3.6.12 (and maybe even earlier versions).

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


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

This is a simple hack 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.


Installation Instructions

Import ms_view_own_posts_threads.xml into vB using the AdminCP Product Manager. If upgrading then set Allow Overwrite to Yes.
In the AdminCP, select vBulletin Options > View Your Posts/Threads from Navbar Search, enter the usergroups that you want to see the extra link.


Uninstall Instructions

Uninstall the product in vB using the AdminCP Product Manager.



Translations

I would like to thank the following people for their v3.7.006 translations:

Arabic translation by Silencer Groans
Russian translation by BANDiT600

NOTE: If you would like to make a translation into your language and have it posted here, then send me a PM for a list of phrases that you will need to translate.


Version History

v3.7.006 - Friday 29th August 2008
-- Final Release
-- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x

v3.7.005 - Thursday 28th August 2008
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Added: New plugin, for processing usergroup permissions
-- Removed: AdminCP Options input validation (no longer needed)

v3.7.004 - Saturday 26th July 2008
-- Changed: Removed dependency, now works with v3.6.10

v3.7.003 - Wednesday 25th June 2008
-- Added: Usergroup permissions

v3.7.002 - Saturday 10th May 2008
-- Added: Support for vBAdvanced

v3.7.001 - Wednesday 7th May 2008
-- Initial v3.7.x Release


Show Your Appreciation

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

I would like to thank the following people for their kind donations:

odeezie (https://vborg.vbsupport.ru/member.php?u=236952)
jilly (https://vborg.vbsupport.ru/member.php?u=17582)

NFLfbJunkie
05-07-2008, 02:46 AM
Would it be possible to add 'view unanswered threads' like the 3.0 version?

Mosh
05-07-2008, 02:52 AM
Would it be possible to add 'view unanswered threads' like the 3.0 version?
No, but all you need to do is just install my Forum-wide Search For Unanswered Threads hack along with this and you have the lot :)

odeezie
05-07-2008, 03:06 AM
Mosh, you are awesome! Thank You so much, you put that together amazingly fast. :eek::up::D

NFLfbJunkie
05-07-2008, 03:08 AM
No, but all you need to do is just install my Forum-wide Search For Unanswered Threads hack along with this and you have the lot :)

Sweet. Thanks.

Koroku
05-07-2008, 04:55 AM
Good idea, installed. :)

NFLfbJunkie
05-07-2008, 03:26 PM
When I try searching from my vBAdvanced home page I get the following:

Not Found

The requested URL /search.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

iogames
05-07-2008, 05:16 PM
No way! :eek:
Great idea

Mosh
05-07-2008, 10:39 PM
When I try searching from my vBAdvanced home page I get the following:

Not Found

The requested URL /search.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I do not have vBAdvanced installed at the moment, but will try to answer this once I have the answer to the question I am about to ask.

Question: Do you have your vBA installed in the root and forums in a sub-directory? And if so, what sub-directory is it in?

Also you will need to click Mark as Installed to recieve further support.

NFLfbJunkie
05-08-2008, 01:22 AM
Sorry about that; installed. My vBA index/home page resides outside the forums folder. Thanks.

Mosh
05-08-2008, 07:26 AM
Sorry about that; installed. My vBA index/home page resides outside the forums folder. Thanks.
Do the links show up at all in the navbar when you are located on the vBA home page?

Can you post a screenshot of it when in the forums, and one when on vBA home page please? (obviously when the Search menu is selected)

Thanks,

Mosh.

NFLfbJunkie
05-08-2008, 12:30 PM
My 'search forums' drop down look just like your attached image. The same thing also happens when clicking on the 'unanswered threads' link from your other MOD.

odeezie
05-08-2008, 03:16 PM
Mosh, this was the message I received from the original user who requested this:

Ok dude, first of all, you're awesome. You've worked hard to get this feature (mostly just for me) and I appreciate your desire to please the forum users. But I'm sorry to inform that as close as you are (and verrrry close!), it's not exactly what I was wanting. You provided a way for me to show you exactly what I want though, so it was a definite step in the very right direction. Ok, click the Search drop-down and click "Advanced Search". On the right side, it says "Search by Username" and there's a space underneath to type in a username. Type in your username. After you've typed in odeezie, go to the bottom and click "Search Now". The page that loads next is exactly what I have been talking about. It was hard to explain but at least now you can see a live version of it. It has a list of every thread that only you have posted in. The threads that have new posts in them are bold. This way, I am able to see which threads I've posted in that have new posts and I can go straight to them without having to click on the forum, then find the thread. In reality, it only saves a few clicks and a few seconds but I spend hours and hours on the computer and have found little things that make everything easier.. this being one of them lol. This feature really helps when I've been gone for a few days/weeks and the thread may be buried somewhere in the forum where it's hard to find. Instead of eventually forgetting about the thread, I go to this page and it reminds me that I had posted there and allows me to see posts that I might have otherwise not ever seen.

Does that make any sense and is that search really different from the ones you have provided? If it is, is there anyway I can make that a clickable button with a little bit of code change? If its not to difficult can you explain it to me and I will take a stab at it...i think you have already done enough to help out with my requests.

Thanks!

Brad

NFLfbJunkie
05-09-2008, 12:21 PM
Hey Mosh. I also have the vBulletin Blog and Project Tools on my board and had the same problems with the links for these MODS opening up. After searching the vBAdvanced board, I came across the solution of adding "{$vbulletin->options[bburl]}/" before the blog.php and pt.php. The end result (for the blog) looks like:


<td class="vbmenu_control"><a href="{$vbulletin->options[bburl]}/blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>


I tried adding the same to the xml files of your MODS, but it did not work. Maybe this gives you a starting point on how to come up with a fix for my problem. Any help would be greatly appreciated.

Mosh
05-10-2008, 12:58 PM
Hey Mosh. I also have the vBulletin Blog and Project Tools on my board and had the same problems with the links for these MODS opening up. After searching the vBAdvanced board, I came across the solution of adding "{$vbulletin->options[bburl]}/" before the blog.php and pt.php. The end result (for the blog) looks like:


<td class="vbmenu_control"><a href="{$vbulletin->options[bburl]}/blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>


I tried adding the same to the xml files of your MODS, but it did not work. Maybe this gives you a starting point on how to come up with a fix for my problem. Any help would be greatly appreciated.
Install v3.7.002, that should sort your vBAdvanced issue :)

Mosh
05-10-2008, 01:04 PM
Mosh, this was the message I received from the original user who requested this:



Does that make any sense and is that search really different from the ones you have provided? If it is, is there anyway I can make that a clickable button with a little bit of code change? If its not to difficult can you explain it to me and I will take a stab at it...i think you have already done enough to help out with my requests.

Thanks!

Brad
It is exactly what my hack does (apart from being able to enter different usernames), so will not be altering it at all, apart from maybe adding usergroup permissions if people want to limited to certain premium groups etc,.

odeezie
05-10-2008, 11:59 PM
It is exactly what my hack does (apart from being able to enter different usernames), so will not be altering it at all, apart from maybe adding usergroup permissions if people want to limited to certain premium groups etc,.

Cool, thanks for the reply and thanks for all your help. :)

pcoskat
06-11-2008, 11:19 AM
Vbulletin should make this feature standard.

KURTZ
06-11-2008, 11:51 AM
thx Mosh, last time i forget to click install ... :D

Mosh
06-25-2008, 08:03 AM
Update: v3.7.003


Added usergroups permissions

abhimation
06-25-2008, 04:43 PM
I just installed on my board but i cant see it working :(
Mine is a 3.7.0

Mosh
06-25-2008, 10:20 PM
I just installed on my board but i cant see it working :(
Mine is a 3.7.0
After you import the product it should just work straight out of the box, as all usergroups are now allowed by default, and if you want to limit which usergroups see the links then you have to change the options.

The only other way it would not work is if you are using a custom style and the template hooks which are needed for this hack to work are not there.

drsli
06-28-2008, 08:39 PM
Thank you very much for this useful enhancement! :)

robertpro2a
07-23-2008, 10:59 PM
Cool, but why does it keep logging me out? All these custom hacks, when used..work, but when the screen loads it doesn't show me as logged in anymore!

Mosh
07-24-2008, 03:40 AM
Cool, but why does it keep logging me out? All these custom hacks, when used..work, but when the screen loads it doesn't show me as logged in anymore!
Well, that has absolutely nothing to do with this hack, as it has nothing to do with the login/logout functions of the forum. It sounds like your session info is not carrying from page to page.

Mosh
07-26-2008, 07:55 AM
Update: v3.7.004 - Saturday 26th July 2008
-- Changed: Removed dependency, now works with v3.6.10

NOTE: If already installed on v3.7.x, then there is no need to update to this version, as there are no functional changes. This is only for new installations, it now caters for v3.6.10 as well as v3.7.x.

robertpro2a
07-26-2008, 05:01 PM
Mosh,
I realize this is not your fault, but I was wondering, what would you suggest doing if the style I am using now isn't showing the hack. I.e., on the navbar, it does not support the "drop down", thus the user cannot see this hack. Search.php is just the basic 'ol search, too. Anyway it can be shown?

Thanks.

robertpro2a
07-26-2008, 05:44 PM
My site by the way is www.pro2a.org as you can see it does not have the "drop down" above.

Mosh
07-26-2008, 09:08 PM
Mosh,
I realize this is not your fault, but I was wondering, what would you suggest doing if the style I am using now isn't showing the hack. I.e., on the navbar, it does not support the "drop down", thus the user cannot see this hack. Search.php is just the basic 'ol search, too. Anyway it can be shown?

Thanks.
It depends on a template hook that is available in a v3.7.x and v3.6.10 compatible styles, so if it is not there, it will not work. You can always look at the hack in a text editor and add the hook to the template manually. Before you ask, I will not help you with that (I am just giving you a pointer), as it I only support my hacks in their un-altered form (your custom style does not would seem to have those, as it seems that those template hooks have been removed) and even then, I will only provide support people who mark my hacks as installed.

BucWiLd
08-13-2008, 01:44 AM
nice hack thanks

Mosh
08-13-2008, 02:36 AM
My site by the way is www.pro2a.org as you can see it does not have the "drop down" above.
I see you now have this working, and added to your site as of yesterday, along another one of my hacks :)

As that is the case, can you now click Mark as Installed in this and the other thread?

sambalis
08-13-2008, 03:16 PM
Thanx!
Installed and working fine!

Mosh
08-28-2008, 11:27 AM
Updated: v3.7.005
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Added: New plugin, for processing usergroup permissions
-- Removed: AdminCP Options input validation (no longer needed)

Mosh
08-29-2008, 02:04 AM
Update: v3.7.006
-- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x

yamahapaul
08-29-2008, 07:35 PM
just installed thanks! :up:

GaiLoan
08-30-2008, 08:19 AM
i got error with your update file cannt using the search now

Mosh
08-30-2008, 09:36 AM
i got error with your update file cannt using the search now
Please elaborate, i.e. tell me exactly what the issue is, what you are doing, and what errors result, maybe even a screenshot or two to show the errors. Then I can look at it.

masterweb
08-30-2008, 03:00 PM
Installed and working without problems...thanks a lot!...

ehsanix
09-19-2008, 09:22 PM
just installed
works properly
thanks

Skitty
09-22-2008, 12:55 PM
Hi Mosh, tried with 3.7.3 pl1 (with vbadvanced) and no link showed in the search dropdown menu. Permissions were set correctly.

Mosh
09-25-2008, 06:02 AM
Hi Mosh, tried with 3.7.3 pl1 (with vbadvanced) and no link showed in the search dropdown menu. Permissions were set correctly.

Hack Support

I will not be providing any support at all to people who have not clicked Mark as Installed.

I will provide support and respond to feature requests for this hack in this thread only.

Please do NOT PM me for support/feature requests unless I have specifically asked you to do so,
as I will more than likely ignore and delete the PM without a response.

Read the above.

Silencer Groans
10-08-2008, 05:46 AM
I hope that you have no objection .. You have to make the product in Arabic

Annexes with a photo

Mosh
10-08-2008, 07:06 AM
I hope that you have no objection .. You have to make the product in Arabic

Annexes with a photo
No problems at all :)

I will link to it in the first post :)

BANDiT600
10-15-2008, 06:24 PM
Here is my russian translate.

Mosh
10-15-2008, 08:59 PM
Here is my russian translate.
Thanks :)

Added link to this in the first post :)

raja811
11-14-2008, 08:17 AM
thanks

Mosh
12-11-2008, 03:50 AM
This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.4 PL1, v3.6.12 (and maybe even earlier versions).

Sunka
12-14-2008, 04:46 AM
Installed.
Thank you!