NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 06-21-2006 01:28:56

rainbow
Member

Previous/Next URL links in other oekaki areas...

I need help here. How can I get other areas of my oekaki (Nember List, Edit Pictures, Edit Comments, Picture Recovery, Delete Pictures, Delete Comments and Chatbox) to display PREV (previous) and NEXT URL links leading to the previous or next pages of the oekaki cutting the display of the number of pages so that that section of that page won't be filled with loads of page numbers? Here is a example below with the examples:

Member List

Before: Move to page: - [1] - [2] - [3] - [4]

After: <<PREV · [1] [2] [3] [4] · NEXT>>

Edit Pictures

Before: Move to page: - [1]

After: <<PREV · [1] · NEXT>>


Edit Comments

Before: Move to page: - [1] - [2] - [3] - [4] - [5] - [6] - [7]

After: <<PREV · [1] [2] [3] [4] [5] [6] [7] · NEXT>>


Picture Recovery

Before: Move to page: - [1]

After: <<PREV · [1] · NEXT>>


Delete Pictures

Before: Move to page: - [1] - [2] - [3] - [4] - [5] - [6] - [7] - [8]

After: <<PREV · [1] [2] [3] [4] [5] [6] ... [8] · NEXT>>


Delete Comments

Before: Move to page: - [1] - [2] - [3] - [4] - [5] - [6] - [7] - [8] - [9] - [10] - [11] - [12] - [13] - [14] - [15] - [16] - [17]

After: <<PREV · [1] [2] [3] [4] [5] [6] ... [17] · NEXT>>


Chatbox

Before: Move to page: - [1] - [2]

After: <<PREV · [1] [2] · NEXT>>

What code would I need to change in order to make it properly work?

Offline

#2 06-22-2006 04:39:43

Waccoon
Administrator

Re: Previous/Next URL links in other oekaki areas...

It's a lot of copy/paste gruntwork, and I haven't gotten around to it, yet.

The index page for Wax 5.5.9 uses a new function call, "quick_page_numbers()", which replaces the messy page number loops throughout the rest of the board.  Technically, you can just copy the "quick_page_numbers()" function call to each page that needs page numbers... with one catch: you need to set the "$pages_link" variable, if required.  This is needed, for example, search queries, like on the memberlist.

This is on my to-do list for 5.5.10, along with porting some other Wacintaki features to Wax.

Offline

#3 06-22-2006 04:43:13

Waccoon
Administrator

Re: Previous/Next URL links in other oekaki areas...

BTW, are there any [simple] Wacintaki features people would most like to see in Wax?  I'd just like to prioritize a bit.

Offline

#4 06-22-2006 12:47:03

Maxx
Member

Re: Previous/Next URL links in other oekaki areas...

A blinking Mailbox would be nice smile

Offline

#5 06-22-2006 17:24:48

rainbow
Member

Re: Previous/Next URL links in other oekaki areas...

Maxx wrote:

A blinking Mailbox would be nice smile

Yeah! big_smile

Page numbering (with previous and next URL links) in mailboxes and the View Pending lists would be nice as well! (:

I can't wait for version 5.5.10 to come out. big_smile

Offline

#6 06-22-2006 17:36:38

rainbow
Member

Re: Previous/Next URL links in other oekaki areas...

Waccoon wrote:

It's a lot of copy/paste gruntwork, and I haven't gotten around to it, yet.

The index page for Wax 5.5.9 uses a new function call, "quick_page_numbers()", which replaces the messy page number loops throughout the rest of the board.  Technically, you can just copy the "quick_page_numbers()" function call to each page that needs page numbers... with one catch: you need to set the "$pages_link" variable, if required.  This is needed, for example, search queries, like on the memberlist.

This is on my to-do list for 5.5.10, along with porting some other Wacintaki features to Wax.

Yeah, but I find this too complicated though. Can the page numbering with PREV and NEXT URL links be imported from the Wacintaki OP? I was hoping that it's included in the chatbox as well.

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB