|
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 . 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 gizmo[at]undergroundnews[dot]com
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
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.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Just to elaborate on what Tony said... public_topic_page.pl, find: code:
$topic_wording $poll_link $reply_wording
Replace with: code: [qb]$topic_wording$poll_link$reply_wording [/qb] Reupload, clear cache.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
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)
|
|
|
|
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?
|
|
|
|
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 , 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
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thats strange, it should work.
Do you have any background on your images?
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Have you cleared your UBB's cache?
|
|
|
|
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.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'm stupid. I also forgot to check out ubb_lib_posting.cgi; find: 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] $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
|
|
|
|
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!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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.
|
|
|
|
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.
|
|
|
|
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 .
|
|
|
|
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
public_common.pl: 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] 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]
|
|
|
|
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 . As always you are my hero ..
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|