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

   Help needed editing showflat.tpl to Del.icio.us Add to del.icio.us
  Digg Help needed editing showflat.tpl Digg it
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: 5119
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: 5119
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: 439
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..
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

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: 5119
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: 439
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.
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

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: 5119
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: 5119
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: 5119
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: 439
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..
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

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: 5119
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: 439
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:
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

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: 5119
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: 439
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.
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

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

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Hence why I said this:
Originally Posted By: Gizmo
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...
above lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

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

Registered: 11/08/03
Posts: 439
Loc: SoCal
ok, i took a chill pill.. all is well with the universe wink





except for.........

having to re-add my mods into 7.2 frown
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
Page 1 of 2 1 2 >


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
0 Registered (), 21 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users