Previous Thread
Next Thread
Print Thread
Rate Thread
#107349 08/16/2002 9:18 PM
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
I am running the Cosmetic Links modification on my forums. I have everything setup perfectly only my "New Topic" "Post Reply" and "Post A Poll" images have spaces and don't really tie into my cosmetic links.

My question is how do I remove the two spaces inbetween the images? I'm woundering this for mainly the top row (top of board) and possibly the spaces for under the "All times are Pacific Time" text.

See the example of my layout Here .

I think that it'd make the design look better if I could get this done smile .

I'm also woundering if anyone knows how to remove the two spaces in the "Instant UBB Code" window between images.

Any help will be very appreciated.
Gizzy
[email protected]


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
#107350 08/17/2002 3:21 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Remove any between the variable codes in public_topic_page.pl to get rid of spaces inbetween the Topic, Reply and poll buttons.

#107351 08/17/2002 3:41 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Just to elaborate on what Tony said...

public_topic_page.pl, find:

Quote
code:
Code
$topic_wording $poll_link $reply_wording

Replace with:

code:
[qb]
Code
$topic_wording$poll_link$reply_wording
[/qb]
Reupload, clear cache. smile

#107352 08/17/2002 6:51 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Heh sorry with the akward space in my last post. It was supposed to be a & nbsp; (No space)

#107353 08/17/2002 9:03 PM
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
Thanks guys... Any ideas on the bold and italic set of buttons?


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
#107354 08/17/2002 9:08 PM
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
I did that "mod" yet I still have a single space frown , any ideas?

$topic_wording$poll_link$reply_wording

example: http://www.undergroundnews.com/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=18;t=000155


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
#107355 08/18/2002 4:40 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Thats strange, it should work.

Do you have any background on your images?

#107356 08/18/2002 4:52 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Have you cleared your UBB's cache?

#107357 08/18/2002 5:25 AM
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
The cache is cleared, there are two (2) spaces between the images, with the mod sugguested it removes one (1) of the spaces...

There is no background to the images as you can see compaired to the others.


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
#107358 08/18/2002 5:35 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
I'm stupid. wink

I also forgot to check out ubb_lib_posting.cgi; find:

Quote
code:
Code
			$poll_link = qq! <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=poll;d=create;f=$in{f}"><img src="$vars_config{NonCGIURL}/$vars_style{BBPoll}" alt="$vars_wordlets_poll{new_poll}" border="0" /></a> !;

Replace with:

code:
[qb]
Code
			$poll_link = qq!<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=poll;d=create;f=$in{f}"><img src="$vars_config{NonCGIURL}/$vars_style{BBPoll}" alt="$vars_wordlets_poll{new_poll}" border="0" /></a>!;
[/qb]
Clear cache, and hopefully all should be working smile

Sponsored Links
#107359 08/18/2002 6:06 AM
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
CGIPath/ubb_lib_posting.cgi: syntax error at CGIPath/ubb_lib_posting.cgi line 986, near " "
Unmatched right curly bracket at CGIPath/ubb_lib_posting.cgi line 1454, at end of line
syntax error at CGIPath/ubb_lib_posting.cgi line 1454, near "}"

Please inform the board administration of this error so that they may fix the problem. Thank you!


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
#107360 08/18/2002 7:54 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Gizzy, you made a mistake - rehack from backup file.

Also, your sig image is huge - please make it max 150x50.

#107361 08/18/2002 5:34 PM
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
How did I make a "mistake" I edited the file EXACTLY how he had stated.

And I'll edit the image momentarily.


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
#107362 08/18/2002 5:45 PM
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
::hits head:: now it starts working lol...

Anyone have any ideas on the images from the topic summary for the images? shouldn't be too hard i don't think frown .


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
#107363 08/19/2002 12:49 AM
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 have the topic summary done via ubb_forum.cgi but I'm still curious about the "Instant UBB Code" section.


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
#107364 08/19/2002 3:17 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
public_common.pl:
Quote
code:
Code
	my $ubb_code_buttons = qq~
<a href="javascript: x()" onclick="DoPrompt('url');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_url}" border="0" alt="$vars_wordlets_img{ubb_code_url}" /></a>
 
<a href="javascript: x()" onclick="DoPrompt('email');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_email_url}" border="0" alt="$vars_wordlets_img{ubb_code_email}" /></a>


<a href="javascript: x()" onclick="DoPrompt('bold');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_bold}" border="0" alt="$vars_wordlets_img{ubb_code_bold}" /></a>
 
<a href="javascript: x()" onclick="DoPrompt('italics');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_italics}" border="0" alt="$vars_wordlets_img{ubb_code_italics}" /></a>


<a href="javascript: x()" onclick="DoPrompt('quote');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_ubb_quote}" border="0" alt="$vars_wordlets_img{ubb_code_quote}" /></a>
 
<a href="javascript: x()" onclick="DoPrompt('code');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_code}" border="0" alt="$vars_wordlets_img{ubb_code_code}" /></a>


<a href="javascript: x()" onclick="DoPrompt('liststart');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_start}" border="0" alt="$vars_wordlets_img{ubb_code_list_start}" /></a>
 
<a href="javascript: x()" onclick="DoPrompt('listitem');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_item}" border="0" alt="$vars_wordlets_img{ubb_code_list_item}" /></a>


<a href="javascript: x()" onclick="DoPrompt('listend');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_end}" border="0" alt="$vars_wordlets_img{ubb_code_list_end}" /></a>
 
~;

Try to replace that code with:
code:
[qb]
Code
	my $ubb_code_buttons = qq~
<a href="javascript: x()" onclick="DoPrompt('url');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_url}" border="0" alt="$vars_wordlets_img{ubb_code_url}" /></a><a href="javascript: x()" onclick="DoPrompt('email');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_email_url}" border="0" alt="$vars_wordlets_img{ubb_code_email}" /></a>


<a href="javascript: x()" onclick="DoPrompt('bold');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_bold}" border="0" alt="$vars_wordlets_img{ubb_code_bold}" /></a><a href="javascript: x()" onclick="DoPrompt('italics');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_italics}" border="0" alt="$vars_wordlets_img{ubb_code_italics}" /></a>


<a href="javascript: x()" onclick="DoPrompt('quote');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_ubb_quote}" border="0" alt="$vars_wordlets_img{ubb_code_quote}" /></a><a href="javascript: x()" onclick="DoPrompt('code');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_code}" border="0" alt="$vars_wordlets_img{ubb_code_code}" /></a>


<a href="javascript: x()" onclick="DoPrompt('liststart');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_start}" border="0" alt="$vars_wordlets_img{ubb_code_list_start}" /></a><a href="javascript: x()" onclick="DoPrompt('listitem');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_item}" border="0" alt="$vars_wordlets_img{ubb_code_list_item}" /></a>


<a href="javascript: x()" onclick="DoPrompt('listend');"><img src="$vars_config{NonCGIURL}/$vars_style{ubbcode_list_end}" border="0" alt="$vars_wordlets_img{ubb_code_list_end}" /></a>~;
[/qb]

#107365 08/19/2002 3:30 AM
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
Thank you LK, I'll give it a go tonight smile . As always you are my hero 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

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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)