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: 8
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: 8
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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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: 8
'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 Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
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: 8
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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks