Skip to Content Skip to Menu

Conditions plugin

  • ralex
  • ralex
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
18 years 3 months ago #17976 by ralex
Replied by ralex on topic Re:Conditions plugin
Miko.. can u have a look at my site as well ... really need this plugin to work in ie and opera ... tq:dry:

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 3 months ago #17977 by mikko
Replied by mikko on topic Re:Conditions plugin
smeallum wrote:

thanks :)

I just PM'ed you the details.

Chers,
NiCo


I noticed two problems. First, there is a city called Faga'alu. The character ' is used to terminate strings and the plugin cannot escape it causing the script to abort. Did you ever check javascript console yourself? It is a really helpful tool when doing troubleshooting.

The second problem is that your profile page is over 4 megabytes of size. This is due to the enormous length of the JS generated by the plugin. To solve this problem, the plugin needs to be refactored to reduce the amount of code.

mikko

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 3 months ago #17978 by mikko
Replied by mikko on topic Re:Conditions plugin
ralex wrote:

Miko.. can u have a look at my site as well ... really need this plugin to work in ie and opera ... tq:dry:


PM me the details of your site.

mikko

Please Log in or Create an account to join the conversation.

  • ralex
  • ralex
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
18 years 3 months ago #17980 by ralex
Replied by ralex on topic Re:Conditions plugin
miko.. please check ur pm ..tq

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 3 months ago #17990 by mikko
Replied by mikko on topic Re:Conditions plugin
ralex wrote:

miko.. please check ur pm ..tq


I checked this. There is a bug in the plugin code. In firefox, the object 'this' refers to a object that creates an event, in this case an input field. In IE this refers to the whole html document. This needs to be fixed, but I am uncertain on when I have time.

For your application (hiding entire tabs) a much better solution would be to take my privacy ploicy stub and extend it to implement true access control on tab level. Note that conditions will do nothing if user disables javascript and it is not a security solution because of this.

mikko

Please Log in or Create an account to join the conversation.

  • ralex
  • ralex
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
18 years 3 months ago #18001 by ralex
Replied by ralex on topic Re:Conditions plugin
thanks man... i'll try ur suggestion...:)

tried the plugin but no luck ...
i'm stuck ...

- install and published the plugin

- plugin id = 100
- tabs: 1. group1, 2. group2, 3. group3
- i created new field (DropDown -single select, tab: group3, name: cb_privacypolicy, title: option, value: A, B)
* group1 belongs to A, group2 - B and group3 belongs to everybody)

can u help me to go from here...

Post edited by: ralex, at: 2006/08/01 19:32

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum