Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] tab il conditional auto action

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 2 months ago - 11 years 2 months ago #232691 by mfe13
hello,
Is it possible with CB Auto Action to have in the Conditional a tab and not a field ?
For example, if CB Profile tab gallery is empty, do a redirect.
thank you
Last edit: 11 years 2 months ago by krileon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 2 months ago #232694 by nant
Replied by nant on topic tab il conditional auto action

geniusyourself wrote: hello,
Is it possible with CB Auto Action to have in the Conditional a tab and not a field ?
For example, if CB Profile tab gallery is empty, do a redirect.
thank you


nope.

but if you really want to do what your example implies you can use the

_pg_CurrentUploadedItemsCount (cb_pgtotalitems) field which is automatically maintained by the CB Profile gallery plugin for each user and it contains the number of uploaded items.

So I am guessing (have not tested) that you can check if this field is 0 which would mean that the user has no uploaded gallery items in his gallery tab.

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

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 2 months ago #232700 by mfe13
Replied by mfe13 on topic tab il conditional auto action
Thanks, it's ok and work very good !
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum