The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Listing by Letter with ABC Navigation Menu Details »» | ||||||||||||||||||||||||||||
Thread Listing by Letter with ABC Navigation Menu
Developer Last Online: Nov 2023
Thread Listing by Letter with ABC Navigation Menu
(please nominate for mod of the month) Special thank you to member 'Dead Eddie' who originally created this and gave me permission (via pm) to post this as a mod. This will automatically display your forum's threads into alphabetical order when a member clicks a specific letter. It shows an ABC menu on top of the forum that you place the code into. Tested on a fresh Vbulletin install and VBSEO enabled install. Works fine on both. Description of MOD: Member clicks on the letter 'A', it will show all threads that begin with the letter A in the thread title, only. Installation / Upgrade
Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <td colspan="30" height="16" class="thead"> <strong>Search topics by first letter</strong><tr align="center"> <td class="alt2"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]">All</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=a">A</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=b">B</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=c">C</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=d">D</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=e">E</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=f">F</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=g">G</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=h">H</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=i">I</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=j">J</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=k">K</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=l">L</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=m">M</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=n">N</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=o">O</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=p">P</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=q">Q</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=r">R</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=s">S</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=t">T</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=u">U</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=v">V</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=y">Y</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=x">X</a></td> <td class="alt1"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=y">Y</a></td> <td class="alt1" style="padding:5px;text-align:center"> <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=Z">Z</a></td> </tr> </table> <br /> Live Demo (using VBSEO) http://www.talkjesus.com/scriptural-bible-answers/ Live Demo (fresh Vbulletin install) http://www.talkjesus.com/test/forumdisplay.php?f=2 Quote:
*********** CHANGELOG *********** May 5th 2009
Show Your Support
|
Comments |
#22
|
|||
|
|||
Could the links not be done with $vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=2&letter=o
instead of hard coding the full path? Or even just relative path? forumdisplay.php?$session[sessionurl]f=2&letter=o Note also I've added $session[sessionurl] as that needs to be there really. |
#23
|
||||
|
||||
Quote:
Thanks. |
#24
|
|||
|
|||
Any idea what setting I have different to you - the Forum is set to default as "Show all threads from the beginning"
|
#25
|
||||
|
||||
I discovered some bugs.
When you have more threads then you allow in vboptions. example: max 15 threads per page The pageno#: 1,2,3,4, does not include the letter but the actual forum. The threads in the page do not have a orderby=ASC or DESC |
#26
|
||||
|
||||
New Update
*********** CHANGELOG *********** May 4th, 2009
|
#27
|
||||
|
||||
Thank for the Update but there is a Functionality that You Haven't Implemented on it and that is Necessary for it to Work Properly on the ForumDisplay, and is that it Displays the Filtered Number of Pages After the Apply of the Filter by Letter, and also that when Clicking on the Number of Page the Users can Browse to that Filtered by Letter Page.
Right Now the Mod Only Displays the Fist Page of Results and the Other Links to the Pages don't Include the Filter by Letter. For Small Thread Lists Works Fine but for Large Ones you can Only See the First X Results (the ones on the First Page). Also another Functionality that don't Work is when You Have Thread Lists Ordered or Filtered by Any Criteria, the Provided Link don't Respect that Order and/or Filter and Displays All the Threads Filtered by First Letter, (Only the First Page as Mentioned Before). I Hope You Can Include those Functionalities on this Mod. My Best Regards. |
#28
|
||||
|
||||
Good changelog, it is surely improved.
If you could only fix the page numbers that would complete the hack. Because if you have like say 500 threads starting with a. Only a number of threads will show on your page optioned in vboptions. Example http://www.yourdomain.com/forumdisplay.php?f=(forumid)&letter=d Should be: http://www.yourdomain.com/forumdisplay.php?f=(forumid)&letter=d&page=2 |
#29
|
||||
|
||||
I'm not a programmer to be honest, so if someone can explain what it should look like (the link) to include all pages for that specific letter clicked, I'll update it again.
I did replicate the problem though to be fairly honest at least |
#30
|
||||
|
||||
Quote:
|
#31
|
||||
|
||||
Quote:
Set that Option to 5 Threads on ForumDisplay Options, and then Go to a Forum that has Lots of Thread that Start by Any Letter and Click on the Filter Letter of this Mod; You'll Only see Five (5) Results and not the Complete List. My Best Regards. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|