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)

Xencored 05-06-2010 12:52 PM

Hey thanks lynne but i dont seem to have this option after importing

2. Go to Settings > Options > Message Posting Interface Options > Put smilie box below textarea > Yes

4.0.3 patch level 1

Lynne 05-06-2010 01:48 PM

Quote:

Originally Posted by Animemike (Post 2032554)
Hey thanks lynne but i dont seem to have this option after importing

2. Go to Settings > Options > Message Posting Interface Options > Put smilie box below textarea > Yes

4.0.3 patch level 1

Make sure you are looking under the correct option cuz it's there right below Smilie Menu Total Smilies

Footman 05-06-2010 02:30 PM

Hi Lynne,

I've just noticed an alignment issue. The smilies are at the bottom of the quick reply box and the advance reply box. But they're still on the right side when using the "edit post."

-Curious as to why? Does it have something to do with the changes I made to editor2.css below?
-I've also found that the smilies are spaced a bit too far away from each other. I'm assuming that variable is in the changes below as well. Do you have an idea what I can change to display them side by side no matter their individual size?

Code:

@charset "UTF-8";
/* editor2.css */
.editor_smiliebox {
clear:both;
height:{vb:math 2*{vb:math 40+2*2}}px;
position: relative;
float:left;
width: 100%;
}
.editor_smiliebox ul.smiliebox {
height:{vb:math 70+2*2}px;
margin:0 auto;
width:{vb:math 100+{vb:raw vboptions.smtotal}*{vb:math 100+2*2}}px;
}
.editor_textbox_smilie {
margin-right:0;
}


Xencored 05-06-2010 05:59 PM

Quote:

Originally Posted by Lynne (Post 2032576)
Make sure you are looking under the correct option cuz it's there right below Smilie Menu Total Smilies

Lmfao now i feel a idiot sorry works great! thanks

Lynne 05-06-2010 07:33 PM

Quote:

Originally Posted by Footman (Post 2032616)
Hi Lynne,

I've just noticed an alignment issue. The smilies are at the bottom of the quick reply box and the advance reply box. But they're still on the right side when using the "edit post."

-Curious as to why? Does it have something to do with the changes I made to editor2.css below?
-I've also found that the smilies are spaced a bit too far away from each other. I'm assuming that variable is in the changes below as well. Do you have an idea what I can change to display them side by side no matter their individual size?

On my totally default style, the are centered on the editpost.php page just as they should be. You didn't modify the classes the way I outlined to do in my first post, so I would guess the math went in such a way that it is giving you the problem you are seeing.

Footman 05-06-2010 10:33 PM

Quote:

Originally Posted by Lynne (Post 2032753)
On my totally default style, the are centered on the editpost.php page just as they should be. You didn't modify the classes the way I outlined to do in my first post, so I would guess the math went in such a way that it is giving you the problem you are seeing.

I had to change some of the values as some of my smilies are bigger than the usual ones and only a portion of them were visible.

I guess I'll keep changing a little here and there till I come up with something that works.

Xencored 05-07-2010 02:18 PM

Quote:

Originally Posted by Lynne (Post 1926457)
You would have to increase the height (by 2, if for 2 rows) and decrease the width (by 2, if for 2 rows) for the ".editor_smiliebox ul.smiliebox" I've never tried that, but it should work.

HTML Code:

.editor_smiliebox ul.smiliebox {
height:{vb:math 2*{vb:math 21+2*2}}px;
margin:0 auto;
width:{vb:math 20+.5*{vb:raw vboptions.smtotal}*{vb:math 20+2*2}}px;
}


Hi lynne what bit did you change there to get more lines
Say i want 4 or 5 lines of smiles under the editor

Thanks

Edit ok i got it like this but its pushing the box to the right and cutting the bottom smilies in half

http://www.myanimeisland.com/smilies.png

Lynne 05-07-2010 10:20 PM

Code:

.editor_smiliebox {
height:{vb:math 5*{vb:math 21+2*2}}px;
}
.editor_smiliebox ul.smiliebox {
height:{vb:math 5*{vb:math 21+2*2}}px;
width:{vb:math 20+.2*{vb:raw vboptions.smtotal}*{vb:math 20+2*2}}px;
}


Xencored 05-07-2010 10:43 PM

Quote:

Originally Posted by Lynne (Post 2033444)
Code:

.editor_smiliebox {
height:{vb:math 5*{vb:math 21+2*2}}px;
}
.editor_smiliebox ul.smiliebox {
height:{vb:math 5*{vb:math 21+2*2}}px;
width:{vb:math 20+.2*{vb:raw vboptions.smtotal}*{vb:math 20+2*2}}px;
}


Thanks working :)

Footman 05-12-2010 02:56 PM

Quote:

Originally Posted by Lynne (Post 2032753)
On my totally default style, the are centered on the editpost.php page just as they should be. You didn't modify the classes the way I outlined to do in my first post, so I would guess the math went in such a way that it is giving you the problem you are seeing.

The newest version fixed the alignment issue I had in the 'edit post' page. I've changed the editor2.css to more closely match your description. My only difference is I use 50 instead of 21 since when I use 21 some of my larger smilies get cut off.

New issue... 2 centered lines of 4 smilies per line in all post boxes which is good, BUT in the options settings I have 20 set as the total smilies to show in box before the 'more' link and 10 per line. That's not happening :(

I'm guessing all my issues might be due the style I'm using. My editor.css file for .editor_smiliebox ul.smiliebox li looks like this. There's only one value to change for both width and height in the stylevar. In your example I can change each one in the editor.css. Should I just change that whole section away from stylevars and to those settings?
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;



All times are GMT. The time now is 02:43 AM.

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.01272 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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