Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 10:23 pm EST
Geeklog Forums
Prevent Users from Hiding Blocks
Chad
Anonymous
I am using blocks to add google ads to the right bar of my site. This works great, except that the users can go into their "Preferences" page and disable my ad block. Is there anyway of preventing users from disabling the blocks I create?
3
5
Quote
cbrantly
Anonymous
Any help? I still haven't figured out how to do this.
5
5
Quote
Status: offline
eg0master
Forum User
Regular Poster
Registered: 07/21/05
Posts: 73
Location:Stockholm
You may edit the theme (however a skilled user might create his own form and post settings to hide the ad block anyway, but you can detect this in the database).
In your theme find the file "preferences/displayprefs.thtml" and in that file remove the "{boxes_block}"-line.
Geeklog Plugins: http://plugincms.com
In your theme find the file "preferences/displayprefs.thtml" and in that file remove the "{boxes_block}"-line.
Geeklog Plugins: http://plugincms.com
5
5
Quote
All times are EST. The time is now 10:23 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content