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)

stator 05-18-2010 11:09 AM

[Bug]
In quick reply
The advanced editor disappear and return to the normal editor interface.

[Edit]
I want to use this mod for quickreply only, How this can be done?

Lynne 05-18-2010 02:11 PM

- I have not noticed that bug at all. My editor stays in WYSIWYG mode.

- To only use it in Quick Reply, you'll have to modify the plugins and take out the options for it to work on other pages.

Walter Ronny 05-19-2010 04:37 PM

hi , how do i only can put smilies in quick reply? thx!

Lynne 05-19-2010 04:49 PM

Quote:

Originally Posted by Walter Ronny (Post 2039966)
hi , how do i only can put smilies in quick reply? thx!

I already answered the question:
Quote:

Originally Posted by Lynne (Post 2039218)
- To only use it in Quick Reply, you'll have to modify the plugins and take out the options for it to work on other pages.


Walter Ronny 05-19-2010 05:49 PM

how? i have not much idea about php and so! :o

Walter Ronny 05-19-2010 11:26 PM

i did it , it's possible only to add this to quick reply and pm reply?

http://i45.tinypic.com/2hd4qqa.png

ComoEstaEso-com 05-24-2010 03:54 AM

Just installed... followed directions, and all is good.

Thanks Lynne!! :)

Wilfred1 05-29-2010 12:38 AM

1 Attachment(s)
Ok, this is what I created:

Attachment 117701

To get this I did the following:
1. Settings -> Options -> Message Posting Interface Options ->
- Smiliebox Total Smilies = 60
2. Styles & Templates -> Style Manager ->Stylevar ->
- Smiliebox Max Avatar Display Size = 30 (px)
3. Replaced the template editor2.css with:
Code:

@charset "UTF-8";
/* editor2.css */

.editor_smiliebox {
clear:both;
height:{vb:math 5*{vb:math 21+2*2}}px;
position: relative;
float:left;
width: 100%;
}

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

.editor_textbox_smilie {
margin-right:0;
}

and that is it to get the above screen shot.

You have to play around with the numbers to get it right for the number of smilies and rows that you want to display

Hope this helps!

Lynne 05-29-2010 03:08 AM

Thank you! It's very much appreciated when people share their modified css to get something a bit different for their site. :)

Sunka 05-31-2010 04:24 AM

Quote:

Originally Posted by arco (Post 1999796)
This mod seems to conflict with the following two mods:

https://vborg.vbsupport.ru/showthread.php?t=180330
https://vborg.vbsupport.ru/showthread.php?t=232730

Ie they stop working when it's installed.


Lynne, any help for quoted above?
When I install your mod, and enable smilies below Quick Reply than this 2 quoted mods stop working.

Lynne 05-31-2010 01:55 PM

Quote:

Originally Posted by Sunka (Post 2045845)
Lynne, any help for quoted above?
When I install your mod, and enable smilies below Quick Reply than this 2 quoted mods stop working.

Sorry, but I don't know either of those mods at all and I don't have any time to look into them. Could be something as simple as a str_replace that is conflicting, but I don't know.

ComoEstaEso-com 06-01-2010 03:29 AM

1 Attachment(s)
Quote:

Originally Posted by Wilfred1 (Post 2044881)
Hope this helps!

DEFINITELY IT DOES! :D

Quote:

Originally Posted by Lynne (Post 2044917)
Thank you! It's very much appreciated when people share their modified css to get something a bit different for their site. :)

+1
Thanks!

To me, CSS is magic I don't know about... yet it works beautifully.
w00t w00t! :)

Attachment 117852

SoltanWorld 06-04-2010 11:46 AM

does it work on Vb4.0.2?

Walter Ronny 06-04-2010 11:18 PM

Quote:

Originally Posted by Walter Ronny (Post 2040219)
i did it , it's possible only to add this to quick reply and pm reply?

http://i45.tinypic.com/2hd4qqa.png

:confused:

Lynne 06-04-2010 11:55 PM

Quote:

Originally Posted by Walter Ronny (Post 2048514)
:confused:

I don't understand what you want. Your image is circling an item that has nothing to do with this modification. If you want to do something with that dropdown, then this isn't the modification for you.

Bounce 06-19-2010 06:19 PM

Lynne, I'm having a small problem on 4.0.4 when I install a new style it doesn't do the rows that I created with my main style, i've tried copying the editor2.css to the new templates but that still doesn't make them show as various rows, any ideas?

Lynne 06-19-2010 07:20 PM

Quote:

Originally Posted by hIBEES (Post 2055966)
Lynne, I'm having a small problem on 4.0.4 when I install a new style it doesn't do the rows that I created with my main style, i've tried copying the editor2.css to the new templates but that still doesn't make them show as various rows, any ideas?

I'd suggest you go over the install instruction again because it does work on a default 4.0.4 test site. I've tested it on mine.

Bounce 06-20-2010 07:17 AM

Quote:

Originally Posted by Lynne (Post 2056007)
I'd suggest you go over the install instruction again because it does work on a default 4.0.4 test site. I've tested it on mine.

Thanks I will do lynne, I wasn't saying it wasn't working, I'm saying the extra rows that i added urnae (that's scottish for are not :) ) I'll check :up:

Bounce 06-20-2010 08:13 AM

1 Attachment(s)
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 :)

Bouncer222 06-25-2010 09:24 PM

nvm

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

Xencored 08-21-2010 10:58 PM

Lynne do you have blogs?
If so click Blog settings on the blog page and if you see there there is a editor box with the simile's still on the right

wd4x4 09-24-2010 09:34 PM

Great Mod Lynne :up:

Blog smilies are under editor on mine no other changes where done.

cloferba 10-07-2010 02:02 AM

this dont work when a mod is giving an infraction...

i see smiles on the right..not under :(

Lynne 10-07-2010 04:24 AM

I didn't make it to cover the Infraction page:
Quote:

This moves the smilie box to below the text area when posting within threads, blogs, groups, PMs, and cms when using the Advanced Editor (new item or advanced reply).
I would guess you can just edit the plugins though to include that page.

cloferba 10-07-2010 12:35 PM

well...its so difficult to show smilies on more than 1 line... i dont know why its so difficult and also they are bad showed

i ask something:
why you must specify the size of smilies...instead of using
HTML Code:

{vb:stylevar editor_smiliebox_smiliesize}
variable?

Lynne 10-07-2010 02:00 PM

Quote:

Originally Posted by cloferba (Post 2107664)
well...its so difficult to show smilies on more than 1 line... i dont know why its so difficult and also they are bad showed

i ask something:
why you must specify the size of smilies...instead of using
HTML Code:

{vb:stylevar editor_smiliebox_smiliesize}
variable?

This mod was written before that stylevar was available and I haven't updated that part of it. You may do so in yours.

cloferba 10-07-2010 03:40 PM

thanks lynne, i wasnt sure

Brandon Sheley 10-23-2010 01:35 AM

any chance this could be updated to 4.0.8 :)
or would step 3 still contain edits?

kf4eok 10-23-2010 04:52 AM

Here is what I found that worked for me with vb 4.0.8 I have 232 smiles. Let me know if something looks wrong to anyone with what I have done.
I just imported the product-lynne_smilies_below.xml and I did no edits other than to the editor2.css
I hope that this will help someone
Here is my editor2.css

@charset "UTF-8";
/* editor2.css */
.editor_smiliebox {
clear:both;
height:{vb:math 8*{vb:math 21+2*2}}px;
position: relative;
float:left;
width: 100%;
}
{vb:stylevar editor_smiliebox_smiliesize}.editor_textbox_smilie {
margin-right:0;
}

http://thestarquestclub.com/images/e...es-options.png

Lynne 10-23-2010 05:39 PM

Quote:

Originally Posted by Loco.M (Post 2113011)
any chance this could be updated to 4.0.8 :)
or would step 3 still contain edits?

OK, I think I got this done right. I've update the CSS to include the new stylevar editor_smiliebox_smiliesize and I added a new option on the Message Posting Interface Options page called Smiliebox Rows (smilies below textarea). This is the number of rows you want to show for your smilies. I think I got all the math correct here. You need to enter the Smiliebox Total Smilies also. And these must be evenly divisible or you won't get it to look correct.

If you change the Smiliebox Rows (smilies below textarea), you MUST then rebuild your style to get this option to work in your CSS!!!

If your CSS already works correctly, there is no need to upgrade your mod. If you choose to do so anyway, then I'd suggest you keep a copy of the old CSS just in case this new method doesn't work for you.


All times are GMT. The time now is 11:07 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.01781 seconds
  • Memory Usage 1,862KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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