Author Topic: [MOD] Universal Paging Class v1.1.2  (Read 76502 times)

0 Members and 1 Guest are viewing this topic.

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Universal Paging Class v1.1
« Reply #30 on: October 01, 2008, 04:18:39 PM »
Quote
Sorry, aber ich habe das nicht so richtig verstanden!
Was genau bewirkt diese modifikation?

paging für alles mögliche, z.B. Paging in Mod:PMv3   :wink:

Gruß
Kurt

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #31 on: October 01, 2008, 04:30:17 PM »
... die ursprüngliche Paging Class in 4images zeigt nur wie folgt an ...  
Quote
Gefunden: 30 Bild(er) auf 2 Seite(n). Angezeigt: Bild 1 bis 16
...
1 2 >> letzte Seite>>

... willst du nun dieses Paging auch für Kommentare, Dateien, PMs o.ä. verwenden, so stößt du hier an Grenzen ...
... da immer nur von Bildern die Rede ist (eigentlich auch der Sinn einer Galerie ... ) ...
... mit V@no's Universal Paging Class wird diese Einschränkung nun behoben ...
... und wenn du die Modifikation zur Limitierung der Kommentare pro Detailseite installiert hast ...
... dann kannst du statt dem o.g. Paging z.B. folgendes anzeigen lassen ...
Quote
Gefunden: 30 Kommentar(e) auf 5 Seite(n). Angezeigt: Kommentar 1 bis 5
...
1 2 3 4 5 >> letzte Seite>>

... analog gilt es dann für Dateien, PMs u.s.w. ....
... in des Version 1.1 ist dann noch ein Eingabefeld zum direkten Anspringen der Seite hinzugekommen ...

once again ... thanks V@no ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #32 on: October 01, 2008, 04:42:35 PM »
Achso,

super klasse Teil, danke dir!

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #33 on: July 21, 2009, 04:07:14 PM »
Hi V@no

When I use this mod my Category list changes. If I set the no to 20 cats per page, if there are 25 cats then it doesn't put the remaining 5 onto a new page it puts them into a new column???

Any ideas???

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Universal Paging Class v1.1
« Reply #34 on: July 21, 2009, 04:15:20 PM »
I'm quiet sure that has nothing to do with this mod. Must be something you did wrong with categories per page mod....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Universal Paging Class v1.1
« Reply #35 on: September 27, 2009, 02:48:47 PM »
can i use this to make a pagination system for new images ? :S

is it possible ?
I'm Back :)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Universal Paging Class v1.1
« Reply #36 on: September 27, 2009, 08:05:28 PM »
yes
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Universal Paging Class v1.1
« Reply #37 on: September 28, 2009, 03:39:02 PM »
tnx sir.can u plz hlp me around sir. im new to php, which file Should i edit, where can i find the php codes related to new image displaying, Thankz in advance :|
I'm Back :)

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Universal Paging Class v1.1
« Reply #38 on: September 30, 2009, 05:18:47 PM »
hey...any 1 intrested :S can any1 help me pls :S
I'm Back :)

Offline hsammak

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #39 on: October 27, 2009, 02:38:30 PM »
How do you change the the arrow ' » ' for the next button to say ' Next Page ' and the same for Previous Page also?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Universal Paging Class v1.1
« Reply #40 on: October 28, 2009, 12:02:21 AM »
Hello and welcome to 4images forum.

In lang/<your language>/main.php:
$lang['paging_next'] = "&raquo;";
$lang['paging_previous'] = "&laquo;";
$lang['paging_lastpage'] = "Last page &raquo;";
$lang['paging_firstpage'] = "&laquo; First page";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Pagination
« Reply #41 on: December 10, 2009, 10:08:31 PM »
Hi guys

I'm using V@no's version of Paging.php and I want to remove the [ ] around each page number, remove First Page & Last Page and remove the Go To Page option.

Is this possible please?

Thank you


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Universal Paging Class v1.1
« Reply #42 on: December 11, 2009, 02:15:56 AM »
Remove "go to":
replace
    function Paging($page 1$perpage 0$num_rows_all 0$link_args ""$text ""$extra ""$page_text ""$style ""$page1 0$form true$formjs true)
with:
    function Paging($page 1$perpage 0$num_rows_all 0$link_args ""$text ""$extra ""$page_text ""$style ""$page1 0$form false$formjs false)


Remove []:
replace (two instances):
                    $html .= "[<b class=\"".$this->style."on\">".$page_num."</b>]&nbsp;&nbsp;";
with:
                    $html .= "<b class=\"".$this->style."on\">".$page_num."</b>&nbsp;&nbsp;";


remove first/last:
remove (two instances):
            $html .= "<a href=\"".$this->link_args.$this->page_text."=1".$this->extra."\" class=\"".$this->style."\">".$this->paging_firstpage."</a>&nbsp;&nbsp;";
and
            $html .= "<a href=\"".$this->link_args.$this->page_text."=".$this->total_pages.$this->extra."\" class=\"".$this->style."\">".$this->paging_lastpage."</a>";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #43 on: December 11, 2009, 03:55:39 PM »
Thank you V@no, a couple more things, before the first pagination page when it shows, how do I add some text "More Results" and the >> how do I change them to Graphics which I have ready?

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] Universal Paging Class v1.1
« Reply #44 on: April 24, 2010, 02:29:21 AM »
Hi -

Great MOD. easy to install,

for newcomers who might be reading this first, I would recommend you install the Paging For Comments Mod, topic 5830.0 first, and get the code positioned in the details.html template where you want it and then install this MOD afterwards and it is like magic, transforming a scullery maid into cinderella.

Not that I'm inferring V@no is a Fairy Godmother or anything.... :)  He's more like a Titan or PHP God ...

Thanks,

Brian

and now to tackle the display all comments MOD installation.