vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Show Thread Enhancements - Yilmaz - Hide [code,php,html] content from guests (vb5.6.x) (https://vborg.vbsupport.ru/showthread.php?t=328306)

yilmaz 10-26-2020 10:00 PM

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"

Chicoynano 10-27-2020 08:24 PM

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.

yilmaz 10-27-2020 10:55 PM

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.

Chicoynano 10-28-2020 01:09 AM

1 Attachment(s)
So far i got this

Zweeper 10-28-2020 05:13 AM

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

yilmaz 10-28-2020 07:34 AM

1 Attachment(s)
Quote:

Originally Posted by Zweeper (Post 2604402)
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

I tested it again in VB 5.6.4, if I put the text.php line 18 in front of it with // comment, it will be what you said. 18. This line will delete the cache.
The problem may be whether or not line 18 works.

core/packages/yilmazhidebbcodes/api/ content/text.php on 18. Screenshot

yilmaz 10-28-2020 07:38 AM

Quote:

Originally Posted by Chicoynano (Post 2604399)
So far i got this

It's bad that there is no separate login page in VB 5.x.x.
How do we detect the login link, that's the problem.

yilmaz 10-28-2020 08:13 AM

1 Attachment(s)
Quote:

Originally Posted by Zweeper (Post 2604402)
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

Cache issue fixed in version 1.2.0

Zweeper 10-28-2020 08:20 AM

Seems to work now! Good job, nice hack! :) I keep on testing

lange 10-28-2020 10:51 AM

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
  • Page Generation 0.01144 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete