vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   pesky smilies space? (https://vborg.vbsupport.ru/showthread.php?t=36023)

TECK 03-12-2002 01:59 AM

pesky smilies space?
 
1 Attachment(s)
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.

Admin 03-12-2002 04:17 AM

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.

TECK 03-12-2002 04:26 AM

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>

Admin 03-12-2002 09:22 AM

I think I know how to fix this... I think, not sure.

Freddie Bingham 03-12-2002 02:06 PM

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 :)

Admin 03-12-2002 02:11 PM

Yeah that, replace that with this:
PHP Code:

            $smiliebits .= "<td>".$smilieArray[$count++].iif($smcolumns==$j+1"""&nbsp;")."</td>\n"


TECK 03-12-2002 03:26 PM

thank you thank you thank you..... :D
freddie, pm me about the "nicer" thing.. curious.. i'm always nice to people..

Xube 09-13-2003 02:58 AM

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.

Xube 09-17-2003 06:28 PM

Anybody? :(


All times are GMT. The time now is 09:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01067 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete