php forum
php mysql forum
php mysql smarty
 
Topic Options
#316662 - 01/28/08 05:53 PM 1, 2, 3, 4, 5 > Want to replace the > link w. butt
Robje01 Offline
Lurker

Registered: 01/19/08
Posts: 4
On top of the site it show the amount of pages, that's great ofcourse, but can i replace the ">" with a user defied button?

I mean this:


Change to:


Robje01

Top
#316663 - 01/28/08 05:55 PM Re: 1, 2, 3, 4, 5 > Want to replace the > link w. butt [Re: Robje01]
Robje01 Offline
Lurker

Registered: 01/19/08
Posts: 4
Or if that's not possible maybe change the text ">" with "Next Page" ?

Top
#316665 - 01/28/08 07:23 PM Re: 1, 2, 3, 4, 5 > Want to replace the > link w. butt [Re: Robje01]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
I believe that < and > should be their own language file definitions; so it should just be a matter of finding them and changing them.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#316670 - 01/29/08 11:45 AM Re: 1, 2, 3, 4, 5 > Want to replace the > link w. butt [Re: Gizmo]
Robje01 Offline
Lurker

Registered: 01/19/08
Posts: 4
've been looking thourgh the language files, but didn't dind anything frown
Does anyone has an idea where to look for it?

Rob

Top
#316672 - 01/31/08 11:41 AM Re: 1, 2, 3, 4, 5 > Want to replace the > link w. butt [Re: Robje01]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
I imagine it's in the actual template file/sub that writes the pagination code. I don't *think* there's a language translation for > or < so it's most likely hard-coded.
_________________________
- Allen wavey
- What Drives You?

Top
#316676 - 01/31/08 01:48 PM Re: 1, 2, 3, 4, 5 > Want to replace the > link w. butt [Re: Robje01]
Robje01 Offline
Lurker

Registered: 01/19/08
Posts: 4
Pfffffffffffff, found it.
/libs/ubbthreads.inc.php
Line 1499 contains:
$page_html .= "<td class=\"alt-1\"><a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}{$url}$printer\">></a></td>";
Replace the bolded > by Next page and voila..

Rob

Top


Moderator:  sirdude 
Who's Online
0 registered (), 27 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks