New message - smiles window

Page 1 of 2 1, 2  Next

Go down

Solved New message - smiles window

Post by TheShaka on Mon 26 May - 18:11

Hi i want delete the window with smiles and add normal option with smiles

1-how it looks
2- how i want it to look
3- or maybe is possible to make smaller smiles in the window?
my forum: http://seiya.forumotion.com/  PHPBB3


Last edited by TheShaka on Mon 9 Jun - 18:26; edited 1 time in total
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Tommy Lee on Mon 26 May - 18:47

Hello,

Code:
var Smileys;

Smileys = {
'Xuxa mandando beijo' : 'http://illiweb.com/fa/pbucket.gif',
'Nazaré Tedesco' : 'http://illiweb.com/fa/pbucket.gif',
'Tiffany Pollard' : 'http://illiweb.com/fa/pbucket.gif',
'Tiffany' : 'http://illiweb.com/fa/pbucket.gif',
'Tiff' : 'http://illiweb.com/fa/pbucket.gif',
'Ines Brasil' : 'http://illiweb.com/fa/pbucket.gif',
'Xuxa' : 'http://illiweb.com/fa/pbucket.gif',
'Eita' : 'http://illiweb.com/fa/pbucket.gif',
'Sofrendo' : 'http://illiweb.com/fa/pbucket.gif',
'Lara com Z' : 'http://illiweb.com/fa/pbucket.gif',
'666' : 'http://illiweb.com/fa/pbucket.gif',
'Xuxa chorando' : 'http://illiweb.com/fa/pbucket.gif',
'Puta que pariu' : 'http://illiweb.com/fa/pbucket.gif',
'Gretchen' : 'http://illiweb.com/fa/pbucket.gif',
'eliana nojo' : 'http://illiweb.com/fa/pbucket.gif',
'Sônia Abrão' : 'http://illiweb.com/fa/pbucket.gif',
'Mas não se irrite' : 'http://illiweb.com/fa/pbucket.gif',
'Falta de sacanagem' : 'http://illiweb.com/fa/pbucket.gif',
};

$(function() {
$.each(Smileys, function(key, value) {
    $('img[alt="' + key + '"]').attr('src', value);
});
});   


Please give me feedback if this works or not,
avatar
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Mon 26 May - 19:09

Is this java script? if yes it not work
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Try CSS

Post by Tommy Lee on Mon 26 May - 19:14

I think it's CSS try that.
avatar
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Mon 26 May - 19:21

nope not work
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Guest on Mon 26 May - 19:23

Hey guys,
that is a Javascript code, not CSS. CSS is much different. I can tell it is a Javascript code because it has "var" at the very beginning. Have you set your website to WYSIWYG in the ACP at all?

Guest
Guest


Back to top Go down

Solved Re: New message - smiles window

Post by Tommy Lee on Mon 26 May - 19:23

Okay sorry, I just found the code I'm not 100% positive it works and it looks like it doesn't work. It removed my smile option maybe it removes the smily option not re-create the icon.
avatar
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

Solved Re: New message - smiles window

Post by Rhino.Freak on Mon 26 May - 19:39

So you basically want to make the big text editor like in quick reply?
I can easily make you get rid of the smiley box, but I'm not sure about the button.
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Mon 26 May - 20:48

I want remove smile box, add normal smile button and make normal size of the text window
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Tommy Lee on Tue 27 May - 17:01

Hello,

You must of inserted a code to remove the smiley box and add them new smilies or should I say stickers by any chance do you know what the code is? When you found it remove it and that might work.
avatar
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Tue 27 May - 20:39

Man if i will know the code or how to do that i will not make this thread...
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Tommy Lee on Tue 27 May - 21:06

Sorry, just wondering.
avatar
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Wed 28 May - 17:34

Buuuuuuuuuump
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Jophy on Fri 30 May - 6:37

Hello,

Try this code, place it on your CSS:
Code:
#smiley-box, .smile-status-box {
display: none !important;
}
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Fri 30 May - 15:50

Hi Joph the box with smiles is gone, but no smiles button and the reply box have same size.
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Jophy on Fri 30 May - 17:37

Ok, can you provide a screenshot of the current editor? Thanks.
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Sat 31 May - 11:54

avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by mufazai on Sat 31 May - 13:47

I need to contact the Admin regarding my forum's password but unable to private message because I havent reach the limit of the post. So how?

mufazai
New Member

Posts : 1
Reputation : 1
Language : english

http://mrsmtgb.goodbb.net

Back to top Go down

Solved Re: New message - smiles window

Post by SLGray on Sat 31 May - 20:50

@mufazai wrote:I need to contact the Admin regarding my forum's password but unable to private message because I havent reach the limit of the post. So how?
You need two posts to send a pm.  In the future, please do not hijack someone else topic.  There are many places you could have posted.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43085
Reputation : 3049
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New message - smiles window

Post by Jophy on Sun 1 Jun - 20:49

I have not found a way to expand the editor, but you can use this code to center your editor:

Code:
div.sceditor-container.ltr.sourceMode {
position: relative !important;
left: 15% !important;
}
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Mon 2 Jun - 2:04

@Jophy wrote:I have not found a way to expand the editor, but you can use this code to center your editor:

Code:
div.sceditor-container.ltr.sourceMode {
position: relative !important;
left: 15% !important;
}

What about smiles  mwii
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Tue 3 Jun - 21:22

bump What the fuck ?!?
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Thu 5 Jun - 11:19

bump
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Ange Tuteur on Thu 5 Jun - 11:49

Hello TheShaka,

See if this will work for you :
Modules > JavaScript codes management > create a new script

Title : your choice
Placement : in all the pages
Paste the code below and save :
Code:
$(window).load(function() {
    if (document.getElementById('postingbox') === null) return;
    $('.sceditor-button-date').before('<a class="sceditor-button sceditor-button-emoticon" unselectable="on" title="Insert an emoticon"><div unselectable="on"></div></a>');
    $('body').append('<div id="emoticonsFrame" class="sceditor-dropdown" style="display:none;"><iframe style="border:none;" width="220" height="350" src="/smilies.forum?mode=smilies_frame"></iframe></div>');
    $('.sceditor-button-emoticon').click(function() {
        $('#emoticonsFrame').css('left', $(this).offset().left);
        $('#emoticonsFrame').css('top', $(this).offset().top + 25);
        
        if ($('#emoticonsFrame').css('display') == 'none') $('#emoticonsFrame').show();
        else $('#emoticonsFrame').hide();
    });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-emoticon').removeClass('disabled') });
    $('.sceditor-button').not('.sceditor-button-emoticon').click(function() { $('#emoticonsFrame').hide() });
    $('.sceditor-container textarea').focus(function() { $('#emoticonsFrame').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#emoticonsFrame').hide() });
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Thu 5 Jun - 11:59

Hi not work  
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Ange Tuteur on Thu 5 Jun - 12:08

You are using phpbb3, correct ? It should work when previewing/posting a message.

avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Thu 5 Jun - 12:17

Yes but not work  mwii
avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Ange Tuteur on Thu 5 Jun - 12:18

It does not show up, or ???
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: New message - smiles window

Post by TheShaka on Thu 5 Jun - 12:23

avatar
TheShaka
Forumember

Male Posts : 413
Reputation : 6
Language : polish

http://seiya.forumotion.com

Back to top Go down

Solved Re: New message - smiles window

Post by Ange Tuteur on Thu 5 Jun - 12:26

Odd indeed. While previewing(code enabled also) do you get any errors in your console(F12 > Console) ?
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum