Manually restrict a page with Simple Membership Plugin - wordpress

I am using the plugin Simple Membership so users can become members of my site and access members only content.
I am also using the Events Calendar plugin with the Community Events add-on so people can submit events.
Bc the submission page is auto-generated and has no edit backend page to normally restrict the content I cannot make it so only members can access this page.
Is there a way to manually add a page to restrict it to members with this plugin or a line of code someone can recommend to make the restriction?

I know this response is super late lol, but this plugin will solve the problem if you use Woocommerce.
https://codecanyon.net/item/woocommerce-membership/8746370
I had the exact same issue. What I did was restrict the URL. For example, my url was domain.com/events/community/add. So if someone didn't purchase my membership and tried to go to that URL, they would not be able to.
Hopefully you found an answer by now, but ya never know if there might be something better!

Related

How to Send / Create Google Analytics Event for Wordpress User Registrations / Logins

This seems like it should be a rather important use case for GA events but I really couldn't find any instruction on the net.
I'd like to create an event for any new registrations on my Wordpress site. If I can append that to logins as well, even better but the former is more important.
I also use WooCommerce so I'd need to ensure registration through that code path is included as well.
I'm familiar enough with adding the GA event code, I'm just not sure where to place it in this instance. I feel as if this functionality should be baked into the platform or most plugins. Maybe it is.
I noticed the 'Google Analytics for Wordpress' plugin has a checkbox for adding tracking code to registration pages however I'm not sure what exactly that does on the GA side? Does it create events? Is this whole question therefore pointless?
Any help here is appreciated.
I noticed the 'Google Analytics for Wordpress' plugin has a checkbox for adding tracking code to registration pages however I'm not sure what exactly that does on the GA side? Does it create events? Is this whole question therefore pointless?
From what I remember, by checking that box you create a custom variable for Logged In Status. By creating a custom variable, you can then create segments off of that and look to see how logged in users use the site compared to non-logged in users.
However, if you simply want to track new registrations, you could add GA event tracking to the submit button when the user submits the registration form.
If I were you, I'd do both.
If there is a page they land on after registering then just register that page as a goal in GA. I get your intent behind registering it as an event, but it might be easier to just do it as a goal.

Restrict Access to wordpress page

Basically on my website launch I will be offering users a lot of app promo codes to get apps free. However, I want to know if there is a way that I can make it so that once they have clicked a page they are unable to access any of the others and get all the promo codes basically. So once they have one they are prevented from doing any more.
Thanks,
Harry
I dont think this is possible, because you can't denie a random visitor of your website access to a page if they just read an other page.
Maybe it would be possible if you make sure visitors can only read pages if they got an account. That way you can instal a page restric plugin and edit it yourself by adding a variable that checks how many posts are read and activites the page restrict plugin when x posts are read.
Never done something like this myself, and i dont see why you wouldnt provide all your promo codes to everyone, but thats your own choise:p
I might be completely wrong, but this is what i think.
There is a wordpress plugin called S2Members to help you restrict pages/posts from guest users.

Wordpress Plugin requirement

I have a requirement form my client.
He needs a registration form which should be integrated to his site where the user will come and register for that particular event.
Can any one help me what plugin can i use to do this ?? i used http://wordpress.org/extend/plugins/event-registration/ plugin but it dint work,
i need something like this
http://startupsaturday.headstart.in/event.php?eid=213, you can see from this link the people can come and register, and there name will be displayed left hand side. similar way i need to ingrate to my site someone please help me.
Thanks in advance
Harsha.
All you need to do is set up a form which posts to the database and then have a table populated from the table.
If you're unsure of how to do this & want to use plugins then I would suggest using the popular contact form type plugins like Fast Secure Contact Form or Contact Form 7.
Take a look at those to figure out which you prefer & then couple it with this plugin to save the form data to the database. That plugin then has short codes that you can put in to display the data.

Only Show Comment in Wordpress

I am looking for a way to only show the comments posted in wordpress.
My main goal is to turn the wordpress CMS into a site like fmylife.com. The basic principle is allowing anyone to post anonymously (without having a post to comment on), and then the comments need to be moderated by the admin.
If there is an easier solution to doing this, then I'm open to hearing that as well. The only thing I don't want to do is get the fmyscript clone. I've tried that and don't like it.
Any advice would be appreciated.
Thanks.
Adam.
Why don't you try the buddypress plugin wherein users can register and post. Just disable all other components except activity feed and make your homepage as a static activity feed page (configurable in the settings).

Members only based plugin for Wordpress

Can anyone recommend me a good members-only plugin? I want to hide pages (and their tabs) if users aren't signed in.
So far I have found:
'Member Access' which doesn't hide the tabs
'wp-members' which wouldn't work with 2.8.4
'user access manager' which was too complex clunky to be useful.
There should be something basic out there for what I need, but no luck so far.
Justin Tadlock is a WordPress heavy (wrote the popular Hybrid theme framework), recently released a comprehensive user management plugin called Members, which among other things can turn your blog into a login-only venue:
Private Blog: Allows you to create a
private blog that can only be accessed
by users that are logged in (redirects
them to the login page).
But I get the impression that you're looking to keep some part available to the public users and other parts only for registered users.
You can also use this plugin to restrict certain areas of your blog, screenshot example here: based on role
Hiding the tabs from the public user is the challenging part. Themes typically aren't designed with private portions in mind; you'd have to hack it yourself or get someone to do it for you.
If are familiar with php and WP structure, you can add a few lines of code to a few template files to redirect users to login page if they are not signed-in. Let me know if you want to go that way. I can try to provide sample code. Are you using one of the basic themes?
I have a plugin called "LJ Custom Menu Links" that can do what you are asking. However as the name suggests they are custom links, so you would have to hand add the pages you want. But it does/and can only show a link when a user is logged on if that is what you want. Combined with "pagemash" plugin which will hide pages from the menu generated by WP itself leaving only the pages linked to by the LJ Custom Menu Links plugin.
However I was under the impression if you made a Page private then it wouldn't show up unless someone was logged in, or am I wrong on that one?
A good option is to use three difference plugins:
Member Access
Register Plus
AJAX Login Widget++
You can find my post on all these here:
http://sbhosting.com/wordpress-member-area/
Try CMS Members
I know it hide some pages for non-members.
A paid option is this. It's VERY good. I use it on several websites. Called Wishlist Memeber
For me s2member does the job. You don't have to use the paypal option, you can stick with free membership.

Resources