php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#314672 - 07/10/07 10:05 PM Help needed editing showflat.tpl
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
Down at the bottom of a thread you see the links for

Previous Topic Index Next Topic

I believe these are in showflat.tpl but I don't know how to make them do what I want to do.

I would like to wrap those in the same colored box as one that has the page information (Page 1 of 1)

I am completely lost on what to do frown

I would gladly paypal $20 (or give me a price) to a person who can write up the steps to do to this. I really think those links need to be look better then just throw on the page.

The latest beta is looking fine and I just want to improve this as my users complain about these links.
_________________________
www.clickteam.com

Top
#314673 - 07/10/07 11:41 PM Re: Help needed editing showflat.tpl [Re: Flyin V]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
http://www.ianspence.com/forums/ubbthreads.php?ubb=showflat&Number=177547&page=1#Post177547

Look at the bottom of that page and tell me if that's what you want. If so, I'll write up the modification asap, it's quite short
_________________________
Code monkey like Fritos

Top
#314674 - 07/10/07 11:48 PM Re: Help needed editing showflat.tpl [Re: Ian Spence]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314675 - 07/10/07 11:58 PM Re: Help needed editing showflat.tpl [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Ah, but did you write 7.3? I win this round.
_________________________
Code monkey like Fritos

Top
#314676 - 07/11/07 12:00 AM Re: Help needed editing showflat.tpl [Re: Ian Spence]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
When did we start talking about 7.3? lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314677 - 07/11/07 12:11 AM Re: Help needed editing showflat.tpl [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I believe it was half way through my post
_________________________
Code monkey like Fritos

Top
#314678 - 07/11/07 12:13 AM Re: Help needed editing showflat.tpl [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
see no compelling reason to have a naked, unmarked div there.

the div should have an id or class (maybe even share a class with the pager(s)), to at least allow css to kick in, if desired.

with the naked div, you are forced to have to do surgery on the tpl.

bleh..
_________________________

Top
#314679 - 07/11/07 12:14 AM Re: Help needed editing showflat.tpl [Re: sirdude]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
<snicker> maybe ian can remove it from 7.3 :x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314680 - 07/11/07 12:24 AM Re: Help needed editing showflat.tpl [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
remove? i'm talking ADD wink

i'm guessing you prolly added t_standard/tdheader to the tpl, which is almost what i'd want. but having the div identified, opens up descendants for css'ers without affecting those who don't use it.
_________________________

Top
#314681 - 07/11/07 12:32 AM Re: Help needed editing showflat.tpl [Re: sirdude]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
true, he could add to it vd removing it completely
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314682 - 07/11/07 12:34 AM Re: Help needed editing showflat.tpl [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
And yeh, I added them to the tpl wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314683 - 07/11/07 08:21 AM Re: Help needed editing showflat.tpl [Re: Gizmo]
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
Wow I did not expect replies so fast smile

Ian was first to reply but then I know Gizmo has a repuation.
(For good or bad I see his name all over the UBB site)

I do not know who to hire,pay or give thanks to smile

Why would one way be better then the other and why are they different? I don't understand .... Or am I just talking garbage from not understanding frown



_________________________
www.clickteam.com

Top
#314686 - 07/11/07 09:10 PM Re: Help needed editing showflat.tpl [Re: Flyin V]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
it'd be up to you honestly; but if you look at the pm the time sent is before ian posted wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314688 - 07/11/07 09:21 PM Re: Help needed editing showflat.tpl [Re: Gizmo]
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
Ah hmmmm

/me looks around for the solution frown
_________________________
www.clickteam.com

Top
#314689 - 07/11/07 10:35 PM Re: Help needed editing showflat.tpl [Re: Flyin V]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
apologies. i thought they'd sent you a solution. oh well, there are many ways to skin the cat, but here's one:

1. open showflat.tpl
2. replace lines 85-109 with:

Code:
<div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
{if $prevlinkstart}
<td style="padding-right: 4px;">
<table class="t_standard">
<tbody><tr>
<td class="tdheader">
<img style="vertical-align: middle" src="{$config.BASE_URL}/images/{$style_array.general}/previous.gif" alt="{$lang.PREV_THREAD}" border="0" />
{$prevlinkstart}
{if $is_gallery}{$lang.PREV_IMAGE}{else}{$lang.PREV_THREAD}{/if}
{$prevlinkstop}
</td></tr></tbody></table></td>
{/if}

<td style="padding-right: 4px;">
<table class="t_standard">
<tbody><tr>
<td class="tdheader"><img style="vertical-align: middle" src="{$config.BASE_URL}/images/{$style_array.general}/all.gif" alt="{$alttext}" border="0" />
{$currentlinkstart}
{$linktext}
{$currentlinkstop}</td></tr></tbody></table></td>


{if $nextlinkstart}
<td>
<table class="t_standard">
<tbody><tr>
<td class="tdheader">
{$nextlinkstart}
{if $is_gallery}{$lang.NEXT_IMAGE}{else}{$lang.NEXT_THREAD}{/if}
{$nextlinkstop}
<img style="vertical-align: middle" src="{$config.BASE_URL}/images/{$style_array.general}/next.gif" alt="{$lang.NEXT_THREAD}" border="0" />
</td></tr></tbody></table></td>
{/if}
</tr></tbody></table>
</div>


adjust the padding-right value for your tastes as to button spacing.

ps: i editted the latest 7.2 beta.. dunno which version you are referring to, but they are close..
_________________________

Top
#314692 - 07/12/07 06:25 PM Re: Help needed editing showflat.tpl [Re: sirdude]
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
I want to thank everyone for their help on this.
Its amazing to get such response so fast and quick smile
_________________________
www.clickteam.com

Top
#314693 - 07/12/07 08:00 PM Re: Help needed editing showflat.tpl [Re: Flyin V]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
usually when everyone notices someone else is working on a solution they leave it be; guess I should have posted that I was pm'ing you lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314694 - 07/12/07 08:05 PM Re: Help needed editing showflat.tpl [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
yah you should have.

you couldn't even tell someone was really 'working on it'. it was just back forth .. and as far as i see, why not post it publicly anyway, so others can benefit?

:shrug:
_________________________

Top
#314695 - 07/12/07 09:11 PM Re: Help needed editing showflat.tpl [Re: sirdude]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
Because, if doing work for a potential client (as funding was offered), publicly posting code without their permission is a gross slap in the face...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314698 - 07/12/07 10:53 PM Re: Help needed editing showflat.tpl [Re: Flyin V]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
Originally Posted By: Flyin V
Ah hmmmm

/me looks around for the solution frown


^^ kinda indicated he was still looking, so i posted my version of the template change for free. i wasn't looking for funding.

if you had an arrangement between the time of his post and my response to him right after that, then that's some serious timing and i'll hand it to you. and he would have paid for YOUR solution anyway and not the free one.

topic shoulda been closed or an indicator of 'it is handled' would be nice too.
_________________________

Top
Page 1 of 2 1 2 >


Who's Online
0 registered (), 21 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 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
Truth, David DelMonte, nick1, Begbie, cenk
13364 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