Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
pesky smilies space? Details »»
pesky smilies space?
Version: , by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-12-2002 Last Update: Never Installs: 0
 
No support by the author.

i cant seem to find the answer. i looked everywhere.
i want to remove that space in between smilies.. and i cant see it. is in a .php script, not in templates. anyone not as lazy as me that could answer to this?

here, at vB.org, you see that space even better when you post a reply or a new thread. it bugs me!!! hehe..
a picture is worth 1000 words? there you go...

btw, thanks for taking the time to read this post.

Download Now

File Type: (21.4 KB, 40 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-12-2002, 04:17 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't think you can remove that, it's just part of the table. Try making the cellpadding/spacing (whatever it's called) lower in the template of these smilies.
Reply With Quote
  #3  
Old 03-12-2002, 04:26 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i look at the html code, there is a [high]& nbsp;[/high] html code added there. is gotta be somewhere firefly. i looked all over the places, i could not find it.
here it is the code here at vB.org:
Code:
<td><a href="javascript:smilie(':sleep:')"><img src="images/newsm/sleeping.gif" alt="Sleeping" border="0"></a>& nbsp;</td>
Reply With Quote
  #4  
Old 03-12-2002, 09:22 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I know how to fix this... I think, not sure.
Reply With Quote
  #5  
Old 03-12-2002, 02:06 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eh? It's in the getclickysmilies() function in functions.php
PHP Code:
$smiliebits .= "<td>".$smilieArray[$count++]."&nbsp;</td>\n"
change it to
PHP Code:
                    $space iif($j==($smcolumns-1), '''&nbsp;');                    
                    
$smiliebits .= "<td>".$smilieArray[$count++]."$space</td>\n"
Now be nicer to the others who ask for help
Reply With Quote
  #6  
Old 03-12-2002, 02:11 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that, replace that with this:
PHP Code:
            $smiliebits .= "<td>".$smilieArray[$count++].iif($smcolumns==$j+1"""&nbsp;")."</td>\n"
Reply With Quote
  #7  
Old 03-12-2002, 03:26 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you thank you thank you.....
freddie, pm me about the "nicer" thing.. curious.. i'm always nice to people..
Reply With Quote
  #8  
Old 09-13-2003, 02:58 AM
Xube's Avatar
Xube Xube is offline
 
Join Date: Nov 2001
Location: private
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'd likd to do something similar only my problem is the clickable smilies display with NO space preceding their insertion. In other words

test text space after the smilie but not before it.


I tried doing this:

"&nbsp; <td>".$smilieArray

IE: inserting an &nbsp; in front of the <td> bracket similar to the way the actual code has an &nbsp; next to the </td> but unfortunately I didn't get the results I was looking for.

What code do I have to insert so that when a user clicks on a clickable smilie that the smilie is posted into the thread with a space IN FRONT OF the smilie (there by seperating it from the word preceding it). I'm hoping this will be something basic & simple. Thanks.
Reply With Quote
  #9  
Old 09-17-2003, 06:28 PM
Xube's Avatar
Xube Xube is offline
 
Join Date: Nov 2001
Location: private
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04554 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete