Premium Post
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
-
- Ssr. Bludit
- Posts: 12
- Joined: Sat Nov 05, 2022 7:16 pm
- Has thanked: 7 times
- Been thanked: 3 times
Hello dear developer multicolordev.
I was waiting for such a plugin for bludit. Thanks a lot for this. . We need something like this to password-protect specific pages that only allowed people can access.
I have some critics or improvements for further versions: the manual of "Premium Post". Whats wrong with it? When you activate the plugin, you will got this information message:
I´ve made a small step-by-step text / manual (please correct me, if something is wrong):
- Bludit: it is even compatible with bludit v3.6.1 ! (it has written you need min. v3.13.1)
- Browser: min. google Chrome v41.0.22 (in too old browsers the plugin don´t show up)
Let me know what you think about my suggestions. Cheers.
I was waiting for such a plugin for bludit. Thanks a lot for this. . We need something like this to password-protect specific pages that only allowed people can access.
I have some critics or improvements for further versions: the manual of "Premium Post". Whats wrong with it? When you activate the plugin, you will got this information message:
I would assert, that no one know what file to edit and where to find it. So it means the current manual has too less information about how to use it (imho). It would be great if you can update the manual in the current version or in the next one. Just to let the people know how to use it correctly.Replace
<?php echo $page->content() ;?>
to
<?php get_passContent() ;?>
I´ve made a small step-by-step text / manual (please correct me, if something is wrong):
I did a small research about compatibility:1.) install the plugin by copying it to:
..\bl-plugins\ --> (..\bl-plugins\premium-post)
2.) activate the plugin inside bludit
3.) to make it work, you need to modify the file "page.php" inside your "THEME - folder". For example:
..\bl-themes\My_Theme\php\page.php
Replace this line:
<?php echo $page->content() ;?>
with this one:
<?php get_passContent() ;?>
4.) Back inside bludit, you can "edit" your existent "pages" / "static pages" or you can create "new" ones. Now you will have a new type-in "password-box" below the type-in "Title-Box". Keep it blank if you dont need a password. Or type a new password inside and it will be automaticaly active !
- Bludit: it is even compatible with bludit v3.6.1 ! (it has written you need min. v3.13.1)
- Browser: min. google Chrome v41.0.22 (in too old browsers the plugin don´t show up)
Let me know what you think about my suggestions. Cheers.
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
-
- Ssr. Bludit
- Posts: 12
- Joined: Sat Nov 05, 2022 7:16 pm
- Has thanked: 7 times
- Been thanked: 3 times
Hey.
Glad you see it as a motivation. Great. At least users can got some information how to use it inside the forum here
Doing a video is okay. Sometimes screenshots / pictures are serving better. Or just adding a more detailed text inside the plugin should be fine.
As you like, as you have time.
Cheers.
Glad you see it as a motivation. Great. At least users can got some information how to use it inside the forum here
Doing a video is okay. Sometimes screenshots / pictures are serving better. Or just adding a more detailed text inside the plugin should be fine.
As you like, as you have time.
Cheers.
-
- Jr. Bludit
- Posts: 1
- Joined: Sat Jan 07, 2023 7:51 am
Hi multicolordev,
Thank you so much for this plugin! And thank you in advance for the detailed tutorial, I managed without but it agree it will be helpful.
May I suggest a languages/fr_FR.json file (here below)? Would it also be possible to add custom language for js/addinput.js placeholder value? (In this case the French version could be "Ajouter un mot de passe").
Another suggestion is about the password encoding. plugin.php uses the utf8_decode function but as I understand it this replaces any character outside of ISO-8859-1 into an invalid character, such as "�". In my case, the password contains an "é" and this leads to unmatching even though the security/.txt file contains the right string when decoded. I solved this by removing the utf8_decode function (which seems to be obsolete?) but I'm not sure there's a security risk doing so, I'm far from being an expert. If you have another suggestion I'd be glad to hear it!
Many thanks again o/
Thank you so much for this plugin! And thank you in advance for the detailed tutorial, I managed without but it agree it will be helpful.
May I suggest a languages/fr_FR.json file (here below)? Would it also be possible to add custom language for js/addinput.js placeholder value? (In this case the French version could be "Ajouter un mot de passe").
Code: Select all
{
"plugin-data":
{
"name": "Premium Post",
"description": "Créer du contenu protégé par mot de passe"
},
"bad-password":"Mot de passe erroné",
"get-access":"Accéder",
"enter-the-password":"Entrer le mot de passe"
}
Many thanks again o/
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
2.0 is here!
What i changed?
https://github.com/multicolor-rgb/premi ... ds/2.0.zip
What i changed?
- -moved security folder to Bl-content
- -remove extension .txt
- -removed utf8 encoding.
https://github.com/multicolor-rgb/premi ... ds/2.0.zip