Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Alphabetical Search Menu for your vBulletin page
veenuisthebest
Join Date: Mar 2008
Posts: 1,416

100% BCA, 33.33% CA

India
by veenuisthebest veenuisthebest is offline 12 Aug 2008

This tutorial will help you make an alphabetical search menu similar to what we see in memberlist.php

I had been looking for this for quite some time, opened a thread too but no help. Now, after some little programming homework I find it quite easy. Hope few of you find this useful.
  1. Assuming you have intermediate knowledge of HTML and PHP.
  2. Its hard for me to understand how this is done in memberlist.php. But this is the most easy way.
  3. Do follow the comments in code.
  4. I am not a coder.


1. First, we create a template for our product titled alphamenu and copy this code into it.


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

2. Then in our custom vbulletin page.php, we create a subpage called alphasearch and copy the below code into it. Ofcourse, this would require editing according to your needs, so read the comments carefully.



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

Now, as said earlier in comments, simply use this line in any sub-page and put $alphamenu in the associated template. This would show the menu.


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



By: http://tech6.com

Last edited by veenuisthebest; 03 Apr 2009 at 03:01..
Views: 4431
Reply With Quote
Comments
  #2  
Old 21 Sep 2008, 19:40
jose22 jose22 is offline
 
Join Date: Jul 2008
do not understand that part of -> So, in our usual vbulletin page.php, we will create a sub-called alphasearch and copy the code below for this. Sure, it would require editing to suit your needs, so read the comments.
and where it can help? pa of creating for instance in the cinema section of my forum?
Reply With Quote
  #3  
Old 10 Jan 2009, 21:46
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Mar 2005
very useful. Thanks
Reply With Quote
  #4  
Old 15 Jan 2009, 13:01
Shadab's Avatar
Shadab Shadab is offline
 
Join Date: Apr 2007
Location: Bhopal
Real name: Shadab

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


$letter is assigned the value from $_GET['ltr']
and then directly used in the DB query without sanitizing it.

Is that safe ?
Reply With Quote
  #5  
Old 15 Jan 2009, 15:14
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
Have edited the code. I think its safe now.
Reply With Quote
  #6  
Old 30 Mar 2009, 10:35
vbplusme's Avatar
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Real name: Michael
Caution: This "Tutorial" does NOT describe a WORKING mod and does not work as written. It is COMPLETELY based on a "theoretical" model and is completely worthless as a realtime MOD that just needs to be "tweaked". Not sure what the author was thinking when he called it a tutorial?
__________________
Reply With Quote
  #7  
Old 30 Mar 2009, 12:23
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
Originally Posted by vbplusme View Post
Caution: This "Tutorial" does NOT describe a WORKING mod and does not work as written. It is COMPLETELY based on a "theoretical" model and is completely worthless as a realtime MOD that just needs to be "tweaked". Not sure what the author was thinking when he called it a tutorial?
ehm.. that is what an article is. ROFL!

Originally Posted by 1st point of article
# Assuming you have intermediate knowledge of HTML and PHP.
Reply With Quote
  #8  
Old 04 Apr 2009, 04:06
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
thank you!
__________________
games
Forum Nokia
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Boolean Search in Search Drop-Down Menu Option in Navbar Neutral Singh vBulletin 3.5 Template Modifications 9 03 Jul 2007 20:58



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article 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 19:31.

Layout Options | Width: Wide Color: