Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Conditions plugin

  • stephen
  • stephen
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
18 years 5 months ago #17376 by stephen
Replied by stephen on topic Re:Conditions plugin
Hey mikko,

I got it to work. I thought that I had applied that comprofiler change, but I double checked and I hadn't. Sorry about that.

But right now it is making a popup that says:
value=A, checked=undefined
when you select either 'A' or 'B' in my dropdown.

Is there a way to eliminate that?

Also, I noticed that it is working for me on IE, so I guess you made some changes? Thanks a lot!

stephen

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

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 5 months ago #17377 by mikko
Replied by mikko on topic Re:Conditions plugin
It is a development version and because of this has some debugging things on.

Search for the line on hte source code that creates the comment and delete it.

I might take a look at codin next monday, but other than that there will be no updates in the next two weeks.

mikko

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

  • stephen
  • stephen
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
18 years 5 months ago #17378 by stephen
Replied by stephen on topic Re:Conditions plugin
Okay, no problem...
I think that I found which line it is in case anyone else is interested.

Line 82 in conditions.php:
$ret.="\nalert('value='+node.value+', checked='+this.checked);";

stephen

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

  • smeallum
  • smeallum
  • OFFLINE
  • Posts: 26
  • Thanks: 0
  • Karma: 3
18 years 5 months ago #17381 by smeallum
Replied by smeallum on topic Re:Conditions plugin
what file are you talking about?

Cheers,
NiCo

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

  • stephen
  • stephen
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
18 years 5 months ago #17391 by stephen
Replied by stephen on topic Re:Conditions plugin
Not sure if you were referring to my post, but it is in conditions.php

For your question about editing either #_comprofiler_fields or #_comprofiler_field_values:
you can edit either one depending on what you want to show for each condition.
If you have a dropdown list that you want to show for a condition then only apply it to the #_comprofiler_fields, if you want certain fields in your list to show then you have to apply it to those fields in #_comprofiler_field_values.

stephen

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

  • smeallum
  • smeallum
  • OFFLINE
  • Posts: 26
  • Thanks: 0
  • Karma: 3
18 years 5 months ago #17396 by smeallum
Replied by smeallum on topic Re:Conditions plugin
thanks Stephen.

And since my conditions are still not working, i would like to receive answers to 2 questions, since it's may only chance of maybe finding what might be wrong in my installation:

1) I see in your previous post that you mention that something gives you an error...which is in line 82...i cannot identify what exactly you are talking about(what file), and since i am not having that issue, i suspect that i might have an old version of something? Can you tell me what file you were talking of?


2) does this line(which is missing in the current comprofiler.html.php) have to be added:

<?php $_PLUGINS->loadPluginGroup('user');


Cheers,
NiCo

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

Moderators: beatnantkrileon
Powered by Kunena Forum