To get access to the attachments Subscribe now
|
[1.6] Abbreviations
|
|
04-29-2010, 06:15 AM
(This post was last modified: 03-31-2012 10:20 PM by Lennart.)
Post: #1
|
|||
|
|||
|
[1.6] Abbreviations
There is a new version of this plugin for MyBB 1.6.6+ here!
Name: Abbreviations Description: If your users do like abbreviations, you might like this plugin. It allows the admin to add common abbreviations and a explanation of these abbreviations in Admin CP and these explanations will be displayed if a user hovers over an abbreviation in a post. For better understanding, this is the original request by Disciple of Nagash, credits to him. You can of course use this for any help text or something else too. Features: - fully language compatible using language files (english and german language included!) - settings as known from all of my plugins - complete new ACP page under configuration Note: If you do add a lot of abbreviations, it might slow down your forum. Decrease the ammount if you feel that sites are loading slower. Demo: - Version: 1.1 Compatibility: 1.4.x / 1.6.x Adds files: ![]() Changes files: ![]() Adds templates: ![]() Changes templates: ![]() Adds to database: ![]() Changes database: ![]() Screenshots: manage.png (Size: 71.37 KB / Downloads: 67)
ACP overview + deleting Abbreviations - Add abbreviation_1272483824295.png (Size: 12.7 KB / Downloads: 75)
ACP adding thread with hint.png (Size: 80.58 KB / Downloads: 54)
Turns out in the showthread as Board Settings - Abbreviations plugin_1272485521632.png (Size: 13.6 KB / Downloads: 44)
Settings page Installation: Inside the ZIP-Archive you will find several folders, upload all of them to your MyBB-root. Install+Activate the plugin. Then you should see a new menu item under config in ACP called "Abbreviations". Add new abbreviations there. At the end, don't forget to adjust the settings to your needs! Upgrade from Version 1.0 to 1.1: Overwrite the old inc/plugins/abbreaviations.php with the new one from the archive. You don't need to activate/install the plugin again. Download for subscribers: Abbreviations.zip (Size: 6.92 KB / Downloads: 28)
With downloading this plugin you agree with the license rules. Changelog: 1.0 first release 1.1 fixed abbreviations inside other words (only stand alone words are now taken as abbreviations) Forum Admin
|
|||
|
04-29-2010, 07:12 AM
Post: #2
|
|||
|
|||
|
Great addon lennart let me be the first to say thank you
|
|||
|
04-29-2010, 07:37 AM
Post: #3
|
|||
|
|||
|
RE: Abbreviations
Nooooooo! I wanted to be the first to say thank you! Curse you Scarface!
![]() Anyway I have tested this and it is working great. The only thing I would like is the ability to format the abbreviation, so it stands out and makes it clear that is a abbrev that can be hovered over? |
|||
|
04-29-2010, 08:13 AM
Post: #4
|
|||
|
|||
|
RE: Abbreviations
That can be done of course, I can eighter add a setting for it or you can do it yourself.
Find in the inc/plugins/abbreviations.php in line 156: Code: You cannot view this code until you login or registerCode: You cannot view this code until you login or registerMatching CSS attributes could be for example: underlined text: text-decoration:underline italic text: font-style:italic Don't forget to close CSS arguments with ; Best regards and thanks to you two Lennart Sauter Forum Admin
|
|||
|
05-13-2010, 07:15 AM
Post: #5
|
|||
|
|||
|
RE: Abbreviations
Just wanted to say I did this and it is working fantastically! One of the best and easiest plugins ever!
One quick question - do you know what the CSS attribute is for a dotted underline? |
|||
|
05-14-2010, 03:17 AM
Post: #6
|
|||
|
|||
|
RE: Abbreviations
Thank you
![]() Dotted underlines hmm, you could try something like that: Code: You cannot view this code until you login or registerFound via google, didn't try it. Forum Admin
|
|||
|
05-15-2010, 07:20 AM
(This post was last modified: 05-15-2010 07:22 AM by Disciple of Nagash.)
Post: #7
|
|||
|
|||
|
RE: Abbreviations
Hey, that worked - thanks very much.
However I have noted a slight issued with the plugin, either picking up letters out of words when it shouldn't, for example one of my abbrev is BB which is an abbrev of Biting Blade. However it highlights BB if I write MyBB. Basically it should not be selecting letters out of the middle of a word. Secondly, it also seems to get confused over which abbrev to us. If I have two abbrev such as: WHFB = Warhammer Fantasy Battle FB = Fell Blade It is for some reason only show the abbrev for the FB in WHFB. Hope that makes sense? EDIT: It is also doing it if someone write in capitals, such as I have an abbrev AT = Abyssal Terror, but it will highlight the AT if someone writes "WHAT?" |
|||
|
05-15-2010, 07:57 AM
Post: #8
|
|||
|
|||
|
RE: Abbreviations
I understand.
Could you please try the following: In the plugin file at line 156 find: PHP Code: You cannot view this code until you login or registerPHP Code: You cannot view this code until you login or registerIf that does not work out I'll have to look for a better regex... Forum Admin
|
|||
|
05-15-2010, 08:49 AM
Post: #9
|
|||
|
|||
|
RE: Abbreviations
Hey,
That didn't work. It through up about 2/3 pages worth of database errors? |
|||
|
05-15-2010, 11:07 AM
Post: #10
|
|||
|
|||
|
RE: Abbreviations
Database errors? Something was wrong then lol
Forum Admin
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Startpage
Subscribe
Search
Member List
Help








