| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 8905|Reply: 11
Collapse the left

OverLib for posts

[Copy link]
Post time: 2014-01-26 00:32
| Show all posts |Read mode
The easiest way to see how it works:



Install:

1. Upload overlib.js file to /your_forum/static/js .
2. Edit template/your_template/common/header.htm

BEFORE
  1. </head>
Copy the Code
PUT
  1. <script type="text/javascript" src="{$_G[setting][jspath]}overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
Copy the Code
AFTER
  1. <BODY>
Copy the Code
PUT
  1. <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
Copy the Code
3. Save and upload on your FTP server.4. Clear cache!
5. Settings:


Tag(s)definition
Replacement content
  1. <a href="javascript:void(0);" onmouseover="return overlib('{1}', CAPTION, '<i>{2} - what does it mean?</i>');" onmouseout="return nd();">{2}</a>
Copy the Code
Example[definition=what does it mean text]text[/definition]
ExplanationThe tag [definition] deposits words with an explanation respectively a definition.
Number of parameters2
Parameter promptPlease enter the definition of word.
Nested depth1
Allow this BB-code for the user groupSelect as you wish.



How to use:
Select your word(s) then click on your bbcode tag. Now you can put definiton of your selected word(s).

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

Rate

Number of participants 1Rating +1 Collapse Reason
vot + 1 Very nice!

View Rating Log

Post time: 2014-01-26 05:32
| Show all posts
Any info that doing it will help with what? Or will be good for what?
 Author| Post time: 2014-01-26 13:45
| Show all posts
You can use this bbcode for explanation of any words. Just something like dictionary. OverLib is fully customizing. For more information click here.

 Turkey

Post time: 2014-01-27 14:56 From the mobile phone
| Show all posts
İ love it.İf user dont know about some word.Like android root  he can learn easy its like litle tip box its great for my forum but ui bad do u know modern ui?
 Author| Post time: 2014-01-27 16:25
| Show all posts
Above your post you can find documentation about changing behavior or personalizing of overlib.
 Author| Post time: 2014-01-27 20:48
| Show all posts
I forgot to include the file....

Comments

Pme
:D  Post time 2014-01-28 01:47

 Turkey

Post time: 2014-01-28 01:55
| Show all posts
Edited by Pme at 2014-1-28 03:15

Tested and working thanks kaaleth
http://mtkdestek.tk/forum.php?mo ... page=1&extra=#pid63

Bro How can we use it for all MTK words or other words?

Comments

No idea at the moment, moreover I found a little conflict in JS files.  Post time 2014-01-28 11:45
 Author| Post time: 2015-02-15 19:56
| Show all posts
@Pme

I have found out solution for your question.

1. If your plugin is ready to use, go to the ACP -> Users -> Bad Word Filter
2. Click on "Add new" buton.
3. Some tips:

Bad word - word that will be replaced/
Replacement - paste full code that will be showed.
Word type - you can leave it as empty.

Known issues:

You cannot create topic when you will use "bad word" inside topic name.

My examples:

  

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Turkey

Post time: 2015-02-18 00:25
| Show all posts
kaaleth 2015-2-15 19:56
@Pme

I have found out solution for your question.

Thanks for update
But ıf we cant use bad words in topic name it is not good.If i want add info for "Android" i cant create threads using "Android" in topic name.And its useles for my  Android forum cause ı cant use  most used keywords on topic name.I need find other way

 Author| Post time: 2015-02-18 01:36
| Show all posts
Yes, this is what I said At the moment I have no solution for this. I'm sorry.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 04:08 GMT+3 , Processed in 0.095308 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list