|
Joined: May 1999
Posts: 41
Power User
|
Power User
Joined: May 1999
Posts: 41 |
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  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.
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Ah, but did you write 7.3? I win this round.
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
When did we start talking about 7.3? lol
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I believe it was half way through my post
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
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..
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
maybe ian can remove it from 7.3 :x
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
remove? i'm talking ADD 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.
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
true, he could add to it vd removing it completely
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
And yeh, I added them to the tpl 
|
|
|
|
Joined: May 1999
Posts: 41
Power User
|
Power User
Joined: May 1999
Posts: 41 |
Wow I did not expect replies so fast  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  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 
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
it'd be up to you honestly; but if you look at the pm the time sent is before ian posted  ...
|
|
|
|
Joined: May 1999
Posts: 41
Power User
|
Power User
Joined: May 1999
Posts: 41 |
Ah hmmmm /me looks around for the solution 
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
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: <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..
|
|
|
|
Joined: May 1999
Posts: 41
Power User
|
Power User
Joined: May 1999
Posts: 41 |
I want to thank everyone for their help on this. Its amazing to get such response so fast and quick 
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
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...
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
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:
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
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...
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
Ah hmmmm /me looks around for the solution  ^^ 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.
|
|
|
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
Hence why I said this: 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
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
ok, i took a chill pill.. all is well with the universe  except for......... having to re-add my mods into 7.2 
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|