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™

Adding images from s2member protected folder

s2Member Plugin. A Membership plugin for WordPress®.

Adding images from s2member protected folder

Postby Abbe666 » September 10th, 2011, 11:37 am

Hi!

I am using s2member to protect images from non-members. Everything works but I have encountered an issue that I wonder if it is possible to solve.

Let's say I have downloaded 30 pics via FTP to the protected s2member folder. After that I want to add those pictures to a member page.

Usually I would use the Wordpress feature to insert either images or a gallery of images to a page or post. But when the pictures resides in the s2member protected directory, I can't insert them through usual Wordpress functionality. Currently I have to insert them by adding the url to the page.

I would like to have some more user friendly way to insert those pictures into a page instead of manually adding 30 urls. Is there any solution for this?

Regards
User avatar
Abbe666
Registered User
Registered User
 
Posts: 9
Joined: July 24, 2011

Re: Adding images from s2member protected folder

Postby Bruce C » September 12th, 2011, 7:56 pm

The only thing that comes to mind at the moment would be to create a custom button specifically for s2Member. This would require a large amount of coding which is why, I'm guessing, s2Member has not already implemented this.

So in short, yes. You could create a simpler way to do this, but it would require more work than just adding the URLs.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Adding images from s2member protected folder

Postby Cristián Lávaque » September 26th, 2011, 2:56 pm

A way to make it simpler for you now, since you're working with so many files, would be to move them to the uploads folder so WP lets you work with them in its interface to add images. After you're done editing the post, move the files back to the protected dir, copy the HTML code from the editor, put it in a text editor, search the uploads dir and replace with the protected one, copy the updated code and paste it back in the HTML editor. It sounds like a lot of work, but not really, and I believe it's simpler than adding each image manually.

I hope it helps. :)
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: Adding images from s2member protected folder

Postby Abbe666 » September 27th, 2011, 3:04 am

Thank you!

I will try this and see how it works.
User avatar
Abbe666
Registered User
Registered User
 
Posts: 9
Joined: July 24, 2011

Re: Adding images from s2member protected folder

Postby Cristián Lávaque » September 29th, 2011, 1:04 am

You're welcome. :)
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: Google [Bot] and 2 guests

cron