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

Reply
 
Thread Tools
Thread Listing by Letter with ABC Navigation Menu Details »»
Thread Listing by Letter with ABC Navigation Menu
Version: 2.10, by Chadi Chadi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 04-21-2009 Last Update: 08-24-2009 Installs: 75
Uses Plugins Template Edits
 
No support by the author.

Thread Listing by Letter with ABC Navigation Menu
(please nominate for mod of the month)

Should work fine on 3.6x and up

See screenshot: click here

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.
Same for "#" symbol. Shows only threads that begin with a number 0-9.

Installation / Upgrade
  1. Upload product attached (Go to admincp > manage products) (select 'allow overwrite' if upgrading)
  2. Edit FORUMDISPLAY template and below $navbar place the following code:
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" style="padding:5px;text-align:center">
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]">All</a></td>
        <td class="alt1" style="padding:5px;text-align:center">
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=num">#</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
http://www.talkjesus.com/scriptural-bible-answers/

Quote:
?For his invisible attributes, namely, his eternal power and divine nature, have been clearly perceived, ever since the creation of the world, in the things that have been made. So they are without excuse.?- Romans 1:20
Check out my other mods:
Please show your appreciation by voting and clicking install :up:

*********** CHANGELOG
***********

August 24th 2009
  • added ability to sort by numbers (#). Thanks to Dylanblitz (see thread)
May 5th 2009
  • fix plugin version number to 2.00 accordingly (forgot to update the version number on May 4th's update - sorry)
May 4th, 2009
  • improved column width layout
  • changed hook location to fix reported issues by a couple members
  • added "All" link to show all threads of forum
  • Cleaned up code to remove some unnecessary extra bits
  • replaced two different plugin versions with one, simplified plug-in instead
****************************************

* Please Note: No Support Provided via PM or Email, only in This Thread for those who click Install *

Download Now

File Type: xml product-asp_thread_listing.xml (1.0 KB, 231 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 09-18-2009, 04:00 PM
share4vn.com share4vn.com is offline
 
Join Date: Feb 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fine work for me:
http://sharingcentre.info/forum/software-information/
Reply With Quote
  #53  
Old 09-29-2009, 11:33 AM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A good mod... sorry for the pagination bug... uninstall it!
Reply With Quote
  #54  
Old 10-07-2009, 05:41 PM
inder123 inder123 is offline
 
Join Date: Jan 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did step 1 & 2 but nothing is showing in my forum

any suggestions?

Thanks
Reply With Quote
  #55  
Old 10-24-2009, 05:59 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same here!!! installed and done the template mod...nothing showing????
Reply With Quote
  #56  
Old 10-24-2009, 08:15 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be placed in another template??? other than FORUMDISPLAY??
Reply With Quote
  #57  
Old 11-20-2009, 01:19 PM
libabom libabom is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I use this add on. It is pretty successful except Turkish characters. When I click on Y; İ and Ü are also displayed. When I click on C; both C and Ç are displayed. How can I resolve this? Any ideas?
Reply With Quote
  #58  
Old 11-22-2009, 06:14 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled.
Reply With Quote
  #59  
Old 11-23-2009, 08:30 AM
libabom libabom is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=227174" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=227174</a>
Reply With Quote
  #60  
Old 09-05-2010, 02:01 AM
fi3ryfalc0nZ fi3ryfalc0nZ is offline
 
Join Date: Oct 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have two forum that i want this to be listed. How do I enable this thread listing for both? I've clicked installed. Thanks
Reply With Quote
  #61  
Old 11-05-2011, 03:36 PM
HS2005's Avatar
HS2005 HS2005 is offline
 
Join Date: Jan 2006
Location: Earth
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it has been a long time so now i got back. I know the last rely is way back but this is just for extra info considering i still support this mod.

If you really want to add pages 1 t/m 8 whatso ever for letter just edit forumdisplay.php

FIND:
PHP Code:
        $pagenav construct_page_nav($pagenumber$perpage$totalthreads'forumdisplay.php?' $vbulletin->session->vars['sessionurl'] . "f=$forumid"""
            
. (!empty($vbulletin->GPC['perpage']) ? "&amp;pp=$perpage'')
            . (!empty(
$vbulletin->GPC['prefixid']) ? "&amp;prefixid=" $vbulletin->GPC['prefixid'] : '')
            . (!empty(
$vbulletin->GPC['sortfield']) ? "&amp;sort=$sortfield"")
            . (!empty(
$vbulletin->GPC['sortorder']) ? "&amp;order=" $vbulletin->GPC['sortorder'] : '')
            . (!empty(
$vbulletin->GPC['daysprune']) ? "&amp;daysprune=$daysprune'')
        ); 
ADD Below:
PHP Code:
        // Thread listing by letter + page
        
$vbulletin->input->clean_GPC('r''letter''TYPE_STR');   
        
$letter $db->escape_string($vbulletin->GPC['letter']); 
        
$pagenav2 construct_page_nav($pagenumber$perpage$totalthreads'forumdisplay.php?' $vbulletin->session->vars['sessionurl'] . "f=$forumid"""
            
. (!empty($vbulletin->GPC['perpage'])     ? "&amp;pp=$perpage'')
            . (!empty(
$vbulletin->GPC['prefixid'])     ? "&amp;prefixid=" $vbulletin->GPC['prefixid'] : '')
            . (!empty(
$vbulletin->GPC['sortfield']) ? "&amp;sort=$sortfield"")
            . (!empty(
$vbulletin->GPC['sortorder']) ? "&amp;order=" $vbulletin->GPC['sortorder'] : '')
            . (!empty(
$vbulletin->GPC['letter'])     ? "&amp;letter=" $vbulletin->GPC['letter'] : ''// Letter
            
. (!empty($vbulletin->GPC['daysprune']) ? "&amp;daysprune=$daysprune'')
        ); 
The point is you just create another pagenavigation namely "$pagenav2".
It's not perfect, but it just works so no complains or just add something usefull instead like other members.

2. The next thing to do is add $pagenav2 to your forum.
open the template FORUMDISPLAY in vbulletin.
FIND:
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
REPLACE:
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td><if condition="$pagenav2"><td align="$stylevar[right]">$pagenav2</td></if>&nbsp;&nbsp;&nbsp;
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
Done! and test
If you don't like the location well... it's basic HTML so don't bother.
I am still working on this. when i have extra info i will share it for those who like it.
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 04:51 AM.


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.04826 seconds
  • Memory Usage 2,379KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete