[RC] Hide BBcode

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [BETA] Hide BBcode

Post by nero » Tue Jul 21, 2015 1:29 am

Is there a d/l soon?

John45
Registered User
Posts: 199
Joined: Sat Jun 08, 2013 2:54 am

Re: [BETA] Hide BBcode

Post by John45 » Tue Jul 21, 2015 5:18 am

nero wrote:Is there a d/l soon?
Grab it from here: https://github.com/marcovo/phpbb_hidebbcode

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [BETA] Hide BBcode

Post by nero » Tue Jul 21, 2015 6:13 am

John45 wrote:
nero wrote:Is there a d/l soon?
Grab it from here: https://github.com/marcovo/phpbb_hidebbcode
How do you install this one? I put under /ext/marcovo/phpbb_hidebbcode but it wont show up on the Extension list...

Miri4ever
Registered User
Posts: 414
Joined: Sat Mar 07, 2015 11:18 am

Re: [BETA] Hide BBcode

Post by Miri4ever » Tue Jul 21, 2015 4:05 pm

It does not show up anywhere. Look inside your bbcodes your got a new one called [hide]

Use this inside your postings like normal codes and you will see hidden text box.

Correct extension folder should be:

/ext/marcovo/hide_bbcode

Best use extensions uploader and getting no problems with wrong folders.
Homepage: Terra Oceanica

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Hide BBcode

Post by FomenkoAndrey » Tue Jul 21, 2015 4:31 pm

about compatibility with AJAX quick reply ...
went completely redesigned new version has a FAQ solution compatibility issues.

marcovo, look at the information on the link
http://www.phpbbguru.net/community/topi ... ml#p465746
Как подружить это расширение с другим? As an extension to make friends with the other?

I tried to translate for you...
Template correction:
If any extension adds functionality to JavaScript-messages, you need to wrap this functionality to the function:

Code: Select all

function FUNCTION_NAME(e, elements) {
// function Code.
}
Then add:

Code: Select all

$(document).ready(function (e) {
   FUNCTION_NAME(e, $(document));
});
$('#qr_posts').on('qr_loaded', FUNCTION_NAME);
If JavaScript-added functionality for the content of messages (for example, text or images), then after that you need to add (perhaps in the amended form):

Code: Select all

$('#qr_postform').on('ajax_submit_preview', function (e) {
   FUNCTION_NAME(e, $('#preview'));
});
FUNCTION_NAME you need to come up with a unique.

Inside the function may need to replace characters in the $ elements.find, it should be done only for the code to work directly with the internal elements of the message threads.

In the near future they will be sent to Pull Requests for compatibility with some existing extensions.

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [BETA] Hide BBcode

Post by nero » Wed Jul 22, 2015 12:38 am

Miri4ever wrote:It does not show up anywhere. Look inside your bbcodes your got a new one called [hide]

Use this inside your postings like normal codes and you will see hidden text box.

Correct extension folder should be:

/ext/marcovo/hide_bbcode

Best use extensions uploader and getting no problems with wrong folders.
I tried ext/marcovo/hide_bbcode and it does not work (doesnt show up on the list).

John45
Registered User
Posts: 199
Joined: Sat Jun 08, 2013 2:54 am

Re: [BETA] Hide BBcode

Post by John45 » Wed Jul 22, 2015 2:25 am

nero wrote:
Miri4ever wrote:It does not show up anywhere. Look inside your bbcodes your got a new one called [hide]

Use this inside your postings like normal codes and you will see hidden text box.

Correct extension folder should be:

/ext/marcovo/hide_bbcode

Best use extensions uploader and getting no problems with wrong folders.
I tried ext/marcovo/hide_bbcode and it does not work (doesnt show up on the list).
/ext/marcovo/hideBBcode/

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Hide BBcode

Post by FomenkoAndrey » Thu Jul 23, 2015 8:06 am

http://www.phpbbguru.net/community/topi ... ml#p466777
LavIgor wrote:Do you want to post replies to this topic via Ajax all hidden text on a page to load automatically?

You need a fairly large-scale work, and that should do the extension.
He must add a script that would deal with this very podgruzku texts or update the page after a quick replay.

In any case, the problem is known to the author: https://github.com/marcovo/phpbb_hidebbcode/issues/4.
From the QR as such, it does not depend on: everyone now has the desired event.
You can then write to the author, when I lay out the extension on the official site.

LavIgor
Registered User
Posts: 541
Joined: Mon Apr 28, 2014 1:47 pm

Re: [BETA] Hide BBcode

Post by LavIgor » Thu Jul 23, 2015 3:57 pm

FomenkoAndrey wrote:
LavIgor wrote:this very podgruzku
:lol:
So here is the better translation.

I've prepared a new version of QuickReply extension that is now called "QuickReply Reloaded".

The problem is that hidden texts are not shown to the users after they submit a reply to the topic with QuickReply form until they refresh the page.
The issue is already known: https://github.com/marcovo/phpbb_hidebbcode/issues/4.

The new version introduces JavaScript event ajax_submit_success that can be used by extension developers to detect the fact of replying to the topic.

Simply add the following JS code somewhere on the viewtopic page:

Code: Select all

$('#qr_postform').on('ajax_submit_success', function (e) {
// The code that updates hidden texts.
});

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Hide BBcode

Post by FomenkoAndrey » Thu Jul 23, 2015 3:58 pm

thank U ))))

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [BETA] Hide BBcode

Post by marcovo » Tue Aug 04, 2015 9:10 am

Thanks FomenkoAndrey and LavIgor for your input. I've added QuickReply compatibility, for more details refer to the issue page:
https://github.com/marcovo/phpbb_hidebbcode/issues/4

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Hide BBcode

Post by FomenkoAndrey » Tue Aug 04, 2015 6:42 pm

thank U, i tested update, look like work!

Miri4ever
Registered User
Posts: 414
Joined: Sat Mar 07, 2015 11:18 am

Re: [BETA] Hide BBcode

Post by Miri4ever » Wed Aug 05, 2015 9:52 am

Update caused some little trouble, because of chance of the folder structure since I last updated. Very old posts didn't parsed anymore the hidden message and sometimes need to submitted twice or copied twice to get it working again.

But it's fine I tink, need only to removed the old exenstion still listed as missing inside extensions tab with the old folders.
Homepage: Terra Oceanica

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [BETA] Hide BBcode

Post by marcovo » Wed Aug 05, 2015 11:11 am

You're right Miri; I did not realize that phpBB's coding guidelines impose that no underscore ( _ ) may be used in the vendor and/or extension tag. So I was forced to change it... if you deactivate the old version (you should not delete the data I guess!), remove it from the extensions directory, and install the new version, it should all be OK.

Miri4ever
Registered User
Posts: 414
Joined: Sat Mar 07, 2015 11:18 am

Re: [BETA] Hide BBcode

Post by Miri4ever » Wed Aug 05, 2015 12:14 pm

The problem was I got both versions showing up and deleted the old. Don't know what inside the database is done, some topic maybe still calling the old one and some the new. But getting this fixed I think and this error inside extension lists:

Code: Select all

Die Erweiterung „marcovo/hide_bbcode“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/marcovo/hide_bbcode/composer.json
could be removed with MYSQL I think to not show up anymore. Don't wanted to delete both and loosing data if disable and purge both. PHPBB is still heavy work to get back missing BBcodes to work editing every topic again. Hope some soon develops a loop ext to reparse all existing BBcodes inside database. It would make your work more easy. :)
Homepage: Terra Oceanica

Locked

Return to “Abandoned Extensions”