View Full Version : add a.b.c nav menu in specific forum
Chadi
08-27-2008, 01:53 AM
I'd like to add an abc navigation menu in my Scriptural Answers forum. That particular forum is sorted alphabetically by title. Now, to make it easier to browser, I'd like to add a menu on top of that forum from A-Z (links obviously), each alphabet link showing the result of that forum's thread titles that begin with that specific letter.
I'd appreciate any help on how to go about doing this. I already installed a mod that allows me to post html code per forum, so that part is done. On a side note, I have a sub-form too and I'd like to add the code below the sub-form category. That I do not know how to do. I also need to figure out how to create the search result based on title's first letter.
Chadi
09-02-2008, 12:19 AM
Would appreciate help on this if anyone knows how to accomplish this. Thanks.
Chadi
09-08-2008, 09:02 PM
Would appreciate help on this if anyone knows how to accomplish this. Thanks.
Anyone? :)
Thanks in advance.
Chadi
10-04-2008, 11:52 PM
How about $50 payment via Paypal? :)
I would really appreciate any insight on how to get this possibly done.
Dead Eddie
10-05-2008, 12:51 PM
Here's a really quick solution. It adds the functionality globally, so it'll work for your subforum, too (so, just add the display to the forums you want it on).
This modifies forumdisplay.php to only show the threads that start with a certain letter if the url parameter exists. Otherwise, it'll be ignored and you'll see all threads.
The links you'll need to add are in the form of /forumdisplay.php/f=2&letter=a
Let me know if I came close. :D
Chadi
10-05-2008, 03:56 PM
Thanks. I'm using vbseo, so the url is going to be a little different
The forumid is 17 however, but that is not how it is displayed in the url due to the vbseo mod.
So, I tried this:
http://www.talkjesus.com/forumdisplay.php/f=17&letter=a
I got this:
Invalid Forum specified. If you followed a valid link, please notify the administrator
If I try it this way, I get a page not found
http://www.talkjesus.com/scriptural-answers/forumdisplay.php/f=2&letter=a
--------------- Added 05 Oct 2008 at 12:57 ---------------
I got it to work this way with vbseo:
http://www.talkjesus.com/scriptural-answers/&letter=a
Thank you very much :)
--------------- Added 05 Oct 2008 at 13:07 ---------------
Actually, something is wrong here. It is only working for the letter A and C, no other letters work.
http://www.talkjesus.com/scriptural-answers
The letters are linked properly for sure
Dead Eddie
10-05-2008, 05:54 PM
Oops. Change the hook location to forumdisplay_query_threadid
Chadi
10-05-2008, 06:04 PM
Perfect, it works! Thanks so much :)
Chadi
03-01-2009, 04:32 PM
I'm not sure what happened, but this suddenly stopped working for some reason.
All of the letters are redirecting to the home page.
Letters are linked like this for example:
http://www.talkjesus.com/scriptural-bible-answers/&letter=h
Forum:
http://www.talkjesus.com/scriptural-bible-answers/&letter=h
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.