Legacy Files loaded for users that don't have access

Status
Not open for further replies.

tavenger5

Customer
I noticed that all files that are needed for the shoutbox (jquery.tmpl.min.js, vbshout.js, dbtech_vbshout.css, dbtech_vbshout_colours.css, dbtech_vbshout_editor.css) are loaded for users that do not have access to it. Would it be possible to load these files only for those that have access, or at least not load them for guests?
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Those files are loaded before the permission checks happen, and due to the multiple instance system it's possible they have access to alternative instances.

It's something we've been getting requests for in the past, and we'll be looking into it for future versions :)
 
fyi, in the meantime I put this around the contents of dbtech_vbshout_css

Code:
<vb:if condition="is_member_of($bbuserinfo,5,6,7)">
 
Status
Not open for further replies.

Similar threads

Replies
1
Views
883
Replies
6
Views
1K
  • Locked
  • Suggestion
Replies
0
Views
432
Back
Top