vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Thread Listing by Letter with ABC Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=211939)

share4vn.com 09-18-2009 04:00 PM

fine work for me:
http://sharingcentre.info/forum/software-information/

Cerbero1000 09-29-2009 11:33 AM

A good mod... sorry for the pagination bug... uninstall it!

inder123 10-07-2009 05:41 PM

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

any suggestions?

Thanks

COL NIL SATIS 10-24-2009 05:59 PM

same here!!! installed and done the template mod...nothing showing????

COL NIL SATIS 10-24-2009 08:15 PM

Can this be placed in another template??? other than FORUMDISPLAY??

libabom 11-20-2009 01:19 PM

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?

COL NIL SATIS 11-22-2009 06:14 PM

uninstalled.

libabom 11-23-2009 08:30 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=227174" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=227174</a>

fi3ryfalc0nZ 09-05-2010 02:01 AM

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

HS2005 11-05-2011 03:36 PM

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.


All times are GMT. The time now is 06:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete