Previous Thread
Next Thread
Print Thread
Rate Thread
#188740 10/13/2001 11:00 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Most busy sites have forums and threads (at least a few) with many many pages... we really need a modification that will make the links more manageable.

Right now we have something like this:

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 etc etc

We need something similar to:

Page: << < 1 2 3 > >>

or

Page: << < 1 2 3 ... 14 15 > >>

Many forum scripts and other perl scripts have something like this.. it's time for us. smile

Any idea where to start?


- Allen wavey
- What Drives You?
Sponsored Links
#188741 10/13/2001 11:15 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Allen, I don't understand exactly. Do you have a link?

#188742 10/13/2001 11:57 PM
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
#188743 10/14/2001 12:00 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Sure, click here:

http://www.stand318.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=12;t=000170

view that in 800x600 and you'll understand what I mean... the no-wrap on that makes the page stick out way to the right due to there being >45 pages. Doesn't look much better in the forum: http://www.stand318.com/ubbcgi/ultimatebb.cgi?ubb=forum;f=12

Those would be much nicer and not ruin layouts if we used some type of pagination like in the first post:

Page: << < 1 2 3 ... 44 45 46 > >>

The double arrows would bring you the beginning or the end and the single arrow would bring you to the prev or next page. Would apply to super long threads and very busy forums.


- Allen wavey
- What Drives You?
#188744 10/14/2001 12:03 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Oh I gotcha. I like that. I will see what I can come up with.

Sponsored Links
#188745 10/14/2001 12:11 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Hmm, this is going to be just a BIT harder then I thought. smile

#188746 10/14/2001 12:13 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Stupid 404 errors...

[ 10-14-2001: Message edited by: Tech-Ni-Kal ]

#188747 10/14/2001 12:14 AM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
.

[ 10-14-2001: Message edited by: jordo ]

#188748 10/14/2001 12:15 AM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ubb_lib_posting.cgi:
find:
Code
code:
replace with:
Code
code:

not a clue if it works but you get the idea.

#188749 10/14/2001 12:16 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Ok then, looks like jordo got it. tipsy

Sponsored Links
#188750 10/14/2001 12:16 AM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
and the things like this :
number&p=1"><<

are really

number&p=1"> & l t ;& l t ;

minus the spaces
wink

[ 10-14-2001: Message edited by: jordo ]

#188751 10/14/2001 12:24 AM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
Maybe i will install it when my board gets bigger.

#188752 10/14/2001 12:48 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
that's all there is to it? eek

We've talked about this very thing on the beta-testing board for a while now and never made any headways... I'll give it a shot on our test board and see if we break something smile

Does this also work for the forums that have many pages? Some sites might get a couple hundred new threads easily per week in each forum and the pages really stack up...


- Allen wavey
- What Drives You?
#188753 10/14/2001 10:25 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
it works jordo, but not properly, needs cosmetic touchups.

#188754 10/14/2001 10:48 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Jordo, I installed, and it shows 0 and 1. But they are the same thing. laugh I am trying to figure it out. I think it's this line:

$TopicPageTotal .= qq( << );
my $prev_page = $page_number - 1;
$TopicPageTotal .= qq( < );

#188755 10/14/2001 1:02 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
tipsy

#188756 10/14/2001 2:23 PM
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)