vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Move smilies to below text area (and optionally add to Quick Reply) (https://vborg.vbsupport.ru/showthread.php?t=229650)

hqlman 07-05-2010 09:40 AM

Thanks for this great mod, ive installed it buy is there a way to have more smileys on one line?


Ezswo 08-03-2010 11:04 AM

Quote:

Originally Posted by hIBEES (Post 2056229)
ah, has 4.0.4 changed the template for editor.css?

I searched for the code in OP

Code:

width:20px;
 height:21px;
    margin:2px;

It appears its been changed to this.....

Code:

.editor_smiliebox ul.smiliebox li {
        float:{vb:stylevar left};
        height:{vb:stylevar editor_smiliebox_smiliesize};
        width:{vb:stylevar editor_smiliebox_smiliesize};
        margin:2px;
        overflow:hidden;
        position:relative;
        text-align:center;
}

Now after some thought I changed the editor_smiliebox_smiliesize to a bigger size in the stylevars and after mucking about with various sizes in editor2.css I've got a good layout (see attachment) :)

All I'll need to do now is change the editor_smiliebox_smiliesize in all my other styles and copy the editor2.css from my working good layout to all the others.

Just for info to maybe help others :)

I've not been able to get this to work. I can't seem to get the width of the box correct. Can you show me your editor2.css file so I can get a clue as to what I'm doing wrong with this? Thanks!

EDIT: Never mind, finally worked it out with some help in this post:
https://vborg.vbsupport.ru/showpost....57&postcount=6

fxwoody 08-09-2010 10:56 PM

1 Attachment(s)
Well after playing and playing around this, i ended up with the perfect combination for my place!

This is my setup from the "stylevars", "template editor" and "Message Posting Interface Options".

PHP Code:

******SMILIES BELOW**********
 
USERCP_SHELL

HTML Code
:
</
head>

Add directly above it:
HTML Code:
{
vb:raw headinclude_bottom}

********************************

Adjust Stylevars :editor-smiliebox-smiliesize to 55px

+++++++++editor.CSS++++++++++

.
editor_smiliebox ul.smiliebox li {
    
float:{vb:stylevar left};
    
height:{vb:stylevar editor_smiliebox_smiliesize};
    
width:{vb:stylevar editor_smiliebox_smiliesize};
    
margin:2px;
    
overflow:hidden;
    
position:relative;
    
text-align:center;
}

++++
Option for textbox size++++

.
editor_textbox iframe {
    
margin:0;
    
padding:0;
    
height:406px;      *****Adjust height to your tasteOriginal was 206px*****
}

++++
Option for quickreply size++++

.
editor_textbox.quickreply iframe {
        
height:156px;        *****Adjust height to your tasteOriginal was 106px*****
}

++++++++
EDITOR2++++++++

@
charset "UTF-8";
/* editor2.css */
      
.editor_smiliebox {
      
clear:both;
      
height:{vb:math 5*{vb:math 21+2*2}}px;
      
positionrelative;
      
float:left;
      
width100%;
}

.
editor_smiliebox ul.smiliebox {
      
height:{vb:math 4.5*{vb:math 21+2*2}}px;
      
margin:0 auto;
}

.
editor_textbox_smilie {
      
margin-right:0;


Adjust Message Posting Interface Options:

Smiliebox Total Smilies:30
Smiliebox Smilies Per Row:15
Smilie Menu Total Smilies:30

Hope it helps some of you ;)

Madita 08-18-2010 08:35 AM

Doesn't this work with 4.0.6 ...?

I try for hours now, but I can't show the icons below the textbox

This is my editor.css
Quote:

.editor_smiliebox ul.smiliebox li {
float:{vb:stylevar left};
height:{vb:stylevar editor_smiliebox_smiliesize};
width:{vb:stylevar editor_smiliebox_smiliesize};
margin:2px;
overflow:hidden;
position:relative;
text-align:center;

my editor2.css

Quote:

@charset "UTF-8";
/* editor2.css */
.editor_smiliebox {
clear:both;
height:{vb:math 2*{vb:math 21+2*2}}px;
position: relative;
float:left;
width: 100%;
}
.editor_smiliebox ul.smiliebox {
height:{vb:math 21+2*2}px;
margin:0 auto;
width:{vb:math 20+{vb:raw vboptions.smtotal}*{vb:math 20+2*2}}px;
}
.editor_textbox_smilie {
margin-right:0;
}
setting in editor_smiliebox_smiliesize = 35 ---- > Do I have to change this into 21 ???

Options in setting also allowed !

Can anyone help ?

Xencored 08-20-2010 05:03 PM

Lynne ive followed everything like before and i get this now O_o

http://myanimeisland.com/nonesite/editor.jpg

I cant seem to found out why box is making this happen
any ideas?

Thanks

Lynne 08-20-2010 09:15 PM

Please try using a totally default style and see if you still have the same issue. I notice you also have an extra field added and that could be causing the issue also.

Xencored 08-21-2010 05:58 AM

Quote:

Originally Posted by Lynne (Post 2087068)
Please try using a totally default style and see if you still have the same issue. I notice you also have an extra field added and that could be causing the issue also.

Aye i removed the extra field same issue
Allso my skin is the default (with colored bars added) but ive also tryed on a clean style same problem (when i made the image below 22px each it fits

Lynne 08-21-2010 02:44 PM

I really can't tell from the image. If you want to post a link to a thread with a test username/password and a selectable totally default style, then I'll take a look. But, you should first try disabling all other mods and see if it could be this mod and another don't work well together.

Xencored 08-21-2010 03:38 PM

Quote:

Originally Posted by Lynne (Post 2087399)
I really can't tell from the image. If you want to post a link to a thread with a test username/password and a selectable totally default style, then I'll take a look. But, you should first try disabling all other mods and see if it could be this mod and another don't work well together.

Sure i can do that
Its like the Textbox is too big and is pushed to the side due to the smilies under it
When i change the smilies box to one line only it fits fine

any idea if the whole "posting box" is a fixed size if so i could make it bigger and this problem would be fixed, Tho i had firebug out and couldnt find any table

Xencored 08-21-2010 10:14 PM

Fixed!

had to add
Code:

clear:both
to
.editor_textbox_container

Thanks


All times are GMT. The time now is 07:40 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.01933 seconds
  • Memory Usage 1,768KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete