1
ccrstudioweb
How to erease emoticons completely?

Hi all,
I've been constructioning a "serius" website and I want to erease emoticons/smilies completely, including the link [more...] where you can get all the emoticons images to be inserted in messages...

Any help will be welcome.
My Google Maps API3 and Xoops integration (Cool!):
http://www.esterecomendo.com.br/portal/

2
McDonald
Re: How to erease emoticons completely?
  • 2007/8/13 14:06

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can disable smilies in admin panel. It's even possible to delete the smilies.
In admin panel: Misc. Tools -> Smilies (on XOOPS 2.2.4)

The [more...] option depends on the module you're using.

3
ccrstudioweb
Re: How to erease emoticons completely?

Excuse not saying it before but I'm using 2.0.15 XOOPS version. I entered XOOPS CP and I disabilited all smilies, but the [more...] is still there...
My Google Maps API3 and Xoops integration (Cool!):
http://www.esterecomendo.com.br/portal/

4
ccrstudioweb
Re: How to erease emoticons completely?

I do know that there's another way to do it, but I did this way - I opened xoops/languages/global.php and I changed the line
define("_MORE","more..."); to
define("_MORE","");

And the link desapeared. Besides I desabilited emoticons on CP.

The only problem is that the "[" and "]" is still there below the text box:


[]

But as definity answer is not posted, I'm using this one.
My Google Maps API3 and Xoops integration (Cool!):
http://www.esterecomendo.com.br/portal/

5
McDonald
Re: How to erease emoticons completely?
  • 2007/8/13 14:37

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Undo what you've done in global.php.

Open the file /class/xoopsform/formdhtmltextarea.php

Find the following line:
$ret .= "&nbsp;[<a href='#moresmiley' onclick='javascript:openWithSelfMain("".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$this->getName()."","smilies",300,475);'>"._MORE."</a>]";


and replace it with this one:

$ret .= "&nbsp;<a href='#moresmiley' onclick='javascript:openWithSelfMain("".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$this->getName()."","smilies",300,475);'></a>";

6
ccrstudioweb
Re: How to erease emoticons completely?

That's It McDonald!!

The [] appears when sending private messages, but it's a detail...

Congratulations and Thanks a lot!!!!
My Google Maps API3 and Xoops integration (Cool!):
http://www.esterecomendo.com.br/portal/

7
McDonald
Re: How to erease emoticons completely?
  • 2007/8/13 15:30

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Not sure, but you might try the following.

Open the file /include/xoopscode.php and find the line:

echo "&nbsp;[<a href='#moresmiley' onmouseover='style.cursor="hand"' alt='' onclick='openWithSelfMain("".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$textarea_id."","smilies",300,475);'>"._MORE."</a>]";


and replace it with this one:

echo "&nbsp;<a href='#moresmiley' onmouseover='style.cursor="hand"' alt='' onclick='openWithSelfMain("".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$textarea_id."","smilies",300,475);'></a>";


Probably you can comment this line out also by just placing // in front of it:

// echo "&nbsp;[<a href='#moresmiley' onmouseover='style.cursor="hand"' alt='' onclick='openWithSelfMain("".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$textarea_id."","smilies",300,475);'>"._MORE."</a>]";

8
ccrstudioweb
Re: How to erease emoticons completely?

Now you hit the target!!!!!!!!!
Thank you McDonald!!!!!!!!!!!!!
My Google Maps API3 and Xoops integration (Cool!):
http://www.esterecomendo.com.br/portal/

Login

Who's Online

131 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits