PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Customize membership options page template

s2Member Plugin. A Membership plugin for WordPress®.

Customize membership options page template

Postby moses5407 » May 14th, 2011, 4:01 pm

I'm using the p2 theme, somewhat customized, and the membership options page displays differently than a standard page, despite apparently using the default page template from the theme.

In my case, I'd like to have other pages formatted similarly to the membership options page .. but I don't really know where to find the page format being used by the S2 membership options page.

Can you tell m where this is and a little bit about how it's structured to hook into the default page template?

Thanks in advance..
Jim
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 14th, 2011, 8:03 pm

In what way do you see it different?

You could use Firebug to study the page. http://getfirebug.com/
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Customize membership options page template

Postby moses5407 » May 14th, 2011, 10:10 pm

It doesn't show in the same format as a typical post. Looking at the output via Firebug or Web Inspector doesn't help as I need to know what file to modify to generate a similar output or, in this case, to examine the difference between this and a default page template in the theme to get the same layout....
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby moses5407 » May 15th, 2011, 4:49 pm

To be more specific, the membership options page does not show in "post" format .. with the opportunity to reply, etc. It simply shows the text entered in the Edit Page screen in Wordpress in a block with proper matching CSS. I'm assuming that the membership options page in S2 must either use a different page template .. or modify the default page template from the theme I'm using and need to know how and where in order to make use of this same formatting for other pages ... here's a link to the membership options page:
http://senditouttotheuniverse.com/?page_id=98

Note there are no reply/edit links, post date displays, etc.

Thanks..
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby moses5407 » May 15th, 2011, 5:16 pm

I should have added that you can click on the "The Video" page link to see a page NOT formatted as desired..It has reply and edit links, a vote widget, etc which I don't want on certain pages.

I know I can go thru the theme piece by piece to find the difference ... but since the Membership OPtions page has the format I'm looking for I'm hoping this way will be much faster..
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 16th, 2011, 11:05 am

I don't know that the page set as the Membership Options Page gets any special formatting, all it has different is being the landing for redirections caused by insufficient access elsewhere, but the page is just a page same as the rest.

Could it be that you disabled commenting when you created it and that's why you don't see the option? If you look at the editing form for it, do you notice differences with others you see display different (e.g. the video one)?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Customize membership options page template

Postby moses5407 » May 16th, 2011, 2:59 pm

Nope..there are zero differences on the edit forms for the pages .. and I haven't disabled comments for any page .. BUT the Membership Options page doesn't have them OR the vote widget. So, there MUST be some difference in the way the Membership Options page is handled by S2Member versus other pages ...
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 16th, 2011, 3:27 pm

I honestly don't know any... Could you post a screenshot of the edit form for the Membership Options Page and another one that looks different?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Customize membership options page template

Postby moses5407 » May 16th, 2011, 4:03 pm

hahaha...trust me, I am able to look at and compare the edit pages.

The ONLY difference is in the S2member widget...for the Membership options page it says this page is always public. For the others it gives the choices for custom capabilities or membership level required.

That's it.

Thanks for your help .. but, if you don't know how S2member handles the code for the Memebership Options page .. which is obviously different given the differences in the S2member widget options on the edit form, I'll have to start the hunt.

Maybe Jason would know? Or maybe it's buried in the S2 code and wouldn't be easy to reproduce anyway?

I'll have to look for other options...
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 16th, 2011, 5:17 pm

I've emailed Jason about it, but he's not around yet and may take a bit before he's back, so I wanted to try finding the problem before that. I'll wait for him then.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Customize membership options page template

Postby moses5407 » May 16th, 2011, 5:19 pm

Thanks..and I DO appreciate your responses. I think this is something more "under the hood" .. but I've been wrong before..;-)
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 16th, 2011, 5:43 pm

:)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Customize membership options page template

Postby Jason Caldwell » May 18th, 2011, 1:56 am

Thanks for the excellent question.
~ and thanks for bringing this to my attention Cristián.

I can confirm that s2Member does NOT make any adjustments to a template or otherwise with respect to the Membership Options Page. s2Member just uses the Page that you configure in the s2Member -> General Options. It's a redirect, nothing more.

One thing to note though. In most themes, Pages are NOT treated the same as Posts. That is, most themes will not display the comments section on a Page ( i.e. the Reply button ). In addition, depending on your theme, a Page may be presented without a Sidebar ( just depends on your theme ).

So a possible solution, is for you to create the rest of your content using "Pages" instead of "Posts". That way your theme will present them the way you like best.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Customize membership options page template

Postby moses5407 » May 18th, 2011, 4:10 am

Hi, Thanks for your reply and the persistence in following up on the original question. It's pretty puzzling, though, as the content of the pages in question WAS created in exactly the same manner as the Membership Options Page,i.e., by creating a new page and entering the information in the edit form for the page.

For some reason, the redirect must be affecting how the page is recognized by the theme(?), resulting in a page which is structured like the default pages on the site. In this case, the theme is p2 and presents a home page with a near live stream of posts. This appears to be the default page structure for the theme .. so pages OTHER than the Membership Options Page show post-display formatting;including reply links, etc.

I'm not quite sure where to look at this point. If I somehow stumble on the solution, I'll post it here.

If you have any further ideas given this information about the theme, any hints would be appreciated.

Thanks,
Jim
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Jason Caldwell » May 18th, 2011, 4:34 am

Perhaps it's already been discussed, but just to point out, when you create a Page, there is a "Page Template" drop-down menu available. Is that the same or different from one page to another? In addition, some themes work from "Custom Fields" configured on a per-Page basis, is that somehow affecting the display? What about taking all query string parameters out of the URL, does that change anything?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Customize membership options page template

Postby moses5407 » May 18th, 2011, 5:54 am

YEs..same template on the drop down. No custom fields and I'll check the url parameters in the morning..Thanks for the ideas too try!
User avatar
moses5407
Registered User
Registered User
 
Posts: 17
Joined: March 30, 2011

Re: Customize membership options page template

Postby Cristián Lávaque » May 18th, 2011, 11:29 am

If you change the Membership Options Page to another page, do they change?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron