1
Hatrix
BB Code
  • 2006/10/28 22:21

  • Hatrix

  • Just popping in

  • Posts: 27

  • Since: 2005/3/12


Hey guys,

I want to alter the BB code so that I can use upper case (e.g. [IMG] in addition to [img]) amongst other things, but I can't find the right file. I thought xoopscode.php was the right file, but it just looks like the form editor.

I'd also like to know the file which converts the output from the URL process in the kiovi to html in the form if anyone knows it.

Thanks, any additional info would be great.

2
iHackCode
Re: BB Code

.Surprised no one answered this..

the file is .. /class/module.textsanitizer.php

here is what the pattern should look like for img...
$patterns[] = "/[img]([^"()?&'<>]*)[/img]/sUi";

..I just added an i

http://us2.php.net/manual/en/reference.pcre.pattern.modifiers.php
--
i never used koivi so i dont know ..
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
Northern
Re: BB Code
  • 2006/11/16 6:58

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


Where abouts did you place the "I" ?

4
iHackCode
Re: BB Code

i put the 'i' at the end
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

5
Northern
Re: BB Code
  • 2006/11/17 5:33

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


ah, ok i understand it now.

had a moment.
thanks for clearifing it.

Login

Who's Online

396 user(s) are online (319 user(s) are browsing Support Forums)


Members: 0


Guests: 396


more...

Donat-O-Meter

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

Latest GitHub Commits