Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post [SOLVED] Vertical Sig Spacing 
 
untitled_2

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 
Press 22Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Use a graphics editor and make them one image.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Does this help?    


 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
Press 22Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
If you don't mean what Lopalong did, I don't get what you mean...
 



 
hal9000Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Oh... you mean the vertical spacing. Well you can do the following.

Code: [Download] [Hide]
  1. #    
  2. #-----[ OPEN ]------------------------------------------    
  3. #    
  4.  
  5. includes/bbcode.php  
  6.  
  7. #    
  8. #-----[ FIND ]------------------------------------------    
  9. #  
  10.  
  11.     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]');  
  12.  
  13. #    
  14. #-----[ REPLACE WITH ]------------------------------------------    
  15. #  
  16.  
  17.     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]');  
  18.  
  19. #    
  20. #-----[ FIND ]------------------------------------------    
  21. #  
  22.  
  23.             'hr' => array(  
  24.                     'nested' => true,  
  25.                     'inurl' => true,  
  26.                     'allow_empty' => true,  
  27.                     ),  
  28.  
  29. #    
  30. #-----[ AFTER, ADD ]------------------------------------------    
  31. #    
  32.  
  33.             'br' => array(  
  34.                     'nested' => true,  
  35.                     'inurl' => true,  
  36.                     'allow_empty' => true,  
  37.                     ),  
  38.  
  39. #    
  40. #-----[ FIND ]------------------------------------------    
  41. #  
  42.  
  43.             'hr' => array(  
  44.                     'nested' => true,  
  45.                     'inurl' => true,  
  46.                     'allow_empty' => false,  
  47.  
  48. #    
  49. #-----[ AFTER, ADD ]------------------------------------------    
  50. #    
  51.  
  52.             'br' => array(  
  53.                     'nested' => true,  
  54.                     'inurl' => true,  
  55.                     'allow_empty' => false,  
  56.                     ),  
  57.  
  58. #    
  59. #-----[ FIND ]------------------------------------------    
  60. #  
  61.  
  62.         // Single tags: HR  
  63.         if($tag === 'hr')  
  64.         {  
  65.             if($this->is_sig)  
  66.             {  
  67.                 return $error;  
  68.             }  
  69.             $extras = $this->allow_styling ? array('style', 'class') : array();  
  70.             if(isset($item['params']['param']))  
  71.             {  
  72.                 $color = $item['params']['param'];  
  73.             }  
  74.             elseif(isset($item['params']['color']))  
  75.             {  
  76.                 $color = $item['params']['color'];  
  77.             }  
  78.             $color = $this->valid_color($color);  
  79.             if($color === false)  
  80.             {  
  81.                 $html = '<' . $tag . ' />';  
  82.             }  
  83.             else  
  84.             {  
  85.                 $html = '<' . $tag . ' color="' . $color . '" />';  
  86.             }  
  87.             return array(  
  88.                 'valid' => true,  
  89.                 'html' => $html  
  90.             );  
  91.         }  
  92.  
  93. #    
  94. #-----[ AFTER, ADD ]------------------------------------------    
  95. #    
  96.  
  97.         // Single tags: BR  
  98.         if($tag === 'br')  
  99.         {  
  100.             if($this->is_sig)  
  101.             {  
  102.                 return $error;  
  103.             }  
  104.             $html = '<br />';              
  105.             return array(  
  106.                 'valid' => true,  
  107.                 'html' => $html  
  108.             );  
  109.         } 


Now you can make the two images appear together this way:
Code: [Download] [Hide]
  1. [img]image1.jpg[/img][br][img]image2.jpg[/img] 

 



 
hal9000Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Press 22, try to use this code

Code: [Download] [Hide] [Select]
[img align=left]1.png[/img][img]1.png[/img]


This should work as you can see:

127871573345a11f61c2e49127871573345a11f61c2e49
 




____________
My Icy forum: www.lineameteo.it
Staff Member @ IcyPhoenix.com & IcyPhoenix.it
 
andrea75Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Another example:

Code: [Download] [Hide] [Select]
[img]1.png[/img][img align=left]1.png[/img]


127871573345a11f61c2e49127871573345a11f61c2e49
 




____________
My Icy forum: www.lineameteo.it
Staff Member @ IcyPhoenix.com & IcyPhoenix.it
 
andrea75Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
hal9000Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
hal9000 wrote: [View Post]
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
 
andrea75Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
andrea75 wrote: [View Post]
hal9000 wrote: [View Post]
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.
 



 
hal9000Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
Thanks
 




____________
Running two Icy forums on one server
 
Press 22Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
hal9000 wrote: [View Post]
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
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sig Spacing 
 
xDD

Yes, I'm sure. But would the solution you suggested  to andrea75 work for centered images?
 



 
hal9000Send private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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