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™

Funky Image References

s2Member Plugin. A Membership plugin for WordPress®.

Funky Image References

Postby sun4tzu » June 5th, 2010, 10:51 pm

I've installed this plugin and everything looks just fine with one exception. On the s2Member Information page, the images on the right are missing. In viewing the source, I get references such as "http://www.myURL.com/wp-contentC:\Inetpub\vhosts\myURL.com\httpdocs\wp-content\plugins\s2member/images/brand-updates.png". It's fairly obvious that the "C:\Inetpub\vhosts\myURL.com\httpdocs\wp-content" portion of the reference is incorrectly inserted but why and how do I fix it?
User avatar
sun4tzu
Registered User
Registered User
 
Posts: 2
Joined: June 5, 2010

Re: Funky Image References

Postby Jason Caldwell » June 23rd, 2010, 4:00 pm

Sorry for my extremely delayed response.
s2Member has NOT been tested on a Windows platform yet, only on Unix/Apache.
Thank you VERY much for reporting this though.
I'll be checking in on Windows compat soon, and this helps to get feedback.

My guess is lines 26 - 29 inside /s2member/includes/syscon.inc.php
Code: Select all
/*
Determine the full url to the directory this plugin resides in.
*/
$GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["dir_url"] = WP_CONTENT_URL . /* URL to the plugin directory. */
preg_replace ("/^(.*?)(\/" . preg_quote (basename (WP_CONTENT_DIR), "/") . ")/", "", dirname (dirname (__FILE__)));
~ 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: Funky Image References

Postby sun4tzu » June 23rd, 2010, 5:46 pm

Thanks Jason. I'm on holiday at the moment so I don't have access to my code (and my wife doesn't know I'm checking my email) so I'll see if I can experiment with those lines when I get home.
User avatar
sun4tzu
Registered User
Registered User
 
Posts: 2
Joined: June 5, 2010

Re: Funky Image References

Postby Jason Caldwell » June 23rd, 2010, 10:37 pm

No problemo. Thanks for your patience with us.
~ 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


Return to s2Member Plugin

Who is online

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

cron