Hide Modules From Subscribers

13 years 11 months ago #131539 by GoremanX
Hide Modules From Subscribers was created by GoremanX
Very simple setup:

registered users - peppered with ads

ad-removal subscribers - no ads

So in essence, the registered users belong to no plan, and the subscribers belong to the Ad Removal plan. How do I make the Joomla ad modules disappear for my subscribers? Right now, the CBSubs plan options appear to function backwards for my needs.

Please Log in to join the conversation.

13 years 11 months ago #131630 by krileon
Replied by krileon on topic Re:Hide Modules From Subscribers
Best approach is to protect the modules with a Free plan that all registered users are given at registration, upon subscribing to a new plan will then lose the Free plan (assuming new plan and free plans are both exclusive). This would then cause the Ads to disappear. However this also would cause the Ads to disappear for users not logged in. CBSubs does not work in reverse, it grants permissions rather then removes them. Once CBSubs API is provided this is something that should be done within the modules code it self (can be done now by way of query).

Post edited by: krileon, at: 2010/04/28 22:00


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 11 months ago #131635 by GoremanX
Replied by GoremanX on topic Re:Hide Modules From Subscribers
As you mentioned, your solution means that all unregistered guests would also not see the ads. Additionally, your solution would make me burn through my 500 subscription license in a matter of weeks, with almost no income being generated.

I'm sorry but this is inadequate. CBSubs does not function the way I need it to, so I can't make use of it. This is unfortunate because I thought my use case was a very simple and typical one. Please let me know how I can go about canceling my license and getting a full refund.

Please Log in to join the conversation.

13 years 11 months ago #131768 by krileon
Replied by krileon on topic Re:Hide Modules From Subscribers
You may contact Beat via PM and/or Email with your original Paypal invoice of your CBSubs license if within your 30-day money back guarantee.

However, I have an additional proposed usage to achieve what you're wanting. Using CB Content module you can dynamically create module content using CB substitutions. Using CBSubs Fields you can alter a fields value based on subscription. Thus you could have field cb_subscribed change to 1 when a user has subscribed. Using CB Content you could use a substitution to check for said field and thus prevent the Ad from displaying. Please see example as follows.

[code:1]
[cb:if cb_subscribed="0" OR user_id="0"]<img src="images/myad.png" />[/cb:if]
[/code:1]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 11 months ago #131777 by GoremanX
Replied by GoremanX on topic Re:Hide Modules From Subscribers
That's an interesting idea, however it does not prevent the module from showing up altogether. Part of the appeal of removing the ads modules is that the display area gets larger since those modules are no longer present to take up horizontal and vertical space.

For maximum flexibility, I propose the following update to future versions of SBSubs:

Instead of a single list of modules, show 3 panes (left, middle and right). The middle pane contains the list of modules currently available in Joomla. Beneath this pane, have two buttons side-by-side that are labeled "<<- Add" and "Add->>". Highlighting a module (or multiple modules) and clicking one of the buttons sends those modules either into the left or right pane. Modules in the right pane are hidden from users of that plan, and modules in the left pane are shown to users of that plan. Modules in the middle pane remain "unchanged" and therefore are either always shown or dependent on other plans. Beneath the left and right panes, have a "Remove" button that sends the highlighted module back to the middle pane.

Since this functionality does not exist and probably won't for a while, I cannot use CBSubs as I intended. This is unfortunate since it appears to be an excellent product in every other regard. Perhaps I'll re-visit it in the future, but for now, it's money I need back so I can find a different solution.

Please Log in to join the conversation.

13 years 11 months ago #131827 by krileon
Replied by krileon on topic Re:Hide Modules From Subscribers
We've added a feature request to hide modules based off subscriptions instead of only showing modules based off subscription; this should meet your needs. Sorry for the inconvenience.

#1671


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.295 seconds

Facebook Twitter LinkedIn