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)

Front Range 4x4 12-30-2009 09:23 PM

*installed* Thank you Lynn!

Lynne 12-30-2009 10:15 PM

Quote:

Originally Posted by carleboy (Post 1942895)
Could you please give more detail on making more rows please as iv managed to get the smilies to show under without them being cut in half so i can see the full smilie now i just want more rows and iv tried to change numbers by 2 up and 2 down but i just cant get it right i dont understand what numbers to actualy change, just some spercifics would be good please.

Thanks.

Post exactly what you have done, an image of what it did, and we can see what is wrong. A link to see this may also be helpful.

carleboy 12-30-2009 10:55 PM

Quote:

Originally Posted by Lynne (Post 1942932)
Post exactly what you have done, an image of what it did, and we can see what is wrong. A link to see this may also be helpful.


I tryed changing the 2 to 4 and 2 to 0 as your post suggested but it done nothing i was just hoping you could explain what one of the numbers to add 2 on too and what one to take it way from, My forum is closed at the moment while i put it all together so cant show you directly at the moment but an explination of what numbers to change to add rows of smilies would really help.

Thanks.

Lynne 12-30-2009 11:20 PM

I guess I don't understand because I posted the code where I already changed it for the original user. You just want what I changed highlighted?

original code in the mod:
Code:

.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;
}

code I posted in post 6 to create 2 rows of smilies:
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;
}

Code in red is what I changed.

cloferba 12-30-2009 11:35 PM

smiles on quick reply box doesnt show

Lynne 12-31-2009 02:54 AM

Quote:

Originally Posted by cloferba (Post 1942988)
smiles on quick reply box doesnt show

You must turn it on in the options. You also need to make sure you don't have formatting controls turned off or disabled for your quick reply (you must be using either the wysiwyg editor or the standard editor).

cloferba 12-31-2009 12:09 PM

Quote:

Originally Posted by Lynne (Post 1943100)
You must turn it on in the options. You also need to make sure you don't have formatting controls turned off or disabled for your quick reply (you must be using either the wysiwyg editor or the standard editor).

i have both options turn on and i have configure to use both editors...standard and wysiwyg

Lynne 12-31-2009 02:01 PM

Quote:

Originally Posted by cloferba (Post 1943319)
i have both options turn on and i have configure to use both editors...standard and wysiwyg

And did you do the template edit on the style you are using? (And did you test it on a totally default style also?)

pinoquio46 12-31-2009 02:20 PM

Hello,

It can be used in PM text area editor also?
What changes are necessary to make?

Thanks

Lynne 12-31-2009 02:50 PM

Quote:

Originally Posted by pinoquio46 (Post 1943411)
Hello,

It can be used in PM text area editor also?
What changes are necessary to make?

Thanks

I do not know as I didn't look into that.

Bouncer222 12-31-2009 03:14 PM

I still can't get this to work properly, I fixed the issue with my files not matching up to vb 4.0 version but the smilies still show up as text, could someone please help me?

you can check out any thread at www.brotherhoodofgamers.com

pinoquio46 12-31-2009 03:44 PM

Quote:

Originally Posted by Lynne (Post 1943446)
I do not know as I didn't look into that.

If you go work on that, i think the post edition deservs the same... :)

pinoquio46 12-31-2009 03:47 PM

Quote:

Originally Posted by Bouncer222 (Post 1943457)
I still can't get this to work properly, I fixed the issue with my files not matching up to vb 4.0 version but the smilies still show up as text, could someone please help me?

you can check out any thread at www.brotherhoodofgamers.com

See the paht off your smilies images/smilies/smilie.gif, must be that way.

carleboy 12-31-2009 04:39 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;
}


sorry still cant work it out :( ill just uninstall it

Thanks anyway. Hope you can make it simpler like it used to be here https://vborg.vbsupport.ru/showthread.php?t=178327

Lynne 12-31-2009 05:18 PM

Quote:

Originally Posted by pinoquio46 (Post 1943472)
If you go work on that, i think the post edition deservs the same... :)

See if this does what you want:

Find the plugin "move smilies below textarea" and find this line:
PHP Code:

  if (in_array(THIS_SCRIPT, array('newthread''blog_post','group'))) 

Change it to:
PHP Code:

  if (in_array(THIS_SCRIPT, array('newthread''blog_post','group','private'))) 

Save.

That will move the smilies to the bottom of the private message page. This only works for the Send new PM page where the smilies are already shown.

Bouncer222 12-31-2009 05:21 PM

Quote:

Originally Posted by pinoquio46 (Post 1943474)
See the paht off your smilies images/smilies/smilie.gif, must be that way.

It is that way but it just won't show up, and if you type : ) for example (without the space) in the text box and submit your reply, it will show up, so that means the path is right.

But under the reply box it wont show up with the images, why?

pinoquio46 12-31-2009 06:17 PM

Quote:

Originally Posted by Lynne (Post 1943508)
See if this does what you want:

Find the plugin "move smilies below textarea" and find this line:
PHP Code:

  if (in_array(THIS_SCRIPT, array('newthread''blog_post','group'))) 

Change it to:
PHP Code:

  if (in_array(THIS_SCRIPT, array('newthread''blog_post','group','private'))) 

Save.

That will move the smilies to the bottom of the private message page. This only works for the Send new PM page where the smilies are already shown.

It works in both, new PM and reply to PM :D

I try to include 'editpost' in the array, but the smilies go to right side of thr page... :confused:

Thanks for your reply :up:

ForYou 01-01-2010 01:30 PM

1 Attachment(s)
i don't know why the smilies look small and now show all ,

look at attach

Regards

Lynne 01-01-2010 01:50 PM

Quote:

Originally Posted by ForYou (Post 1943980)
i don't know why the smilies look small and now show all ,

look at attach

Regards

You should get the smilies how you want them to look on the side first, and then transfer those css numbers to the modification. vb4 sets the widths for those in the css now, so you need to adjust the css to get them looking how you want.

kho91 01-01-2010 02:01 PM

thank's Lynne, but i have a problem, the smilies are small !

thank's

ForYou 01-01-2010 02:07 PM

Hello Lynne , please tell me step by step how can i do that please ,

i don't know how can i solve it , please try to help

ForYou 01-01-2010 02:24 PM

is there awy to 3 colums not just one row ,

CoronasRGood 01-01-2010 02:37 PM

Everything works great, only problem for me is the quick navigation section gets pushed down into a shaded area after I put the code in. anyway to stop this from happening?

Lynne 01-01-2010 03:09 PM

Quote:

Originally Posted by kho91 (Post 1943995)
thank's Lynne, but i have a problem, the smilies are small !

thank's

You will have to ask over on vb.com how to make your smilies larger. This mod does nothing to the size of them, it just moves them below the box.

Quote:

Originally Posted by ForYou (Post 1944017)
is there awy to 3 colums not just one row ,

I posted the code for having two rows and stated what to do. Just adjust it for 3 rows - multiply one by 3 and divide the other by 3 - I even highlighted the code in red for what to change in another post where someone was asking about this.
Quote:

Originally Posted by CoronasRGood (Post 1944032)
Everything works great, only problem for me is the quick navigation section gets pushed down into a shaded area after I put the code in. anyway to stop this from happening?

I'm not sure what you mean. Do you have a link where I can see this? Was your page fine before you turned on this mod?

CoronasRGood 01-01-2010 03:41 PM

1 Attachment(s)
Before Code: Attachment 108741

After Code: Attachment 108742

ForYou 01-01-2010 04:04 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;
}


Where i need to change this to be work , i was try but it dosen't work ,

please let me know where exactly put above code ,

Lynne 01-01-2010 05:19 PM

Quote:

Originally Posted by ForYou (Post 1944098)
Where i need to change this to be work , i was try but it dosen't work ,

please let me know where exactly put above code ,

See this post. I highlighted what you need to change. In your case, you want to change 2 to 3 and .5 to .33.
Quote:

Originally Posted by Lynne (Post 1942982)
original code in the mod:
Code:

.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;
}

code I posted in post 6 to create 2 rows of smilies:
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;
}

Code in red is what I changed.


Quote:

Originally Posted by CoronasRGood (Post 1944082)
Before Code: Attachment 108741

After Code: Attachment 108742

What page is that on? It looks like the ajax edit in the post, but this mod shouldn't be doing anything to that.

CoronasRGood 01-01-2010 06:05 PM

This only occurs when you are on the page when you are actually viewing a post.

Lynne 01-01-2010 07:47 PM

Huh? On a showthread page? Can I have a link?

CoronasRGood 01-01-2010 10:04 PM

Sorry, yes on the showthread page. http://rinconforums.com/showthread.php?8-Welcome

Lynne 01-01-2010 10:33 PM

Quote:

Originally Posted by CoronasRGood (Post 1944393)
Sorry, yes on the showthread page. http://rinconforums.com/showthread.php?8-Welcome

Do you have a test account I can log in with because I can't see the problem as a guest.

And actually, looking at this image again: Attachment 108742 I don't see how that is happening.... did you move the Post Quick Reply and Go Advanced buttons to the top of the Quick Reply? Also, does it happen for regular users since a regular user is not going to see the Moderation Tools? I am not getting anything like this on a default vbulletin style on my test site. If it is your style, then I don't know that I will be able to figure it out since it will most likely be a css thing and I can't trace your css changes down.

CoronasRGood 01-01-2010 11:16 PM

I think I found it, vbulletin settings, Message Posting and Editing Options, you must have "Yes, Click not required" selected for quick reply.

movslow 01-02-2010 12:42 AM

Instead of going through all that work to put the smilies below the quick reply box, what would it take to put the Smily icon itself that is there when you click Go Advanced ? It's to the right of the icon for the text color. I think that would look more cleaner and keep the simplicity of quick reply.

Just a thought.
Thanks

leodestroy 01-02-2010 02:10 AM

Great mod tnx. Install

Lynne 01-02-2010 03:09 AM

Quote:

Originally Posted by movslow (Post 1944493)
Instead of going through all that work to put the smilies below the quick reply box, what would it take to put the Smily icon itself that is there when you click Go Advanced ? It's to the right of the icon for the text color. I think that would look more cleaner and keep the simplicity of quick reply.

Just a thought.
Thanks

I actually didn't intend to have this mod put the smilies below Quick Reply. I only wanted to move them to underneath the text box on pages where they were already on the side. Then I realized it was easy to just put them in QR also.

s0lidgr0und 01-02-2010 03:32 AM

Thanks, Lynne. You always do such a nice job on your mods.

garretbyrne 01-02-2010 04:10 AM

1 Attachment(s)
Hi Lynne thank you for the mod.. It has moved the smiles down below the text area but in regards to rows no matter what I do it stays as one row... I've attached an image of what I'm talking about.. and have also added the code I've used in editor.css

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

Any help you can provide is welcomed.. Thanks

s0lidgr0und 01-02-2010 05:24 AM

The code you have to edit for rows is in editor2.css.

garretbyrne 01-02-2010 07:13 AM

O, lol Very sorry..

Cheers thats worked for me

Lynne 01-02-2010 03:39 PM

Quote:

Originally Posted by s0lidgr0und (Post 1944679)
The code you have to edit for rows is in editor2.css.

Good eye! I didn't spot that the first time I read his post. Thanks for seeing that and helping! :)

Quote:

Originally Posted by garretbyrne (Post 1944721)
O, lol Very sorry..

Cheers thats worked for me

Why don't you post a picture? Then I can add to the first post here and show users what it looks like.


All times are GMT. The time now is 01:35 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.01513 seconds
  • Memory Usage 1,853KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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