Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 41
Power User
Power User
Offline
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 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.

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ah, but did you write 7.3? I win this round.

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
When did we start talking about 7.3? lol


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I believe it was half way through my post

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
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,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
maybe ian can remove it from 7.3 :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
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.

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
true, he could add to it vd removing it completely


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
And yeh, I added them to the tpl wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 1999
Posts: 41
Power User
Power User
Offline
Joined: May 1999
Posts: 41
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




Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
it'd be up to you honestly; but if you look at the pm the time sent is before ian posted wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 1999
Posts: 41
Power User
Power User
Offline
Joined: May 1999
Posts: 41
Ah hmmmm

/me looks around for the solution frown

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
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:

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..

Joined: May 1999
Posts: 41
Power User
Power User
Offline
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 smile

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
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,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
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.

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,570
Posts293,915
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221129)