Skip to Content Skip to Menu

🏖 End of summer sale! Savings on all memberships including single add-ons! Get 25% off now with code SUMMER25!

Conditions plugin

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 9 months ago #25371 by mikko
Replied by mikko on topic Re:Conditions plugin
This is not possible. The plugin is only for "convenience", it hides fields or select values when editing. If you disable javascript, everythign will be shown.

mikko

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

  • ncghs
  • ncghs
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
17 years 9 months ago #26183 by ncghs
Replied by ncghs on topic Re:Conditions plugin
OK. This is getting really confusing...

I am a newb to CB and the conditions plugin, although I am a fairly good sys admin/programmer. Anywho, what are the steps to get the conditions plugin working for a CB 1.0.2 installation? The download on the main Download section of this site needs to be updated. It's very old.

The forum on this website kinda sucks... I def. agree with the Wiki idea, what's holding that up???

Thank you for the time to develop this plugin though, it's def. a great enhancement to CB.

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

  • w!l
  • w!l
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
17 years 9 months ago #26272 by w!l
Replied by w!l on topic Re:Conditions plugin
I'm watching this thread as well, this is exactly what I'm looking for, I can't find the plugin download? any clear instructions for installing would also be great.

many thanks
W

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

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 9 months ago #26290 by mikko
Replied by mikko on topic Re:Conditions plugin
The most recent version can be found at the downloads of this site.

mikko

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

  • ncghs
  • ncghs
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
17 years 9 months ago #26506 by ncghs
Replied by ncghs on topic Re:Conditions plugin
Thanks mikko for the update on the download!

I'm having a problem though. I installed the plug as per your README file, and setup a single condition so far.

I'm trying to do the classic "Display US States dropdown when USA is selected in Country dropdown."

I added a row in the jos_comprofiler_conditions table:
[code:1]ID Fieldname Value
0 cb_countrylist United States of America - USA[/code:1]

I then modified the jos_comprofiler_fields table:
[code:1]Name conditionid
cb_state ... 0[/code:1]

But when I go to the CB registration page on my website, the State dropdown is there even though I have not yet selected the Country.

Any advice? I'm sure this is probably a simple fix.

Thank you in advance.

James

Post edited by: ncghs, at: 2006/12/07 05:51

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

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 9 months ago #26516 by mikko
Replied by mikko on topic Re:Conditions plugin
Earlier in this thread there is a post containing a plugin which tests if the required hack works. Try that first.

mikko

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

Moderators: beatnantkrileon
Powered by Kunena Forum