latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Login/Registration form in my theme page temp

Home Forums Community Forum Login/Registration form in my theme page temp

This topic contains 18 replies, has 3 voices. Last updated by  Abner Garcia 4 years, 3 months ago.

Topic Author Topic
Posted: Monday Mar 26th, 2012 at 9:39 am #9114
Abner Garcia
Username: Abner7g

Hi there guys, I’m a free version member for s2member. Is there any way to have a shortcode to be inserted in the Member’s page for login and registration. Instead of having the usual default blank page from s2member we need to put that form in out theme page for all subscriber (free and paid members). In the past I had issues with some new visitors that get lost in the site once they try to login and then access the website. I think that is pretty easy and basic but we know what’s in our website and they not. I just wanted to make it as dummy proof as I can.

Thank you guys!!

  • This topic was modified 4 years, 9 months ago by  Abner Garcia.
  • This topic was modified 4 years, 4 months ago by  Eduan. Reason: Moved to the customer support forums

List Of Topic Replies

Viewing 18 replies - 1 through 18 (of 18 total)
Author Replies
Author Replies
Posted: Tuesday Mar 27th, 2012 at 10:13 am #9227
Abner Garcia
Username: Abner7g

Any help would be much appreciated!!!

Posted: Wednesday Sep 5th, 2012 at 9:48 am #24161
Abner Garcia
Username: Abner7g

I already step up to the pro version of s2m. Now using the sidebar pro widget is giving me this error code:

Warning: require(./wp/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/abner7gr/public_html/wp/index.php on line 17

Warning: require(./wp/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/abner7gr/public_html/wp/index.php on line 17

Fatal error: require() [function.require]: Failed opening required ‘./wp/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/abner7gr/public_html/wp/index.php on line 17

Can someone point me in the right direction to solve this. Thank you!!

Posted: Wednesday Sep 5th, 2012 at 11:00 am #24167
Eduan
Username: Eduan
Moderator

Hello Abner,

Those errors suggest that for some reason, your WordPress installation is not complete, in other words, WordPress is not fully installed. Or that for some reason your installation of WordPress does not have the correct folder hierarchy.

– Eduan

Posted: Wednesday Sep 5th, 2012 at 2:39 pm #24186
Abner Garcia
Username: Abner7g

Eduan, thank you very much. I just re-installed the lastest version of Wp and problem solved!!!

Posted: Wednesday Sep 5th, 2012 at 3:39 pm #24196
Eduan
Username: Eduan
Moderator

Excellent! Glad you were able to solve the problem. :)

Posted: Wednesday Sep 5th, 2012 at 6:22 pm #24209
Abner Garcia
Username: Abner7g

For this case I have another issue that I would want to verify. I have a Business Directory Plugin that offers me some conditionals and code options to configure base on my needs. In this example This code represents a form or welcome page to register a new listing. I would like to integrate this options to my login or registration process with s2m. If anybody could see how can I manage this integration base in the following code:

[wpbd_user]
{wpbd_nlog}
<strong>Welcome To Business Directory</strong>
In order to add new company or edit, you have to <a href="%%LOGIN_URL%%">sign in</a> or <a href="%%REGISTER_URL%%">register.</a>
{/wpbd_nlog}
{wpbd_usnc}
There are no company you added. In order to add new company please click <a id="new_company_link" href="%%NEWCOM%%">here</a>.
{/wpbd_usnc}
{wpbd_lica}
<h2>Administration</h2>
{/wpbd_lica}
{wpbd_licb}
<a href="%%BUYPRE%%">Buy Premium</a> | <a id="new_company_link" href="%%NEWCOM%%">Add New Company</a>
{/wpbd_licb}
{wpbd_buex}
<h2>Buy or Extend Premium Listing For Your Company</h2>
Please select your company and select one package.
{/wpbd_buex}
{wpbd_pppr}
<h2>Review Your Order And Confirm</h2>
{/wpbd_pppr}
{wpbd_ppsu}
<strong>Congratulations!</strong>
Your company has premium listings!
Your premium listing end on %%DATEEND%%,
so %%LEFTTIME%% left.
Click <a href="%%COMURL%%">here</a> to go to your company page or click <a href="%%PAGE_URL%%">here</a> to go to administration page.
{/wpbd_ppsu}
[/wpbd_user]
Posted: Thursday Sep 6th, 2012 at 7:43 am #24294

So you want to have that form integrated with the account registration? That’d need customization.

It’d be easier to have that for logged in users, like in the Login Welcome page. [hilite path]Dashboard -› s2Member® -› General Options -› Login Welcome Page[/hilite]

Posted: Thursday Sep 6th, 2012 at 11:57 am #24334
Abner Garcia
Username: Abner7g

Ok you mean to point my login welcome page to that Business Dir. Page? The point is… that plugin have his own payment gateway using paypal when the custome decide to buy the premium package. I want that all the registration process is manage by s2m trying to integrate the paid option for this plugin. I was thinking by seeing in that code in the part:

<a href="%%BUYPRE%%">Buy Premium</a> | <a id="new_company_link" href="%%NEWCOM%%">Add New Company</a>
{/wpbd_licb}
{wpbd_buex}
<h2>Buy or Extend Premium Listing For Your Company</h2>
Please select your company and select one package.

to insert instead a s2m conditional code as “premium” so I can handle that part using s2m process. Is that possible Cristian?

Posted: Friday Sep 7th, 2012 at 5:15 am #24483

I see. So you want that if someone purchases with that plugin, he’s given the s2Member access to protected content and be demoted if he stops paying. Is that it?

In that case, I guess you’ll have to find how to integrate them. Here’s an article that explains how to integrate a regular PayPal button with s2Member, it may help you with this. Knowledge Base » Using PayPal created buttons

I hope it helps. :)

Posted: Friday Sep 7th, 2012 at 11:19 am #24531
Abner Garcia
Username: Abner7g

Ok great but using that way I don’t think I have an integration between both plugins. The Directory plugin is for the business part of the website. The perfect scenario for me is to integrate that plugin with S2m somehow but Would you recommend having the premium option with his own payment gateway for that part of the directory?

In other subject is there any news about the WooCommerce API Gateway that Jason in writing, man I think that a lot of people is waiting for that like me, no actually I’m desperate to have it.

Thank you!!

Posted: Saturday Sep 8th, 2012 at 6:49 am #24613

Ok great but using that way I don’t think I have an integration between both plugins. The Directory plugin is for the business part of the website. The perfect scenario for me is to integrate that plugin with S2m somehow but Would you recommend having the premium option with his own payment gateway for that part of the directory?

I’m sorry, I see I’m still not sure about how you want to integrate them. I don’t know if it’s because I’m not familiar with the other plugin you mention, but I’m still not clear about what you want to have in the site.

Could you please explain it some more and give an example so that, if possible, I may be able to suggest a way to do it? Thanks!

In other subject is there any news about the WooCommerce API Gateway that Jason in writing, man I think that a lot of people is waiting for that like me, no actually I’m desperate to have it.

No, no news on this yet.

Posted: Friday Sep 14th, 2012 at 9:56 am #25298
Abner Garcia
Username: Abner7g

Hi again guys. We were thinking about the best and easiest way to integrate this WP Directory plugin. We realized that it does’t come with the automatic and recurrent billing for the membership so bottom line we need the S2m paypal button for this to work. Is there any php script or code that I can insert in at the begining of this code line (BUYPRE) so the people instead of be redirecting to the paypal payment process of the plugin they go to the s2m paypal process. I can set the premium area with some custom capabilities or conditionals with the level 1 membership so people buy the access for that premium area.

<a href="%%BUYPRE%%">Buy Premium</a> 

Thank you!!

Posted: Saturday Sep 15th, 2012 at 4:17 am #25397

Well, you can use the button’s shortcode to output a URL to use in the anchor’s [hilite mono]href[/hilite]. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> output[/hilite]

Posted: Saturday Sep 15th, 2012 at 10:54 pm #25456
Abner Garcia
Username: Abner7g

ok that’s great, any example in mind to have a guide?

Posted: Sunday Sep 16th, 2012 at 7:50 am #25475

In your button shortcode just change the output attribute to [hilite code]output="url"[/hilite]. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons[/hilite] :)

Posted: Sunday Sep 16th, 2012 at 11:20 am #25489
Abner Garcia
Username: Abner7g

Great I’ll try that. Cristian is there any way to have in the same button a select one drop down field with more membership options with prices to select?

Posted: Sunday Sep 16th, 2012 at 1:32 pm #25501
Eduan
Username: Eduan
Moderator

Hello Abner,

Yes this is possible, you could do it with an adaptation of my donation button: http://eduantech.com/code-snippets/donation-button-that-gives-access

You would have to modify it, but it’s a good template.

Hope this helps. :)

Posted: Sunday Sep 16th, 2012 at 8:29 pm #25520
Abner Garcia
Username: Abner7g

Thanks Cristian and Eduan, and yes it would help a lot but I forgot to specified that the options that I need are more like recurrent billing time of course with the price to the side. I have good options here to consider but somehow I found my self in the same point. Trying to integrate this Business Directory Plugin and his poor payment process with my s2member setup. It’s kind of frustrating this part of the web development, right?

Viewing 18 replies - 1 through 18 (of 18 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.