News:

Wondering if this will always be free?  See why free is better.

Main Menu

Word Description BBC

Started by Özgür, January 15, 2009, 01:42:10 PM

Previous topic - Next topic

Seabass

Neat! Looking forward to the update. Also, this seems to work for HTML inclusion...

[desc=\x3Ciframe\x20src\x20\x3D\x22http\x3A\x2F\x2Fwww.youtube.com\x2Fwatch\x3Fv\x3DoHg5SJYRHA0\x22\x20width\x3D\x22100\x25\x22\x20height\x3D\x22100\x25\x22\x3E\x0A\x3C\x2Fiframe\x3E]An amazing video[/desc]

Özgür

It's shouldn't be like that. I guess i broke some security rules for try add images in description. I will update package. And i will change the some styles and javascript.
So Long

chinaren

Just a note that this tag has a security hole.  The other day a person posted something on my forum that, when you mouse-overed, redirected you to another site!



In this case it was a Rickrolled YT site, but it could potentially have been a nastier place.   Just a heads-up.  


[Edit] Oh!  I guess I should have read the previous few posts!  Looks like you're aware of it already.  Anyway, needs a fix I guess!
The Opus Path - The Next Generation of the Written Word

Özgür

Version 1.2
! Fixed security bug.
So Long

theguise

Upgrading and installing this gave me a strict standards warning regarding time zone and a parse error in Subs.php.  I believe I can fix it, I'm just informing you.

theguise

Okay found the problem, you have an extra ")," at the end of this array

       
array(
'tag' => 'desc',
'type' => 'unparsed_equals',
'before' => '<span class="hotspot" onmouseover="tooltip.show(\'$1\');" onmouseout="tooltip.hide();">',
'after' => '</span>',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = htmlentities($data);'),
),
),           

Özgür

So Long

kanuni41

RC4 e uyumlu değildir uyarısı alıyorum.Ne yapmalıyım

Apllicmz

when update dont forget portuguese_pt

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation error="fatal">
            <search position="end" />
            <add><![CDATA[
$txt['desc'] = 'Adicionar Descri&ccedil;&atilde;o do Word';
]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation error="fatal">
            <search position="end" />
            <add><![CDATA[
$txt['desc'] = 'Adicionar Descri&ccedil;&atilde;o do Word';
]]></add>
        </operation>
    </file>



def

There is another one problem. Fix in last release corrupted UTF-8 text support (tested at russian text). To fix that problem needs to change
$data = htmlentities($data);'),
to
!$context[\'utf8\'] ? $data = htmlentities($data, ENT_NOQUOTES, \'UTF-8\') : $data = htmlentities($data);'),

P.S.
Sorry for bad English.  :)

chinaren

Would love an update for SMF 2 final!  Any chance? 


This mod is one of the most beloved on my forum!
The Opus Path - The Next Generation of the Written Word

Özgür

I will update one and last time, next week it will be updated. After that I'm dropping support for it.
If anyone interested in take over, please pm me.
So Long

ChaosEnergy

#92
I really like to see a similiar mod, based on a centralized word definition database

so you can define some words, which will automatically get the defininition in all posts whenever the keyword is used
similiar like those ad bubbles
Chaos Empire ®

Özgür

Quote from: ChaosEnergy on January 14, 2012, 09:11:53 PM
I really like to see a similiar mod, based on a centralized word definition database

so you can define some words, which will automatically get the defininition in all posts whenever the keyword is used
similiar like those ad bubbles
,
Look at glosary mod. If I remember correctly it will help you. :)
So Long

Advertisement: