News:

Wondering if this will always be free?  See why free is better.

Main Menu

Expand Page Index

Started by SMF Customization Team, October 18, 2006, 08:50:26 PM

Previous topic - Next topic

SMF Customization Team

Link to Mod

Expand PageIndex



Author: SMF Customization Team

Supported Languages: English

Link To Mod | Mod Discussion | Other SMF Customization Team Mods


Summary:
This mod will expand all the pages when you click on the "..." in a page index.  Example open a board in SMF and you will something like Pages: [1] 2 3 ... 20, click on ... and it will expand to show all the page numbers.

Note: This mod makes changes to script.js, which is often cached. For it to work your users may have to do a hard refresh (usually Ctrl + F5).

Compatibility:
Compatible with SMF 1.0 only as its a standard feature of 2.0

Installation Information:
The Package Manager should work in most cases, if you have problems installing please use the discussion thread as well as Manual Installation of Mods

License:
Copyright (c) 2015, Simple Machines
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the <organization> nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Change Log:
Version 1.1 - March 23 2016
- Updated to work with SMF 1.1.21
- BSD License
Version 1.0 - October 10 2006
- Initial release

WarBirD

Aehm, how do I use the Mod ? Any image as example ?  ???

!Hachi!

open any board in SMF i mean here and you will something like
Pages: [1] 2 3  ... 18   Go Down
                        click on ... and it will expand.

click here
http://www.simplemachines.org/community/index.php?board=59.0
Happy Ramadan

Rudolf

Shouldn't this be called "Expand Pageindex" or something similar? It's very inaccurate and misleading the title.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

!Hachi!

to me its perfect
PAGE 1,2,3,4,5,6,7 and so on
            it will become 1,2......100
                      by the mod we will able to EXPAND pages  right!
Happy Ramadan

Rudolf

Sorry, but that's wrong. The list of numbers that is bein expanded is the "page index".
A page by definition is
Quote from: dictionary.com
Computers.
a.   a relatively small block of main or secondary storage, up to about 1024 words.
b.   a block of program instructions or data stored in main or secondary storage.
c.   (in word processing) a portion of a document.
or
Quote from: dictionary.com
Web page 
Computers.
1.   a single, usually hypertext document on the World Wide Web that can incorporate text, graphics, sounds, etc.

And if you don't agree with these definitions, check the SMF team's definition of that thing. The function to create it is called "constructPageIndex();", the variable that holds it is called $context['page_index'].
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

winrules

I don't see any reason to rename it since it's already named this way. It may be more acurate, but it's jsut a name.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Rudolf

So much for clarity. Actually I think it's pretty serious. Misleading users.
For a mod the name is that identifies the mod, I search the mod page looking at their names first.
I assure you that I was quite disappointed to when I realized what this mod was about, and it seemed a waste of my time. But that's just me, one in a billion.
Who am I to argue with the "SMF Customization Team"?
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Skipdawg

Oh this is nice. A Perl written message board I use to visit had such a feature. Comes in handy!  ;D ;)
Skipdawg's Community

Powered by SMF 1.1.3

winrules

SMF Customization Team just means that it was worked on by various members of the team.

I really don't see how it is that misleading. If anything maybe "Expand Page Listing" would be better.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Vinspire

Just install this mods into my SMF Board. No matter what name we should have for this mod, there is only 1 comment I will give to this mod is "Awesome" !!!

Vinspire

How do i get this to work well with Helios Theme ?

There isn't any script.js file in the theme. The function work fine.

When i click on the page beside "go down" ... The whole pages list did scroll down and work smoothly.

but

When i click on the page at the bottom beside "go up" ... the whole pages list goes all the way till the end in 1 line. Here is the screenshot for better explaination.


winrules

Script.js is global. There isn't one in every theme so you don't need to make any changes. With having it in one line there is probobally a fixed height. You'd ahve to modify the theme, which I'm not quite sure how you would do.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Daniel15

Nice MOD... This should come in handy.

P.S I finally found out what User 1 is used for :P
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

L.G.S

This mod has been used on my forum for a while now and its awesome, but I have a problem.

I installed the SEO urls mod and for some reason if I expanded the pages and clicked on one other than the first, it would take me back to the first anyway :(
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


MinasC

installed great in 1.1.3 but isn't working (shows as a link but doesn;t expand) ! any ideas ?

AdviseorAnswers.com

Quote from: MinasC on June 28, 2007, 08:30:30 PM
installed great in 1.1.3 but isn't working (shows as a link but doesn;t expand) ! any ideas ?
I also installed it on 1.1.3 and had the problem of not expanding. But if you look a few post up before the name discussion, it mentions doing a hard refresh. I did a refresh by clicking refresh on my browser and it worked fine
Social Networking


kamili34

I have smf 1.1.3 and not default theme and mod work correct. Thanks :)

MinasC

Quote from: AdviseorAnswers.com on July 03, 2007, 07:34:27 PM
Quote from: MinasC on June 28, 2007, 08:30:30 PM
installed great in 1.1.3 but isn't working (shows as a link but doesn;t expand) ! any ideas ?
I also installed it on 1.1.3 and had the problem of not expanding. But if you look a few post up before the name discussion, it mentions doing a hard refresh. I did a refresh by clicking refresh on my browser and it worked fine

works fine now , thnx a lot , hadn't seen that post about the refresh thing !

falguni1

any images cant understand wot this mod does

Advertisement: