1
halki
Smilies problem
  • 2003/12/27 3:13

  • halki

  • Just popping in

  • Posts: 19

  • Since: 2003/12/27


I have XOOPS 2.5.1 installed, with the pbboard mod (integrates PHPbb 2.0.6 into Xoop) With this mod the boards use the Xoop smiles table, and everything is working quite well, *except* on the forms used to add news and such.
For some of the smiles I get a malformed URL on the actual posting for the image file.
Right clicking on the RedX I see http<img%20src=
For the Address portion it showshttp://mountianshire.net/modules/news/http<img%20src=

Ive checked to make sure the files all exist where they belong and permissions are correct. Smiles all work great on the boards.

When it adds a smile correctly Im gettinghttp://mountainshire.net/uploads/smileyfilename.gif

OK Ive tracked the issue down to the text sanitzer, but I cant seem to figure out why some are working and some arent is this file documented in detail somewhere?

Im about to just rip out the textarea editor and slap in htmlarea fromhttp://www.interactivetools.com/products/htmlarea/ just so it doesnt use the sanitzer (and htmlarea looks really cool)

2
halki
Re: Smilies problem
  • 2003/12/30 0:47

  • halki

  • Just popping in

  • Posts: 19

  • Since: 2003/12/27


Ok I found the problem. I had a smilie with the code entry of :/ and when the sanitzer was hitting it, it freaked out since that can also be a valid part of an URL.

The other part of the problem is that I also have smile codes like :p and :s and when it gets to smile codes like :penguin: and :smack: it processes just the first part and outputs the smile for :p and then the rest of the letters enguin:

Ive gone the easy route and just changed the smile codes, but it would be nice if the sanitizer could handle them.


3
YourHelp
Re: Smilies problem
  • 2003/12/30 5:00

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Smily are allways fiddly and are hard to

Login

Who's Online

145 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 145


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