Home › Forums › Community Forum › Unofficial Extensions/Hacks › Help With Custom Text
Tagged: registration custom fields
This topic contains 18 replies, has 3 voices. Last updated by Eduan 4 years, 3 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Sep 14th, 2012 at 5:45 am #25273 | |
|
|
Hi all.. first off let me just say THANK YOU for this amazing plugin. Anyone who is using the free version should definitely consider donating, as the free version alone is worth donating what you can. It is really obvious that a lot of work has gone into this extension for use by the community. Well, my question is, how can I add some text on my Registration page that says something like “To access this page please provide the following information”. You can see my page/website here I would just like to add the text below my logo and before “First Name” and also be able to style it.. Thank you!!! :)
|
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Friday Sep 14th, 2012 at 10:32 am #25303 | |
![]() |
|
Hello Tate, This can easily be achieved using s2Member PHP conditionals, you can find them under Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals, here’s a video for them: Video » s2Member (Advanced Conditionals) You would simply check if the user is logged in or not, you would edit the wp-login.php file in your WordPress root directory. Hope this helps. :) |
|
Posted: Friday Sep 14th, 2012 at 1:26 pm #25328 | |
|
|
Thanks Eduan! I’ll definitely check this out.. Something else, is there anyway to go ahead and allow the same email address to be used when someone registers. All I am going for is to allow visitors to access a page by entering in their first, last name and email address. And once they have done that, is there a way to “keep them logged in” so they don’t have to keep registering or logging in? Basically, I would like for visitors to enter in their info only once and then be able to access the content whenever they want without having to login. And if they forgot they registered before and do it again, it goes ahead and accepts it. Thank you so much! |
|
Posted: Friday Sep 14th, 2012 at 1:41 pm #25334 | |
![]() |
|
Basically never let the users be logged out? This would be an option within WordPress really, you would have to modify WordPress to modify this behavior. Although this is a very big security risk, so it’s probably not a good idea. |
|
Posted: Friday Sep 14th, 2012 at 1:48 pm #25335 | |
|
|
I guess so.. It’s mainly for the client. They just want some way to collect email and name for newsletter purposes. The private page is just supposed to work like an optin. They don’t even necessarily have to be “loggin in”. Once they put in first name, last name, email, it gives them access to the protected page forever. But even if they do have to “login” they can still do so with the same info. I hope this makes sense, I know it is kind of complicated. And it does sound like it has a lot to do with WordPress core, but I”m just really hoping someone might point me in the right direction or just tell me how to go about doing this.. |
|
Posted: Friday Sep 14th, 2012 at 3:19 pm #25351 | |
![]() |
|
So basically, they pay once, and have unlimited access forever, even if they have to login again? |
|
Posted: Friday Sep 14th, 2012 at 3:22 pm #25353 | |
|
|
Hey Eduan, well it is Open Registration. So they do not even have to pay. :) |
|
Posted: Friday Sep 14th, 2012 at 3:27 pm #25356 | |
![]() |
|
Well then, you really don’t need any customizations then, just need to protect the content to require the user to be level 0, and that’s it. Just have the users register through yoursite.com/wp-login.php?action=register – Eduan |
|
Posted: Friday Sep 14th, 2012 at 3:46 pm #25359 | |
|
|
I have set the level to zero, but when they click on “Search Additional Listings” I have the link directed to the register page. But I am needing to bypass this if they have already registered. I used hacks I found on here to make the login/registration basically the same thing, and the the user is redirected to a page I specify – also a hack I found on the forum. Ahhh!! :( |
|
Posted: Friday Sep 14th, 2012 at 5:54 pm #25362 | |
|
|
I am using your plugin (pro version) on an existing site and am re-designing the website. I have had no problem getting the custom fields to show upon the existing site, but when adding them to the new site that isn’t live yet, they don’t show…. I only have a license for the one site, so I’m wondering if that’s part of the problem….we are going to be changing hosting, so the new site is on the new host. ideas? Deb |
|
Posted: Friday Sep 14th, 2012 at 5:57 pm #25363 | |
|
|
Hi Deb, Umm, is there a reason you are hijacking my thread?? |
|
Posted: Friday Sep 14th, 2012 at 6:07 pm #25364 | |
|
|
No…sorry didn’t mean to |
|
Posted: Friday Sep 14th, 2012 at 6:08 pm #25365 | |
|
|
I will repost in a new thread…sorry dude thought I was starting a new one. |
|
Posted: Friday Sep 14th, 2012 at 6:13 pm #25367 | |
|
|
No worries!! Hope you find your solution tho :) I would help if I knew enough lol |
|
Posted: Friday Sep 14th, 2012 at 8:40 pm #25373 | |
![]() |
|
You don’t really need to send it to the register page, since s2Member will redirect the user to the membership options page if he doesn’t have access to any page/post or anything really. So basically you really only need to make that link go to the page it’s supposed to go to. Hope this helps. :) |
|
Posted: Friday Sep 14th, 2012 at 8:54 pm #25380 | |
|
|
Hey Eduan, But there in lies the problem. On the membership options page, the user has the option to join or register if they have not done either, so it is a two step process. How can I just bypass the membership options page and redirect them to the register page so that they only have to click once? You have to have membership options page, and that page sends the visitor to the register page. This is my website, if hover over the menu “Property Showcase”, you will see Search Additional Listings and there is the Membership Options page. I just want to bypass that and get them to the Registration page. And then once they are “registered/logged” in they do not have to go through the process again.. Please help!! Is this doable just on the free version of S2?? |
|
Posted: Saturday Sep 15th, 2012 at 8:36 am #25411 | |
![]() |
|
Hello Tate, yes this is doable. What I would do in that case is either get the pro version of s2Member, and offer a pro-form in the membership options page, or put a JavaScript redirect inside the membership options page. So make sure you have the PHP Execution plugin installed and activated, and inside the membership options page put the following code:
This will allow users to click link they shouldn’t be able to see, be redirected to the membership options page, and immediately be redirected to the registration page. So you would put this inside your membership options page. Would this solution work for you? |
|
Posted: Saturday Sep 15th, 2012 at 6:04 pm #25443 | |
|
|
Oh wow, Eduan!! It does sound like it!! I almost have the functionality working just like it should and with your help it looks like I could be getting closer. So it sounds like that will take away the membership options page.. But what if someone has already registered/logged in? I guess they will just have to login again?? which is fine, I will try a plugin that will allow duplicate emails. Oh, but how would I keep visitors from getting emails with a password? As it stands now, people can put in first name, last name, email but then they are emailed a password.. Thanks again Eduan!!! :) |
|
Posted: Saturday Sep 15th, 2012 at 7:42 pm #25447 | |
![]() |
|
Well, you could use this hack I created. It should allow you to change a WordPress message to say that if the user is already logged in, he can go to this page to do it. Hope this helps. :) |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.