Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Yilmaz - Hide [code,php,html] content from guests (vb5.6.x) Details »
Yilmaz - Hide [code,php,html] content from guests (vb5.6.x)
Mod Version: 1.3.0, by yilmaz (Coder/Designer) yilmaz is offline
Developer Last Online: Dec 2020 I like it Show Printable Version Email this Page

vB Version: 5.5.5 Rating: (1 vote - 5.00 average) Installs: 6
Released: 27 Oct 2020 Last Update: 29 Oct 2020 Downloads: 23
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.


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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	2020.10.27-14_37_54.png
Views:	26
Size:	41.6 KB
ID:	157839   Click image for larger version

Name:	2020.10.27-14_39_26.png
Views:	32
Size:	158.6 KB
ID:	157840  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Yilmaz - Hide Links From Guests (Compatible 5.6.x) yilmaz vBulletin 5.x Products & Extensions 3 07 Nov 2020 22:58
Mini Mods Yilmaz - vb5 GDPR I AGREE yilmaz Modification Graveyard 5 29 Jun 2018 16:39
Show Thread Enhancements MARCO1 Hide Thread Content - With excluding forum to hide content MARCO1 vBulletin 4.x Add-ons 81 06 Jun 2018 22:15
Show Thread Enhancements MARCO1 Hide Thread Content - With excluding forum to hide content MARCO1 vBulletin 3.8 Add-ons 14 03 Aug 2014 15:38

  #16  
Old 29 Oct 2020, 16:03
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Originally Posted by delicjous View Post
Thats only a part of my suggestion but even that is more solid than before (recommand if empty because options could be empty!).
Now you have the best solution for users who cachebbcodebyusergroup, but if not cachebbcodebyusergroup the entire cache is still emtied every time a user look into a post. The cache of 30 posts are about 1MB of data, so if you have 30 000 posts and a highly frequented forum you have around 1000 MB data without cache by usergroup, even you use only 5 usergroups the cache could grow fast. So this option is not good for everyone.
You are absolutely right.
The bbcode_code, bbcode_html and bbcode_php templates do not appear in the results.
If it was out, I would replace these templates with other templates.
This topic gives clues. https://www.vbulletin.org/forum/showthread.php?t=327871
Reply With Quote
  #17  
Old 29 Oct 2020, 17:37
shka shka is offline
 
Join Date: Mar 2016
Another approach: I had created a prototype for zweeper with a frontend controller. This means that the post / bbcode only contains a placeholder and an ajax call, the frontend controller can map any complex (cachable) display logic based on the ajax credentials.

Advantage: No cache reset necessary
Disadvantage: An additional ajax call for each content to be hidden. So only useful for certain constellations (in the case of Zweeper only a hide bbcode in the first post of a thread / blog).

PS @zweeper: Ja du hättest die Tabelle einfach löschen können, nur dann einmalig den Cache leeren.
Reply With Quote
  #18  
Old 30 Oct 2020, 06:35
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Originally Posted by delicjous View Post
Thats only a part of my suggestion but even that is more solid than before (recommand if empty because options could be empty!).
Now you have the best solution for users who cachebbcodebyusergroup, but if not cachebbcodebyusergroup the entire cache is still emtied every time a user look into a post. The cache of 30 posts are about 1MB of data, so if you have 30 000 posts and a highly frequented forum you have around 1000 MB data without cache by usergroup, even you use only 5 usergroups the cache could grow fast. So this option is not good for everyone.



So that actually can cause my servers RAM usage grow high, right? because I think i just experience that.
Reply With Quote
  #19  
Old 30 Oct 2020, 06:36
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Originally Posted by shka View Post
Another approach: I had created a prototype for zweeper with a frontend controller. This means that the post / bbcode only contains a placeholder and an ajax call, the frontend controller can map any complex (cachable) display logic based on the ajax credentials.

Advantage: No cache reset necessary
Disadvantage: An additional ajax call for each content to be hidden. So only useful for certain constellations (in the case of Zweeper only a hide bbcode in the first post of a thread / blog).

PS @zweeper: Ja du hättest die Tabelle einfach löschen können, nur dann einmalig den Cache leeren.

And it still works greate
Reply With Quote
  #20  
Old 30 Oct 2020, 07:55
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
All of you should vote for this bug-/ featurerequest-reports:

https://tracker.vbulletin.com/vbulle...sues/VBV-17825
https://tracker.vbulletin.com/vbulle...ssues/VBV-5356

Delete the cache always rise server-usage and will slow down the page. Means it must be possible to modify the content on presentationlayer and not behind the scenes. Right now ...
1. cache have to be cleaned (fully or like I do/ did for the post with bbcode in it) = first database action
2. modify the post content (all in php and only a little serverpower needed)
3. build new cache (for the one post or in this mod fully) = second database action

If the cache emtied fully the entire cache of all post, stylevars, styles ... builds up every pageview.
__________________
vBulletin-Forum.de closed!
Reply With Quote
  #21  
Old 30 Oct 2020, 08:40
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Done voting!
Reply With Quote
  #22  
Old 30 Oct 2020, 11:33
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Done voting!
Reply With Quote
  #23  
Old 30 Oct 2020, 11:45
shka shka is offline
 
Join Date: Mar 2016
Dann auch done getan.
Reply With Quote
  #24  
Old 30 Oct 2020, 17:12
Chicoynano's Avatar
Chicoynano Chicoynano is offline
 
Join Date: Aug 2017
Done voting!
Reply With Quote
  #25  
Old 30 Oct 2020, 17:35
lange lange is offline
 
Join Date: Apr 2003
Thank you very much

Donation sent by Paypal.
Reply With Quote
  #26  
Old 01 Nov 2020, 19:51
megabink's Avatar
megabink megabink is offline
 
Join Date: Oct 2011
Real name: John
Interesting addon...thanks Yilmaz
Reply With Quote
Reply

Tags
bbcode, guest, hidde, vb5.6.x


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:39.

Layout Options | Width: Wide Color: