1
How are you here is the quick fix to the DHTML Form XOOPS code
[img] You have to edit /class/module.textsantizer.php
Insert on Line 322
le="color: #000000"><?php $patterns[] = "/[img align=(['"]?)(left|center|right)\1]([^"()?&'<>]*)[/img]/sU"; $patterns[] = "/[img]([^"()?&'<>]*)[/img]/sU"; $patterns[] = "/[img align=(['"]?)(left|center|right)\1 id=(['"]?)([0-9]*)\3]([^"()?&'<>]*)[/img]/sU"; $patterns[] = "/[img id=(['"]?)([0-9]*)\1]([^"()?&'<>]*)[/img]/sU"; $replacements[] = '<a href="\3" target="_blank">\3</a>'; $replacements[] = '<a href="\1" target="_blank">\1</a>'; $replacements[] = '<a href="'.XOOPS_URL.'/image.php?id=\4" target="_blank">\5</a>'; $replacements[] = '<a href="'.XOOPS_URL.'/image.php?id=\2" target="_blank">\3</a>';
Look up my
background sound hack - it would be kewl to have a shockwave playback on that then with tempo control, you could set a preset tempo for the forum and have remixes while you read..
:-])
For example I think the system module should be more exploited with more options like insertable refs' like this for the global system.
For example for bullet point you set:
le="color: #000000"><?php $patterns[] = "/[li]([^"()?&'<>]*)[/li]/sU"; $replacements[] = '<li>\1</li>'; $patterns[] = "/[ul]([^"()?&'<>]*)[/ul]/sU"; $replacements[] = '<ul>\1</ul>';