Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Products & Extensions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yilmaz - Hide [code,php,html] content from guests (vb5.6.x) Details »»
Yilmaz - Hide [code,php,html] content from guests (vb5.6.x)
Version: 1.3.1, by yilmaz yilmaz is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 5.5.5 Rating:
Released: 10-26-2020 Last Update: 03-25-2022 Installs: 11
Supported
Additional Files  

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"

Download Now

File Type: zip Yilmaz - Hide [code,php,html] content from guests.zip (4.7 KB, 13 views)

Screenshots

File Type: png 2020.10.27-14_37_54.png (41.6 KB, 0 views)
File Type: png 2020.10.27-14_39_26.png (158.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
lange

Comments
  #2  
Old 10-27-2020, 08:24 PM
Chicoynano's Avatar
Chicoynano Chicoynano is offline
 
Join Date: Aug 2017
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: png no clik.png (24.3 KB, 0 views)
File Type: jpg falta.jpg (46.2 KB, 0 views)
File Type: jpg code final.jpg (39.6 KB, 0 views)
Reply With Quote
Благодарность от:
yilmaz
  #3  
Old 10-27-2020, 10:55 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.
Attached Images
File Type: jpg 2020.10.28-00_54_06.jpg (71.4 KB, 0 views)
File Type: png 2020.10.28-00_43_55.png (20.5 KB, 0 views)
Reply With Quote
  #4  
Old 10-28-2020, 01:09 AM
Chicoynano's Avatar
Chicoynano Chicoynano is offline
 
Join Date: Aug 2017
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far i got this
Attached Images
File Type: png Captura de pantalla 2020-10-28 a las 3.07.02.png (27.6 KB, 0 views)
Reply With Quote
  #5  
Old 10-28-2020, 05:13 AM
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 10-28-2020, 07:34 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zweeper View Post
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
Attached Images
File Type: png 2020.10.28-09_13_24.png (27.9 KB, 0 views)
Reply With Quote
  #7  
Old 10-28-2020, 07:38 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chicoynano View Post
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.
Reply With Quote
  #8  
Old 10-28-2020, 08:13 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zweeper View Post
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
Attached Images
File Type: png 2020.10.28-10_07_14.png (23.5 KB, 0 views)
Reply With Quote
  #9  
Old 10-28-2020, 08:20 AM
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work now! Good job, nice hack! I keep on testing
Reply With Quote
Благодарность от:
yilmaz
  #10  
Old 10-28-2020, 10:51 AM
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Location: Montreal (Canada)
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much! I will test later.
Reply With Quote
Благодарность от:
yilmaz
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05009 seconds
  • Memory Usage 2,357KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (11)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete