Page 1 of 1

[DEV] Better Prompt 4 BBCodes v.0.0.2

PostPosted: 01 Oct 2011, 13:44
by Sekuro
Better Prompt 4 BBCodes

MOD-Title: Better Prompt 4 BBCodes
MOD-Version: 0.0.2
MOD-Author: 4seven

Request by: xomp
Request Thread: http://www.phpbb.com/community/viewtopi ... 45&start=0

Credits: Cory LaViska / © 2008 - A Beautiful Site, LLC.
License: GNU General Public License v2 / MIT License

phpBB-Version: phpBB 3.0.*
phpBB-Languages: en/de*
phpBB-Styles: prosilver/subsilver2*

MOD-Description: This Mod adds a new Prompt for BBCodes

Features:
- Smooth and stylish jQuery Prompt for BBCodes
- No Script Warn Message in sucking IE anymore
- Language-Variables instead of Hardcoded
- Design full customizable via css
- Expandable for any BBCode
- Multi Browser Compatible
- Easy install

MOD-Demo: http://4seven.bplaced.net/forum/media/postin ... &f=9&t=486
un: test / pw: testuser

click testwise on [Img], [URL], [Flash] or other [BBCode], where it make sense..

Download:
Better_Prompt_4_BBCodes_v.0.0.2.zip
(67.81 KiB) Downloaded 943 times

*Download - de/subsilver:
Better_Prompt_4_BBCodes_v_0_0_2_subsilver2_en_de.zip
(65.51 KiB) Downloaded 629 times

Image

Image

--------------------

New in v.0.0.2:
- Fixing 'Set Caret Position' in all Browser

Better Prompt 4 BBCodes (Url only version) v.0.0.2

PostPosted: 12 Mar 2012, 22:26
by Sekuro
Better Prompt 4 BBCodes (Url only version) v.0.0.2


Re: [DEV] Better Prompt 4 BBCodes v.0.0.2

PostPosted: 20 Aug 2012, 00:03
by Sekuro
I correct the demo link in first post (it was the false board before)

Re: [DEV] Better Prompt 4 BBCodes v.0.0.2

PostPosted: 05 Sep 2012, 16:24
by 4seven
Saved from here: https://www.phpbb.com/community/viewtop ... #p13007668

Update #1 v.0.0.2

- Till today you must move your mouse over to prompt window to get the focus to the prompt textfield.
- Now it have auto focus, even if you click one of the 'better 'prompted' buttons.
- So you can write just after the click.

I searched a time for a solution related to this bug(!) and now it is simple as it can be.
We live and learn :D

open

styles/prosilver/template/posting_buttons.html

find

Code: Select all
</div>
<!-- ENDIF --> 


after add

Code: Select all
    <script type="text/javascript">
    // <![CDATA[
    $('input.button2').click(function(){
    if ($("#popup_prompt").length){
    $("#popup_prompt").focus();}
    });
    // ]]>
    </script>


Clear all board- and browser-caches

--------------

- Demo is updated
- Package will be updated soon

Re: [DEV] Better Prompt 4 BBCodes v.0.0.2

PostPosted: 16 Feb 2013, 20:46
by Sekuro
Fix #1 for v.0.0.2

Reason: Mod stops working because of deprecated $.browser function in current jquery

open

jquery/jquery.alerts.js

find

Code: Select all
            // IE6 Fix
            var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'


replace with

Code: Select all
            // IE6 Fix
            // var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; 
            var pos = 'fixed'


open

Code: Select all
            // IE6 fix
            if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop(); 


replace with

Code: Select all
            // IE6 fix
            // if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop();     


Demo is updated.

Re: [DEV] Better Prompt 4 BBCodes v.0.0.2

PostPosted: 24 Feb 2013, 20:56
by Sekuro
Info

Better_Prompt_4_BBCodes_v.0.0.2.zip
and
Better_Prompt_4_BBCodes_v_0_0_2_subsilver2_en_de.zip
package contains now all current fixes.

Subsilver2 Version now have v.0.0.2 state (instead of v.0.0.1).