|
Page 1 of 2
|
Press 22 
Joined: June 2007
Posts: 101
Location:
|
 [SOLVED] Vertical Sig Spacing
How do I make the spacing between them go away so that they look like one image?
____________ Running two Icy forums on one server
Last edited by Press 22 on Mon 19 May, 2008 02:39; edited 2 times in total |
#1 Mon 05 May, 2008 05:46 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Inactive User
|
 Re: Sig Spacing
Use a graphics editor and make them one image.
|
#2 Mon 05 May, 2008 10:48 |
|
Chaotic 
Joined: January 2008
Posts: 1369
Location:  Georgia
|
 Re: Sig Spacing
^ LOL
I'd like to know how to do this as well. It looks a lot cleaner when looking at people's sigs.
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#3 Mon 05 May, 2008 11:58 |
|
Inactive User
|
 Re: Sig Spacing
Does this help?
|
#4 Mon 05 May, 2008 12:43 |
|
Press 22 
Joined: June 2007
Posts: 101
Location:
|
 Re: Sig Spacing
LOL Lopalong.
but no its just the spacing i need figured out, a lot of my members have asked to fix it.
____________ Running two Icy forums on one server
|
#5 Mon 05 May, 2008 14:43 |
|
hal9000 
Joined: March 2007
Posts: 123
Location:
|
 Re: Sig Spacing
If you don't mean what Lopalong did, I don't get what you mean...
|
#6 Mon 05 May, 2008 15:29 |
|
hal9000 
Joined: March 2007
Posts: 123
Location:
|
 Re: Sig Spacing
Oh... you mean the vertical spacing. Well you can do the following.
- #
- #-----[ OPEN ]------------------------------------------
- #
-
- includes/bbcode.php
-
- #
- #-----[ FIND ]------------------------------------------
- #
-
- var $self_closing_tags = array('[*]', '[hr]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#overview]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#requirements]Readme[/url]', '[url=docs/readme_english.html#fresh_installation]Readme[/url]', '[url=docs/readme_english.html#upgrade_phpbb]Readme[/url]', '[url=docs/readme_english.html#upgrade_phpbb]Readme[/url]', '[url=docs/readme_english.html#upgrade_xs]Readme[/url]', '[url=docs/readme_english.html#upgrade_ip]Readme[/url]');
-
- #
- #-----[ REPLACE WITH ]------------------------------------------
- #
-
- var $self_closing_tags = array('[*]', '[hr]', '[br]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#overview]Readme[/url]', '[url=docs/readme_english.html#license]Readme[/url]', '[url=docs/readme_english.html#requirements]Readme[/url]', '[url=docs/readme_english.html#fresh_installation]Readme[/url]', '[url=docs/readme_english.html#upgrade_phpbb]Readme[/url]', '[url=docs/readme_english.html#upgrade_phpbb]Readme[/url]', '[url=docs/readme_english.html#upgrade_xs]Readme[/url]', '[url=docs/readme_english.html#upgrade_ip]Readme[/url]');
-
- #
- #-----[ FIND ]------------------------------------------
- #
-
- 'hr' => array(
- 'nested' => true,
- 'inurl' => true,
- 'allow_empty' => true,
- ),
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
-
- 'br' => array(
- 'nested' => true,
- 'inurl' => true,
- 'allow_empty' => true,
- ),
-
- #
- #-----[ FIND ]------------------------------------------
- #
-
- 'hr' => array(
- 'nested' => true,
- 'inurl' => true,
- 'allow_empty' => false,
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
-
- 'br' => array(
- 'nested' => true,
- 'inurl' => true,
- 'allow_empty' => false,
- ),
-
- #
- #-----[ FIND ]------------------------------------------
- #
-
- // Single tags: HR
- if($tag === 'hr')
- {
- if($this->is_sig)
- {
- return $error;
- }
- $extras = $this->allow_styling ? array('style', 'class') : array();
- if(isset($item['params']['param']))
- {
- $color = $item['params']['param'];
- }
- elseif(isset($item['params']['color']))
- {
- $color = $item['params']['color'];
- }
- $color = $this->valid_color($color);
- if($color === false)
- {
- $html = '<' . $tag . ' />';
- }
- else
- {
- $html = '<' . $tag . ' color="' . $color . '" />';
- }
- return array(
- 'valid' => true,
- 'html' => $html
- );
- }
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
-
- // Single tags: BR
- if($tag === 'br')
- {
- if($this->is_sig)
- {
- return $error;
- }
- $html = '<br />';
- return array(
- 'valid' => true,
- 'html' => $html
- );
- }
Now you can make the two images appear together this way:
- [img]image1.jpg[/img][br][img]image2.jpg[/img]
|
#7 Mon 05 May, 2008 16:38 |
|
andrea75 
Joined: August 2006
Posts: 379
Location:  Perugia
|
 Re: Sig Spacing
Press 22, try to use this code
[img align=left]1.png[/img][img]1.png[/img]
This should work as you can see:

____________ My Icy forum: www.lineameteo.it
Staff Member @ IcyPhoenix.com & IcyPhoenix.it
|
#8 Mon 05 May, 2008 17:56 |
|
hal9000 
Joined: March 2007
Posts: 123
Location:
|
 Re: Sig Spacing
Good point, Andrea75. I thought of it but didn't try because I started thinking in a more generic way and I guess that using "align" will not work if you want to have the images centered, or if you want to add text beside it without wrapping arround. May be I'm wrong, because I have not tried, I'm only speaking about what I think it would happen in these cases.
|
#10 Mon 05 May, 2008 18:52 |
|
andrea75 
Joined: August 2006
Posts: 379
Location:  Perugia
|
 Re: Sig Spacing
Good point, Andrea75. I thought of it but didn't try because I started thinking in a more generic way and I guess that using "align" will not work if you want to have the images centered, or if you want to add text beside it without wrapping arround. May be I'm wrong, because I have not tried, I'm only speaking about what I think it would happen in these cases.
Say thanks to MG, that suggest me this solution...
____________ My Icy forum: www.lineameteo.it
Staff Member @ IcyPhoenix.com & IcyPhoenix.it
|
#11 Mon 05 May, 2008 19:17 |
|
hal9000 
Joined: March 2007
Posts: 123
Location:
|
 Re: Sig Spacing
Good point, Andrea75. I thought of it but didn't try because I started thinking in a more generic way and I guess that using "align" will not work if you want to have the images centered, or if you want to add text beside it without wrapping arround. May be I'm wrong, because I have not tried, I'm only speaking about what I think it would happen in these cases.
Say thanks to MG, that suggest me this solution... 
Yes... it seems like he is not willing to edit more code than he already edit for other reasons.
|
#12 Mon 05 May, 2008 19:31 |
|
Press 22 
Joined: June 2007
Posts: 101
Location:
|
 Re: Sig Spacing
Thanks
____________ Running two Icy forums on one server
|
#13 Mon 05 May, 2008 23:26 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Sig Spacing
Yes... it seems like he is not willing to edit more code than he already edit for other reasons. 
Yes... even because there are many hidden features in BBCode which may helps to achieve what needed without coding other specifics things.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#14 Sun 18 May, 2008 21:59 |
|
hal9000 
Joined: March 2007
Posts: 123
Location:
|
 Re: Sig Spacing
xDD
Yes, I'm sure. But would the solution you suggested to andrea75 work for centered images?
|
#15 Sun 18 May, 2008 22:35 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|