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.

About: Andy M.

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Articles/Page content : visible in part only

By:  Andy M. in: Community Forum

voices: 2
replies: 10

4 years ago  Andy M.

Tabulations & Specific Text / Level User

By:  Andy M. in: Community Forum

voices: 1
replies: 0

4 years ago  Andy M.

Restrictions of Text Content on tabs & Accord

By:  Andy M. in: Community Forum

voices: 2
replies: 1

4 years ago  Bruce

Viewing 3 topics - 1 through 3 (of 3 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Articles/Page content : visible in part only

By:  Andy M. in: Community Forum

voices: 2
replies: 10

4 years ago  Andy M.

Tabulations & Specific Text / Level User

By:  Andy M. in: Community Forum

voices: 1
replies: 0

4 years ago  Andy M.

Restrictions of Text Content on tabs & Accord

By:  Andy M. in: Community Forum

voices: 2
replies: 1

4 years ago  Bruce

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Tuesday Jan 8th, 2013 at 9:03 am #36573
Andy M.
Username: skyfox360

Where do I define the S2 Member Login Page please ?

Do I have to specifiy it directly on the fonctions.php file ? replacing the :

<a href="'.S2MEMBER_LOGIN_PAGE_URL.'">   by     </a><a href="//www.'">

or from the admin area ? In this case, would you be kind to tell me how ?

I need also to implement the redirection to the login page on specific ‘Read More’ button I could add on posts.
On many wordpress bases website, one can see a short part of text and then a read more button;
If the user click on it, I would like the non logged user to land on a page that invites him to log in to see the rest of the page. Only to log in, no monthly subscription in my case.

How can I do that ! (very important for me to understand how !)

THANKS !!!

A.

Thanks a lot,

A.

  • This reply was modified 3 years, 12 months ago by  Eduan. Reason: Added code tags
Posted: Monday Jan 7th, 2013 at 10:11 am #36459
Andy M.
Username: skyfox360

Hello

> I have created a special page with 4 parts of texts visible and each part is visible for a specific level of user
using the simple code : [dw-post-more level=”1″] / [dw-post-more level=”2″] / [dw-post-more level=”3″] / ..

Page is here : http://andrerizzotti.com/site_bebes_and_kids/blog/page-level-1-4-le-reportage/

> I would like to translate this part for text in french : Get Access To More Of This Content

> I would like that this part of text send the non logged user to the login page, but how ?

> If I translate the website in 2 languages, how can I get this sentence in both language according to the choice of the user ?

Thanks for your precisions,

A.

Posted: Sunday Dec 30th, 2012 at 10:03 am #35797
Andy M.
Username: skyfox360

Dave,

give me an email as I will not drop an admin account on the forum !

I send you this in the day.

I have several pages and posts ready for splitting the text with both public part and private part.

Thanks for you help.

A.R

Posted: Saturday Dec 29th, 2012 at 3:18 am #35695
Andy M.
Username: skyfox360

PUBLIC TEXT
This is public info before the private info.

[dw-post-more level=”0″] PRIVATE TEXT [/dw-post-more]

This is public info after the private info.

——————————————–

Question 1 :
When I create a post with a part of private text, only visible for specific user, do I have to let the Post Level Restriction scrolling options empty ? I guess that if we input a level for the whole post or pages, it will hide the whole content and not a portion of it as requested, right ?

Question 2:
What mean this shortcode ? [dw-post-more level=”0″]
The text coming after can be seen for users belonging to level 1, 2 or 3 but not 0 ?

So this would be correct ?
[dw-post-more level=”1″]TEXT AVAILABLE FOR USER BELONGING TO LEVEL 2 [/dw-post-more]
[dw-post-more level=”2″]TEXT AVAILABLE FOR USER BELONGING TO LEVEL 3 [/dw-post-more]

Question 3:
If i give you an admin user, could you login and make a sample on a post or a page with public and private text ?
I already have the users created and a specific level for each of them.

Thanks for your help,

Andy

Posted: Saturday Dec 29th, 2012 at 2:33 am #35694
Andy M.
Username: skyfox360

Sir,

here is my fonctions.php file. I would like to know where to place this slice of code in it.
In betwwen the

0),$atts));

if(current_user_can(“access_s2member_level”.$level)){
return do_shortcode($content);
}
else {
return ‘Get Access To More Of This Content‘;
}
}
?>

Posted: Thursday Dec 20th, 2012 at 3:06 am #35125
Andy M.
Username: skyfox360

I do ask how we can integrate the shortcodes on portions of text in a page that has tabulations or accordeons text.

Example of the original page :
http://www.photographes-france.net/blog/medias-integration-contenus-textuels-en-tabulation/

4 tabs for 4 differents content.

If now, I want that these 4 tabs becomes visible for 4 different level of users, I have to add the shortcode, but where exactly please ?

Here is my text but non effective as the text content disappear !

[s2If !current_user_can(access_s2member_level0)]

Le Dr Patrick Métais est médecin interniste, gériatre et responsable de la mise en œuvre de nombreux établissements porteurs de projets innovants.

[/s2If]

I do not know where to place the [s2If] and [/s2If] codes. Outside the DIV ?

Shortcodes can be integrated on the visual or the text panel, the same way ?

Thanks for your kind help !!!

A.

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

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.