Previous Thread
Next Thread
Print Thread
Rate Thread
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.


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: Nov 2001
Posts: 1,080
Member
Member
Offline
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
[/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. smile

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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?


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 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Because the way in which I edit my files may be unorthodox it may not work. smile

Anyway, open public_common.pl and find:

Code
[/code]Then where you see:

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

Sponsored Links
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 "...


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 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 frown ... Can anyone help lol... I'm beginning to loose all hope frown . If I recall, in the topic page there was a " " or something, but not sure about the forum summary smirk.


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 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...Let me take a look again.

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Alright...In ubb_forum.cgi find:

Code
[/code]And where you see the (2 times):

Code
</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... laugh

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
In ubb_lib_posting.cgi find:

Code
[/code]and when you see (2 times):

[code]
Delete. That is the break space after the "new topic" and before the "post reply" buttons.

Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Don't forget to look in the public_topic_page.pl and find (2 places):

Code
[/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..


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 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Anytime. smile


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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
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-2024 VNC Web Services

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