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

Reply
 
Thread Tools
Search permalink Details »»
Search permalink
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.3 Rating:
Released: 09-13-2008 Last Update: Never Installs: 17
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

This plugin will let you use a variable $permalink in the search_results template, which holds a "permalink" to the search results. The permalink could then be shared with friends or bookmarked for later reference to the search results.

I didn't include the template modification for the reasons below:
  • I don't want to be restrictive.
  • I don't need it personally (as my templates are too modified, so there's no way its the same template modification for you as it is for me) so I would need to do it just for you. No time for that, sorry.
Installation: Import the plugin (its not a product, its a plugin) and modify the search_results template to your liking. Then you can share the template modification you did with others, and if I like it, I'll put it in the first post too.

FAQ

I don't get what this mod does, help!
You don't need it then. If something inside you tells you that you may need it, go googlesearch what a permalink is and don't waste my time please.

Screenshots?
Obviously, since the template modification will be different per board, there is no reason to put up one. Get over the screenshot addiction. There is only php code included here, so if you would like a screenshot of that, just ask. Its the only screenshot I can provide. :P

Is $permalink a clickable URL that I can insert in search_results?
No, its just the url. To make it clickable, you have to put it as the href in an <a> tag. Suggestion: put it in the title as well, so they know what it is, like:
HTML Code:
<a href="$permalink" title="$permalink">Permalink</a>
I found a case where the permalink displayed is not correct, what do I do?
Report it in this thread, and be sure to include the exact search criteria, otherwise I won't be able to debug.

Show Your Support

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

Comments
  #2  
Old 09-14-2008, 11:49 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

demo plz
Reply With Quote
  #3  
Old 09-15-2008, 05:29 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a demo at my site, although I don't think it will help much, as its in greek and quite a lot modified.
Refer to the FAQ.
Reply With Quote
  #4  
Old 09-19-2008, 09:07 PM
AndrewRich's Avatar
AndrewRich AndrewRich is offline
 
Join Date: Dec 2007
Location: Palo Alto, CA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Added a phrase "permalink_description" ("Permanent link to this search") and this code to search_results template:
Code:
<a href="$permalink" title="$vbphrase[permalink_description]">#</a>
</td>
</tr>
<if condition="$displayCommon">
We're still deciding on the anchor text but we're using "#" as a placeholder for now.
Reply With Quote
  #5  
Old 09-20-2008, 03:30 PM
TsirhCitna TsirhCitna is offline
 
Join Date: Jul 2005
Location: Kent, OH
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle View Post
There is a demo at my site, although I don't think it will help much, as its in greek and quite a lot modified.
Refer to the FAQ.
I know what a permalink is and I have no idea what this mod does.
Reply With Quote
  #6  
Old 09-20-2008, 04:11 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usually, when you perform a search, you are redirected to a url with the form search.php?searchid=12435235 which can't be shared or stored.

This mod produces a URL that can be reused, as it contains the search criteria in the URL, so if no search is stored, it performs the search again.
Reply With Quote
  #7  
Old 02-18-2009, 10:11 PM
peterle1 peterle1 is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod. Thanks for that one!
Reply With Quote
  #8  
Old 07-07-2011, 01:01 AM
AndrewRich's Avatar
AndrewRich AndrewRich is offline
 
Join Date: Dec 2007
Location: Palo Alto, CA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update for 4.x on this mod? Thanks.
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 02:05 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.04234 seconds
  • Memory Usage 2,271KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete