Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Refine this search and pasteable search URL pseudo-features Details »
Refine this search and pasteable search URL pseudo-features
Mod Version: 1.00, by malmazan (Designer) malmazan is offline
Developer Last Online: Jan 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.3 Rating: (0 vote - 0 average) Installs: 4
Released: 25 Nov 2006 Last Update: Never Downloads: 1
Not Supported Template Edits  

This is not really a new feature but just surfaces one that was readily available, though in such a way that it was hard to notice.

The feature does two things:
  1. Provides a Refine This Search type feature
  2. Provides a URL to a search that includes all options and can be shared with other users

In the search_results template look for :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace by:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The link uses tcat css definition and is therefore not underlined and hence does not look like a link, which is one of the reasons why the feature is so hard to find, so i have forced the underline with style="text-decoration: underline;". Alternatively, you will surface lots of links disguised as plain text by editing the tcat css so that tcat links are underlined, which is what i do and recommend.

No new phrases are needed as i am only re-using phrases. And works for all languages.

The conditional is used to avoid the feature being shown on search results that are not quite such things, such as 'New Posts'.

Before and after screen dumps enclosed (keywords look like links in both cases because they are underlined. Not very intuitive really (they are not links), but the fix for this needs editing search.php where the <b> codes reside) :

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	feature_in_disguise.gif
Views:	64
Size:	2.9 KB
ID:	56587   Click image for larger version

Name:	feature_surfaced.gif
Views:	72
Size:	3.1 KB
ID:	56588  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Dec 2006, 03:56
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
the above code can be found in the search_results template
Reply With Quote
  #3  
Old 06 Dec 2006, 06:57
malmazan malmazan is offline
 
Join Date: Feb 2006
Originally Posted by yoyoyoyo View Post
the above code can be found in the search_results template
Indeed, i forgot that very important piece of info. I have edited the initial post. Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:01.

Layout Options | Width: Wide Color: