|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
As you can see at my test board i'm having some problems with the spacing between the graphics. Please see examples below:
http://www.promodtecnologies.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum;f=1
and
http://www.promodtecnologies.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic;f=1;t=000002
I'm also looking to remove the spacing below the images under "All times are Pacific".
I'm doing this on 6.4, I'm looking for any help that anyone can lend me.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...I forgot exactly what I did with the "topic", "reply" and "poll" buttons although in the public_topic_page.pl find: [/code]and where you see the [code] delete. Those are the "no break space". I don't think you need to edit the ubb_lib_posting.cgi file unless you want to remove the spaces between the other buttons such as "edit", "direct reply", "homepage" and so forth. I'm not sure what graphics are you referring to that's under the "All Times are Pacific"? Anyway, I hope this is what you were looking for.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Ahh...I forgot. If you are using the default settings of $TBT you will find that the "cellpadding" is set to 3. If your padding is anything but 0 you will automatically create space between your buttons unless they are inside their own inner table with no cellpadding.
I think despite taking out the [code][/code]in your "topic" and "poll" buttons in public_forum_page.pl you may still get a space.
On my board I run about 4 - 6 different $TBT settings, although all of them have 0 cellpadding. I don't know if that made sense...LOL.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Ok, I replaced both of those yet I still have the spaces, do you know which cellpadding i'd have to set to 0, or possibly something i'm missing?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Because the way in which I edit my files may be unorthodox it may not work. Anyway, open public_common.pl and find: [/code]Then where you see:
</pre></div></div>and<br><br> [code] change both to "cellpadding="0". If that doesn't work then I'm missing a file...Possibly the ubb_lib_posting.cgi file.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Wouldn't that be:
[code][/code]since you'd be missing a closing "...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Well, with using that last mod I still have the spaces ... Can anyone help lol... I'm beginning to loose all hope . If I recall, in the topic page there was a " " or something, but not sure about the forum summary .
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...Let me take a look again.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Alright...In ubb_forum.cgi find: [/code]And where you see the (2 times):
</pre></div></div>delete. <br><br>I don't know if this will make a difference but go to public_forum_page.pl and find (2 times):<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> and close the gap between the codes like:
[code] That may help with the public_forum_page.pl. I think...
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
In ubb_lib_posting.cgi find: [/code]and when you see (2 times):
[code] Delete. That is the break space after the "new topic" and before the "post reply" buttons.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Don't forget to look in the public_topic_page.pl and find (2 places): [/code]And delete all the:
[code] My last 3 posts should have covered your public_forum_page.pl and public_topic_page.pl files. I think. LOL.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Oh my goodness, it works! If I wasn't straight I could kiss you :x... Thanks PrimeTime for putting up wiht me :x..
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Anytime.
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|