vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Forumdisplay Alphabetical sort for English & Greek letters + Numbers (https://vborg.vbsupport.ru/showthread.php?t=221470)

elenh 08-21-2009 10:00 PM

Forumdisplay Alphabetical sort for English & Greek letters + Numbers
 
This will sort your forumdisplay threads list alphabetical.

I have added English & Greek characters +numbers 0-9.

Live Demo here.

You can modify the characters with your region language if you like.

INSTALLATION:

Go Admincp/Style manager/Choose your style/Forumdisplay template

Find:
Code:

$navbar
Bellow add:

Code:

<!-- Helen Alphabetical sort -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<td colspan="62" height="0" width="100%" class="tcat">
    <strong>Ταξινόμηση με αλφαβητική σειρά</strong><tr align="center">
        <td class="alt2">
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]">Επαναφορά</a></td>   

        <td class="alt1">Αγγλικά:&nbsp;&nbsp;
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=a">A</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=b">B</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=c">C</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=d">D</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=e">E</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=f">F</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=g">G</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=h">H</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=i">I</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=j">J</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=k">K</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=l">L</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=m">M</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=n">N</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=o">O</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=p">P</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=q">Q</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=r">R</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=s">S</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=t">T</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=u">U</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=v">V</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=w">W</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=x">X</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=y">Y</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=Z">Z</a></td>


        <td class="alt1">Ελληνικά:&nbsp;&nbsp;
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=α">Α</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=β">Β</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=γ">Γ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=δ">Δ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ε">Ε</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ζ">Ζ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=η">Η</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=θ">Θ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ι">Ι</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=κ">Κ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=λ">Λ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=μ">Μ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ν">Ν</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ξ">Ξ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ο">Ο</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=π">Π</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ρ">Ρ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=σ">Σ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=τ">Τ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=υ">Υ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=φ">Φ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=χ">Χ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ψ">Ψ</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=ω">Ω</a></td>

        <td class="alt1">Αριθμοί:&nbsp;&nbsp;
        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=0">0</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=1">1</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=2">2</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=3">3</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=4">4</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=5">5</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=6">6</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=7">7</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=8">8</a>

        <a rel="nofollow" href="forumdisplay.php?f=$foruminfo[forumid]&letter=9">9</a></td>
</tr>

</table>
<!-- / Helen Alphabetical sort  -->

Click Save.Finish!

I hope you like it.

Click INSTALL if you use it.

Thank you!!

lazydesis 08-22-2009 01:04 PM

No product to install? Don't think it will work.

That's just the HTML code .. where is the php code?

elenh 08-23-2009 10:27 AM

Sorry forgot!:D

Product added today.

Greek76 08-23-2009 12:01 PM

What exactly does this Elenh I don't understand. Thanks

lazydesis 08-23-2009 01:16 PM

thanks :) for this

elenh 08-23-2009 03:12 PM

Quote:

Originally Posted by Greek76 (Post 1872644)
What exactly does this Elenh I don't understand. Thanks

In Greek: Αυτό το addon θα βοηθήσει τα μέλη σου να ταξινομούνε τα topics στο forumdisplay.php με αλφαβιτική σειρά ή με την σειρά των αριθμών πατώντας ανάλογα πάνω στους χαρακτήρες που έχω ορίσει (αν θες δες και το live demo).Έτσι διεκολύνεται η αναζήτηση ενός topic στο forumdisplay.php.Μπορείς άνετα να προσθέσεις ή να αφαιρέσεις χαρακτήρες από το προτυπο ανάλογα με τις απαιτήσεις σου.

In english: This addon will help your members to arrange the topics in forumdisplay.php alphabetical in order or the order of the numbers by pressing depending on the characters that I have set (if you want to see the live demo).Thus facilitate the search for a topic in forumdisplay.php. You can easily add or deductions from the standard characters depending on your requirements.

RedHacker 08-23-2009 06:05 PM

But i find one bug... :) Not show one letter but if had the phrase had same letter it show....
And how this to let us one line and not i sticks with button new thread

etg The letter "C" Show thread Car but if had thread The Cars it show again... :)

Greek76 08-23-2009 11:18 PM

Quote:

Originally Posted by elenh (Post 1872741)
In Greek: Αυτό το addon θα βοηθήσει τα μέλη σου να ταξινομούνε τα topics στο forumdisplay.php με αλφαβιτική σειρά ή με την σειρά των αριθμών πατώντας ανάλογα πάνω στους χαρακτήρες που έχω ορίσει (αν θες δες και το live demo).Έτσι διεκολύνεται η αναζήτηση ενός topic στο forumdisplay.php.Μπορείς άνετα να προσθέσεις ή να αφαιρέσεις χαρακτήρες από το προτυπο ανάλογα με τις απαιτήσεις σου.

In english: This addon will help your members to arrange the topics in forumdisplay.php alphabetical in order or the order of the numbers by pressing depending on the characters that I have set (if you want to see the live demo).Thus facilitate the search for a topic in forumdisplay.php. You can easily add or deductions from the standard characters depending on your requirements.

Thanks a lot Elenh for both versions. Euxaristw!

Chadi 08-25-2009 01:12 AM

How is this different from mine?

https://vborg.vbsupport.ru/showthread.php?t=211939

You're using the same code as mine.


All times are GMT. The time now is 01:18 AM.

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.01150 seconds
  • Memory Usage 1,782KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete