![]() |
Yilmaz - Hide [code,php,html] content from guests (vb5.6.x)
1 Attachment(s)
Tested in vbulletin version 5.6.4 works fine
Features: This mod makes it so you can hide [CODE] [PHP] [HTML] BBcode content from guests Hide [CODE], [HTML] ve [PHP] from Unregistered/Unverified account. Description: This product allows you to decide if you want to hide [CODE], [HTML] and [PHP] BBCode content from Unregistered/Unverified on your site. Hidden content is replaced by a link to your registration page for guests and a simple message for restricted user groups. ======================================== How to install: ======================================== Upload the content of Yilmaz - Hide [code,php,html] content from guests directory to your root. that's all it. enjoy.. Please Mark as Installed if you use this. :) Donations always appreciated. :up: 1.3.0 Cache issue fixed ======================================== How to uninstall: ======================================== 1. Remove the package "yilmazhidebbcodes" that located in /core/packages/ 2. Go to "Manage Products" in the admincp and delete the product named "Yilmaz - Hide [code,php,html] content from guests" |
1 Attachment(s)
I just want to make a suggestion just to point. In hiding html code the phrase Click Here To Register does not appearÂ… It is found in core / packages / yilmazhidebbcodes / api / content / text.php on line 50. Maybe you left it that way for some reason but I left screenshots for if it is of interest for the text to be displayed. As always, thank you very much for your work and I'm just trying to help.
|
1 Attachment(s)
@Chicoynano
Thank you for your attention. I edited the overlooked part. It does not accept bbcode and html tags in HTML and PHP. It is necessary to find a solution to this, I would be glad if someone who knows the solution definitely offers a suggestion. Thanks again. |
1 Attachment(s)
So far i got this
|
Hey, just installed, but problem as previous versions of this hack. Maybe it is just me?
1. Load a page with a hidden code as a guest, delete cache. 2. visit the page as user: code is hidden. 3. visit the page as user (you did that before), delete cache. 4. visit the page as a guest: code is not hidden and you can see all content Can anyone confirm this? VB 5.6.4 |
1 Attachment(s)
Quote:
The problem may be whether or not line 18 works. core/packages/yilmazhidebbcodes/api/ content/text.php on 18. Screenshot |
Quote:
How do we detect the login link, that's the problem. |
1 Attachment(s)
Quote:
|
Seems to work now! Good job, nice hack! :) I keep on testing
|
Thank you very much! I will test later.
|
All times are GMT. The time now is 07:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|