News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Word Description BBC

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

Previous topic - Next topic

Özgür

Word Description BBC
Created by Özgür | ЯocKayseri
Link to Mod | Demo

Compatibility For SMF 2.0 and 1.1.7
You can add description for words.. Like alt=""
Usage : [desc=Description is here...]word[/desc]

Demo : http://demo.mnyk.net/index.php?topic=16.0

Please after install mods clear your browser cache.

Version 1.0
+ Initial Release
Version 1.1
+ No need edit your theme files now.
Version 1.2
! Fixed security bug.
if you're not using default theme, open worddescriptionBBC.zip and copy desc.gif to yourtheme/images/bbc


Türkçe
2.0 ve 1.1.x Uyumludur
Kelimelere Açıklama Ekleyebilirsiniz. Linklerin üzerine gelince çıkan yazılar gibi.
[desc=Açıklama Burada]kelime[/desc]
Olarak kullanabilirsiniz.
So Long

jonnyblue

Is there anything else that I have to install to make it work?

Özgür

Quote from: jonnyblue on January 15, 2009, 04:37:52 PM
Is there anything else that I have to install to make it work?

if you're using default theme , unneeded anything. But if you're using other theme ;


find the line index.template.php

echo $context['html_headers'], '

add after

<script type="text/javascript" language="javascript" src="', $settings['default_theme_url'], '/tooltip.js">
So Long

jonnyblue

Thanks, but still not working. I didn't have tooltip.js in the default location so I copied it from your demo site. But the tooltip still isn't showing. I wonder what's wrong.

Özgür

#4
Quote from: jonnyblue on January 15, 2009, 05:01:58 PM
Thanks, but still not working. I didn't have tooltip.js in the default location so I copied it from your demo site. But the tooltip still isn't showing. I wonder what's wrong.

can you send me your site url (in pm) or any demo topic?
So Long

TW1ST3D

Cool mod.............in theory at least....................too bad it doesn't work.

Maybe if you post explicit instructions on how to use the tags and the list function.............
Running 2.0 Gold.......SMF Rocks!!

Özgür

#6
Quote from: TW1ST3D on January 15, 2009, 10:18:04 PM
Cool mod.............in theory at least....................too bad it doesn't work.

"in theory at least". What?  Are you kidding?

Can you browser cache clean and refresh page?  Any your topic url ?

Im install fresh smf 1.1.x and install mod. no error no fault. This is work fine me.

I updated first post. Please look and try again.
So Long

LinK187

#7
It works fine in ff3, except on my theme nothing shows up, just the word. I made the modification to my index.template.php as you said. Also verified all files were in the proper location.

In ie7 in it produces the error in the attached screenshot and then when you press ok it loads the "this page can't be displayed" error.

martrek

#8
Default works fine, but in my theme i can't do it works... :(
SMF 2.0 RC3

Özgür

@martrek
Can you upload your style.css and index.template.php? url.. any url..
@LinK187
Please send any url to demo topic. I can't help you this way.
Im try the my site  : http://www.rockayseri.net/rk/turk-rock-and-metal/ozturk/ this is work fine me. I can't understand you. the error not showing me, im try ff, opera, chrome, ie6,  ie7.if you want screen shot, i can send you.
So Long

LinK187

Quote from: Özgür | ЯocKayseri on January 16, 2009, 10:02:56 AM
@martrek
Can you upload your style.css and index.template.php? url.. any url..
@LinK187
Please send any url to demo topic. I can't help you this way.
Im try the my site  : http://www.rockayseri.net/rk/turk-rock-and-metal/ozturk/ this is work fine me. I can't understand you. the error not showing me, im try ff, opera, chrome, ie6,  ie7.if you want screen shot, i can send you.

I'll pm you a link.

LinK187

Also it post 3 messages for some reason instead of one post, when i delete one, they all go.

I think i will just remove this mod.

martrek

#12
I've sent my files by pm.

My url: http://www.forosdelmisterio.es

Thanks.
SMF 2.0 RC3

Yağız...

Quote from: LinK187 on January 16, 2009, 10:32:47 AM
Also it post 3 messages for some reason instead of one post, when i delete one, they all go.

I think i will just remove this mod.
This mod adds just a BBcode. It doesn't touch something from db nor from other files.

Quote from: martrek on January 16, 2009, 10:35:13 AM
I've sent my files by pm.

My url: http://www.forosdelmisterio.es

Thanks.
Give a post link that uses this mod.

martrek

Quote from: Yağız on January 16, 2009, 10:55:46 AM
Give a post link that uses this mod.

For example, this: click here

My message is all with this tag "Bienvenido rcabrera69, un placer que hayas decidido compartir con nosotros ese primer comentario en los foros. Es un mundo en el que recomiendo a todo el mundo participe, que nadie se come a nadie"
SMF 2.0 RC3

Özgür

Quote from: LinK187 on January 16, 2009, 10:11:46 AM
Quote from: Özgür | ЯocKayseri on January 16, 2009, 10:02:56 AM
@martrek
Can you upload your style.css and index.template.php? url.. any url..
@LinK187
Please send any url to demo topic. I can't help you this way.
Im try the my site  : http://www.rockayseri.net/rk/turk-rock-and-metal/ozturk/ this is work fine me. I can't understand you. the error not showing me, im try ff, opera, chrome, ie6,  ie7.if you want screen shot, i can send you.

I'll pm you a link.

open your style.css and add

#text {margin:50px auto; width:500px}
.hotspot {color:#900; padding-bottom:1px; border-bottom:1px dotted #900; cursor:pointer}
#tt {position:absolute; display:block; background:url(images/tt_left.gif) top left no-repeat}
#tttop {display:block; height:5px; margin-left:5px; background:url(images/tt_top.gif) top right no-repeat; overflow:hidden}
#ttcont {font-size:11px; display:block; padding:2px 12px 3px 7px; margin-left:5px; background:#666; color:#FFF}
#ttbot {display:block; height:5px; margin-left:5px; background:url(images/tt_bottom.gif) top right no-repeat; overflow:hidden}

So Long

Yağız...

Quote from: martrek on January 16, 2009, 11:01:05 AM
Quote from: Yağız on January 16, 2009, 10:55:46 AM
Give a post link that uses this mod.

For example, this: click here

My message is all with this tag "Bienvenido rcabrera69, un placer que hayas decidido compartir con nosotros ese primer comentario en los foros. Es un mundo en el que recomiendo a todo el mundo participe, que nadie se come a nadie"
Find in your ..Themes/{your_theme}index.template.php file:
echo $context['html_headers'], '
Add after:
<script type="text/javascript" language="javascript" src="', $settings['default_theme_url'], '/tooltip.js"></script>

rölyef


Yağız...

Fixed an XHTML error. Just find in your ../Themes/{your_theme}/index.template.php:
<script type="text/javascript" language="javascript" src="', $settings['default_theme_url'], '/tooltip.js">
Replace with:
<script type="text/javascript" language="javascript" src="', $settings['default_theme_url'], '/tooltip.js"></script>

martrek

#19
Quote from: Yağız on January 16, 2009, 11:09:35 AM
Quote from: martrek on January 16, 2009, 11:01:05 AM
Quote from: Yağız on January 16, 2009, 10:55:46 AM
Give a post link that uses this mod.

For example, this: click here

My message is all with this tag "Bienvenido rcabrera69, un placer que hayas decidido compartir con nosotros ese primer comentario en los foros. Es un mundo en el que recomiendo a todo el mundo participe, que nadie se come a nadie"
Find in your ..Themes/{your_theme}index.template.php file:
echo $context['html_headers'], '
Add after:
<script type="text/javascript" language="javascript" src="', $settings['default_theme_url'], '/tooltip.js"></script>

I reupload with this and it doesn't work :(

.js is uploaded in the correct path.
SMF 2.0 RC3

Advertisement: