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: RK Creative

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


Topics I'm Subscribed To

Viewing 22 topics - 1 through 22 (of 22 total)
Topic Count Last Reply
Filter states/provinces based on Country

By:  RK Creative in: Community Forum

voices: 2
replies: 1

3 years, 11 months ago  Jason (Lead Developer)

The php code for [s2member profile\]

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 6 months ago  Raam Dev

php code for pro registration, thank you page

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 6 months ago  Raam Dev

open s2member's login page in a lightbox

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 6 months ago  Cristián Lávaque

Quotation & Invoices

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 7 months ago  Cristián Lávaque

Simple shortcode for Hi [s2Member firstname]

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 7 months ago  Cristián Lávaque

shortcode to logout?

By:  RK Creative in: Community Forum

voices: 3
replies: 3

4 years, 8 months ago  Raam Dev

s2 pro form : login with email id & pw

By:  RK Creative in: Community Forum

voices: 3
replies: 6

4 years, 8 months ago  RK Creative

feed member details to contact form 7

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 8 months ago  Cristián Lávaque

Hover over menu – floating login widget

By:  RK Creative in: Community Forum

voices: 2
replies: 2

4 years, 8 months ago  RK Creative

s2 pro form : changing field label/desc

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Cristián Lávaque

s2 pro form : country by ip geolocation

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Cristián Lávaque

your website – login dropdown – how?

By:  RK Creative in: Community Forum

voices: 3
replies: 2

4 years, 8 months ago  Cristián Lávaque

Identifying first time visitors

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 8 months ago  Cristián Lávaque

s2 pro : inline login form

By:  RK Creative in: Community Forum

voices: 2
replies: 5

4 years, 8 months ago  Cristián Lávaque

add si captcha to s2 pro inline reg

By:  RK Creative in: Community Forum

voices: 2
replies: 7

4 years, 8 months ago  Cristián Lávaque

s2 pro : complete list of shortcodes

By:  RK Creative in: Community Forum

voices: 3
replies: 8

4 years, 8 months ago  Cristián Lávaque

reorder fields on s2 pro reg forms

By:  RK Creative in: Community Forum

voices: 3
replies: 6

4 years, 8 months ago  Cristián Lávaque

pro login widget logout does not logout

By:  RK Creative in: Community Forum

voices: 2
replies: 4

4 years, 8 months ago  Cristián Lávaque

Custom registration page text colour

By:  RK Creative in: Community Forum

voices: 2
replies: 7

4 years, 8 months ago  Bruce

login with email id

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Philly

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

Topics I've Started

Viewing 22 topics - 1 through 22 (of 22 total)
Topic Count Last Reply
Filter states/provinces based on Country

By:  RK Creative in: Community Forum

voices: 2
replies: 1

3 years, 11 months ago  Jason (Lead Developer)

The php code for [s2member profile\]

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 6 months ago  Raam Dev

php code for pro registration, thank you page

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 6 months ago  Raam Dev

open s2member's login page in a lightbox

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 6 months ago  Cristián Lávaque

Quotation & Invoices

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 7 months ago  Cristián Lávaque

Simple shortcode for Hi [s2Member firstname]

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 7 months ago  Cristián Lávaque

shortcode to logout?

By:  RK Creative in: Community Forum

voices: 3
replies: 3

4 years, 8 months ago  Raam Dev

s2 pro form : login with email id & pw

By:  RK Creative in: Community Forum

voices: 3
replies: 6

4 years, 8 months ago  RK Creative

feed member details to contact form 7

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 8 months ago  Cristián Lávaque

Hover over menu – floating login widget

By:  RK Creative in: Community Forum

voices: 2
replies: 2

4 years, 8 months ago  RK Creative

s2 pro form : changing field label/desc

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Cristián Lávaque

s2 pro form : country by ip geolocation

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Cristián Lávaque

your website – login dropdown – how?

By:  RK Creative in: Community Forum

voices: 3
replies: 2

4 years, 8 months ago  Cristián Lávaque

Identifying first time visitors

By:  RK Creative in: Community Forum

voices: 2
replies: 3

4 years, 8 months ago  Cristián Lávaque

s2 pro : inline login form

By:  RK Creative in: Community Forum

voices: 2
replies: 5

4 years, 8 months ago  Cristián Lávaque

add si captcha to s2 pro inline reg

By:  RK Creative in: Community Forum

voices: 2
replies: 7

4 years, 8 months ago  Cristián Lávaque

s2 pro : complete list of shortcodes

By:  RK Creative in: Community Forum

voices: 3
replies: 8

4 years, 8 months ago  Cristián Lávaque

reorder fields on s2 pro reg forms

By:  RK Creative in: Community Forum

voices: 3
replies: 6

4 years, 8 months ago  Cristián Lávaque

pro login widget logout does not logout

By:  RK Creative in: Community Forum

voices: 2
replies: 4

4 years, 8 months ago  Cristián Lávaque

Custom registration page text colour

By:  RK Creative in: Community Forum

voices: 2
replies: 7

4 years, 8 months ago  Bruce

login with email id

By:  RK Creative in: Community Forum

voices: 2
replies: 1

4 years, 8 months ago  Philly

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

My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 27 total)
Author Replies
Author Replies
Posted: Tuesday Jul 10th, 2012 at 7:25 am #18801

Thanks Raam,

Just curious, for themes that do not support your shortcodes, if you could give me the code to add to my themes functions.php, I could add it and test if the shortcodes work.

Is there a function to add to functions.php to get the user profile shortcode to work?

Posted: Thursday May 3rd, 2012 at 7:23 am #12451

Yes but not PHP code. Just a link or shortcode to logout and return to current page. Thanks.

Posted: Wednesday Apr 25th, 2012 at 6:34 am #11824

Fantastic Jason. I’m sure you’ll find a way to add this as another admin feature to the already impressive array in a future release.

Thank you.

Posted: Sunday Apr 22nd, 2012 at 10:21 pm #11575

Figured it out. Use Contact Forms 7 Dynamic Text extension and add s2 shortcodes.

Posted: Saturday Apr 21st, 2012 at 10:28 am #11508

ok I was wondering if this had already been done before or covered…

Posted: Saturday Apr 21st, 2012 at 10:27 am #11507

That would be very helpful. These additional features will make s2member pro and even more attractive solution.

Posted: Friday Apr 20th, 2012 at 11:41 pm #11452

In the end I went with the WWSGD plugin which worked great for me.

Posted: Friday Apr 20th, 2012 at 11:18 pm #11446

The recommendation to use SI Captcha was somewhere in Jason’s post here

but now I see it does not work with pro forms.

Posted: Friday Apr 20th, 2012 at 4:08 pm #11418

Figured it out.

As there is no apparent s2 shortcodes to add the s2 login form inline on a wp page, do the following…

1. Install Exec-PHP from wordpress

2. Create a wp login page and add the php code call to s2’s pro login widget to the page html.

<?php echo s2member_pro_login_widget(); ?>

Done. Inline login form. Style it any way you please.

Posted: Friday Apr 20th, 2012 at 2:40 pm #11410

Figured it out.

As there is no apparent s2 shortcodes to add the s2 login form inline on a wp page, do the following…

1. Install Exec-PHP from wordpress

2. Create a wp login page and add the php code call to s2’s pro login widget to the page html.

<?php echo s2member_pro_login_widget(); ?>

Done. Inline login form. Style it any way you please.

  • This reply was modified 4 years, 8 months ago by  RK Creative.
Posted: Friday Apr 20th, 2012 at 7:59 am #11369

Thanks Cristian,

I misunderstood the advice on this site. I had read that SI Captcha was recommended & works with s2member.

Which is completely true if I’m using the standard vanilla wp login page. I have tried it and si captcha integrates with no issue on a standard wp login page including validation.

I think what you’re telling me is that si captcha does not integrate into s2 pro’s inline reg form unless there is some serious work done under the hood.

Posted: Friday Apr 20th, 2012 at 7:52 am #11368

Thanks Jason & Cristian.

I’ve gone through the info you posted.

Some stuff is still not clear to me and I hope you can help.

I have used the s2 pro forms shortcode and created an inline reg page.

By default the page creates field description verbage including the title “Create Profile”

1. How and where do I change the "Create Profile" to "Create your own Profile"

Once I know that, I can figure out making out other field label/description changes.

2. How do I reorder the way fields appear on the reg form ?

Right now it appears as:

fname | lname | email | username | password and then a section called 'Additional Info' containing other fields I created in s2 pro like 'country'.

Can I change the field order to:

fname | lname | email | country | username | password 

If so, please let me know where and how?

Thanks

Posted: Friday Apr 20th, 2012 at 7:36 am #11365

For login s2Member Pro has this function: http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_pro_login_widget%28%29

Thanks for the link. So are you saying that for the s2 pro login to appear on a wp page I have to add this code to a page ?

<?php echo s2member_pro_login_widget(); ?>

Please confirm.

Posted: Thursday Apr 19th, 2012 at 9:33 am #11239

Thanks Cristian,

I need to have the fields in the following order on s2 pro reg form.

I know how to add a new field like country.

I cannot find info on how to arrange default fields and s2 custom fields in the order I require.

How do I do this ?

Posted: Thursday Apr 19th, 2012 at 9:14 am #11238

Philly,

Do you have instructions on how to properly code a menu logout link under the logged-in-menu above ?

Thanks

Posted: Thursday Apr 19th, 2012 at 8:05 am #11234

Hi Cristian,

The most important shortcodes to me would be pro forms related:

1. include reg form inline

[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it&#039;s Free!" custom="yoursite.com" tp="0" tt="D" captcha="clean" /]

2. include profile form inline

[s2Member-Profile /] 

3. include lost password form inline

I cannot find this one

4. include login form inline

I cannot find this one

I think a complete searchable list like this or a shortcode generator would be a great asset to customers.

  • This reply was modified 4 years, 8 months ago by  RK Creative.
Posted: Thursday Apr 19th, 2012 at 7:36 am #11229

Unfortunately my users hate recaptcha which seems the only option s2 pro forms provides. They prefer the simple text captcha that si captcha provides.

Therefore I need to add a si captcha to a s2 pro reg form.

Can you show me how to do this ?

Alternately is there any way to tweak s2’s pro recpatcha to display only 1 word, not 2 words ?

  • This reply was modified 4 years, 8 months ago by  RK Creative.
  • This reply was modified 4 years, 8 months ago by  RK Creative.
  • This reply was modified 4 years, 8 months ago by  RK Creative.
Posted: Thursday Apr 19th, 2012 at 7:31 am #11227

Hi Cristian,

Thanks for the reply. Sorry, let me clarify.

I do not wish to use the pro login widget.

I need the shortcode to add an inline login on a page.

I will then call that page from a menu link.

So I need the shortcode to add an inline login on a page.

Posted: Wednesday Apr 18th, 2012 at 4:07 pm #11151

Thanks very much Philly, your support is incredible! Worked perfectly…

I have been trying to figure this out since my trysts with WP-Member plugin. s2 works so much better and this solution really should be added to s2 docu. Everyone will need this.

Then in wordpress
admin appearance > menus
, you should see that under theme locations you have support for two or more menus. Now you can create a menu for logged in users and one for users that are not and apply them to the relevant drop down menus under theme locations.

In case anyone else is following this thread, use wp menus to create 2 menus named :
“logged-in-menu” and
“logged-out-menu”

Go to “logged-out-menu” and add your s2 registration page to that menu.
Go to “”logged-in-menu”” and add your s2 profile page to that menu.

Posted: Wednesday Apr 18th, 2012 at 3:37 pm #11145

Bruce,

Another related question: The reg form submit form button appears as grey on grey. Where do I tweak the submit form button colors ?

Posted: Wednesday Apr 18th, 2012 at 2:56 pm #11141

The site appears to work fine while uploaded to a live server. Logout works fine.

But on a local environment using MAMP it is failing. Anyone else seen this issue ?

Posted: Wednesday Apr 18th, 2012 at 2:39 pm #11137

Thank you very much. On my theme it appears as:

body, select, input, textarea { color: ffff; font-size:12px; font-family:”Lucida Sans Unicode”, “Lucida Grande”, sans-serif;}

I was able to change the font color.

I thought it was a s2 config but it was more to do with theme.

Posted: Wednesday Apr 18th, 2012 at 1:39 pm #11132

Thanks Bruce, I was hoping for something a little less generic.

Specifically, how can I change the field font color on a s2 pro inline reg form ? Right now the form is showing up with white field background and white font, so users cannot see what they are typing.

Thanks.

Posted: Wednesday Apr 18th, 2012 at 1:25 pm #11129

Sure thing, thanks for the assist. Here’s header.php below. The theme is Black Label

About the logging out issue – it does not seem theme related as I have tried again with a fresh wp install and default themes and same problem. I’m wondering if it’s a MAMP related thing. I will try publishing the site to a live host and see if the logout issue is resolved. I have not had this happen on live sites in the past.

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7 ]>    <html class="ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->

	<head>

		
		<meta charset="<?php bloginfo('charset'); ?>">
        <!--[if lt IE 9]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <![endif]-->
        
        <?php if (is_search()) { ?>
	   	<meta name="robots" content="noindex, nofollow" /> 
		<?php } ?>
        
		<title>
		   <?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	//$site_description = get_bloginfo( 'description', 'display' );
	//if ( $site_description && ( is_home() || is_front_page() ) )
		//echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'eneaa' ), max( $paged, $page ) );

	?>
		</title>
		<meta name="description" content="<?php bloginfo('description'); ?>">
        
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />


        <!-- 960Grid -->
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/960.css" />
        
        <!-- Dropdown Menu & Shortcodes Styles -->
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/shortcodes_and_menu.css" />
        
        <!-- Tabs -->
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/tabs.css" />        


		<?php 
        $global_style = get_option('of_global_style');
		if($global_style == 'Light'){
		?>
        <!-- General Styles Light -->   
        <link class="css_light" rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/light_skin.css" />
        <?php 
		}else{
		?>
        <!-- General Styles Dark -->
        <link class="css_dark" rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
        <?php 
		}
		?>
        
        
        <!-- Preloader -->
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/preloader.css" />
        
        <!-- prettyPhoto -->
    	<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/prettyPhoto.css" />
        
        
        
        <!-- html5shiv -->
        <!--[if lt IE 9]>
        	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        
        
        
        
         <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary 
		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
		<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.5.2.min.js"%3E%3C/script%3E'))</script>
        -->
        
        <!-- WP_Head -->
        	<?php wp_head(); ?>
        <!-- /WP_Head -->
        
       
        
        <!-- SWF Object -->
        <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/swfobject.js"></script>
        
        <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.jplayer.min.js"></script>
        
        
        <?php $map_key = get_option('of_gmaps_key');
		if($map_key){
		?>
        <!-- Google Maps -->
		<script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo get_option('of_gmaps_key'); ?>"></script>
		<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.gmap-1.1.0-min.js"></script>
		<?php } ?>
        
        
        <!-- Scripts from Admin Panel & Portfolios -->
		<?php include (TEMPLATEPATH . '/framework/theme_scripts/scripts.php' ); ?>
        
        <!-- adds the comment-reply JavaScript to the single post pages -->
        <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
        
        
        <!-- Facebook Tags -->
        <?php 
		if(is_single()){
		if (have_posts()) : 
		while (have_posts()) : the_post(); 
        $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
		endwhile; 
		endif;
		$facebook_id = get_option('of_facebook_id');
		?>
        <meta property="og:title" content="<?php wp_title("",true); ?>" />
        <meta property="og:type" content="product" />
        <meta property="og:url" content="<?php the_permalink(); ?>" />
        <meta property="og:image" content="<?php echo $thumbnail[0]; ?>" />
        <meta property="og:site_name" content="<?php bloginfo('name'); ?>" />
        <meta property="fb:admins" content="<?php echo $facebook_id; ?>" />
        <?php } ?>
       
        

		


	</head>
	<body <?php body_class(); ?>>

 <div id="wrap">
    <div id="container" class="<?php if (!is_page_template('home-page.php')) {echo "inner_page"; } ?> container_12">
   			

    
    	<header id="header" class="grid_12">
        
        	
            	<h1><a href="<?php echo home_url(); ?>/"><?php if($logo = get_option('of_logo')){ ?><img src="<?php echo $logo; ?>" alt="<?php bloginfo('name'); ?>"  /><?php }else{ bloginfo('name');}?></a></h1>
            
            
            
            <nav id="nav" class="jqueryslidemenu">            	
							<?php            
                                    wp_nav_menu( array( 
                                                               
                                        'theme_location'  => 'menu-1',
                                        'container'       => false
                                              
                                    )); 
                            ?>
                            <div class="clear"></div>
             </nav>
                         <div class="clear"></div>
             
            
        </header>
        
    <?php 
	//Get the page ID even if is the Blog Page
				global $wp_query;
				$page_id = $wp_query->get_queried_object_id();
				
	$background_image = get_post_meta($page_id, 'mb_background_image', true);
	$src = wp_get_attachment_image_src($background_image, 'full');
	
	//Audio---------------------------------
	$background_audio = get_post_meta($page_id, 'mb_background_audio', true);
	$background_audio_format = get_post_meta($page_id, 'mb_background_audio_format', true);
	
	if (is_page_template('home-page-youtube.php')) {//REMOVE
		$background_video = "http://www.youtube.com/watch?v=aXLDyVp0rVg";//REMOVE
	}elseif(is_page_template('home-page-vimeo.php')){//REMOVE
		$background_video = "http://vimeo.com/25968181";//REMOVE
	}else{//REMOVE
		$background_video = get_post_meta($page_id, 'mb_background_video', true);//KEEP
	}//REMOVE
	
	
	
	
	
	if($background_video != "" AND !is_page_template('home-page-slider.php')){
		$video_autostart = get_option('of_video_autostart'); 
		$video_controlbar = get_option('of_video_controlbar'); 
		$video_stretching = get_option('of_video_stretching'); 
		$video_bufferlength = get_option('of_video_bufferlength'); 
		$video_repeat = get_option('of_video_repeat'); 
		?>
		
		
		<?php
		
		//If is a Vimeo Video----------------------------------------------
		if (preg_match("/vimeo/i", $background_video)) {
			
			//Get the path of the URL
			$vimeo_video = parse_url($background_video, PHP_URL_PATH);
			
			//Remove "/" if is in the URL at the end or beggining
			$vimeo_video = trim($vimeo_video, "/");	
			
		?>
		    <div id="video_bck">
               	
        	<iframe id="video" src="http://player.vimeo.com/video/<?php echo $vimeo_video; ?>?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=<?php if($video_autostart == 'false'){ echo 0;}else{echo 1;} ?>&amp;loop=<?php if($video_repeat == 'none'){ echo 0;}else{echo 1;} ?>" width="400" height="170" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>
        	</div>
        	<script type="text/javascript"> 
				//<![CDATA[
                jQuery(document).ready(function($) {  
                	var w_height = $(window).height();
					var w_width = $(window).width();
					var $vimeo_video = $("#video");
					
                	$vimeo_video.width(w_width);
                	$vimeo_video.height(w_height);
                	
                	$("#navigation").hide();
                 
                 });
				 //]]>
            </script>
        <?php  
		} else {//If not Vimeo---------------------------------------------
		?>
        	
             <div id="video_bck">
               	<div id="video"></div> 
                <script type="text/javascript"> 
                jQuery(document).ready(function($) {  
					var w_height = $(window).height();
					var w_width = $(window).width();
					$("#navigation").hide();
                    jwplayer("video").setup({ 
                    flashplayer: "<?php echo get_template_directory_uri(); ?>/jwplayer/player.swf", 
                    file: "<?php echo $background_video; ?>", 
                    controlbar: '<?php if($video_controlbar == "true"){echo 'over';}else{echo 'none';}?>',
                    stretching: "<?php echo $video_stretching; ?>",
						<?php 
						if($global_style == 'Light'){
						?>
						skin: "<?php echo get_template_directory_uri(); ?>/css/simple.zip",
						<?php 
						}else{
						?>
						skin: "<?php echo get_template_directory_uri(); ?>/css/glow.zip",
						<?php 
						}
						?>
						/*	
					youtube: [
							{ quality: "medium"}
							],
						*/
                    autostart: <?php echo $video_autostart; ?>,
                    bufferlength: <?php echo $video_bufferlength; ?>,
					repeat: "<?php echo $video_repeat; ?>",
					<?php if (is_page_template('home-page-html5.php')) {//REMOVE ?>
					modes: [
							{ type: "html5"
							},
							{ type: "flash", 
							  src: "<?php echo get_template_directory_uri(); ?>/jwplayer/player.swf"
							},
							{ type: "download" }
						],
					<?php } ?>
					
					events: { onComplete: function() { 
					
						<?php if($video_repeat == "none"){ ?>
                        jwplayer("video").remove(); 
                        $("#video_bck").remove();
						$("#navigation").show();
						<?php } ?>
						
						<?php if($background_audio != ""){?>

							$("#jquery_jplayer_1").show();
							$("#jp_interface_1").show();
						 	$("#jquery_jplayer_1").jPlayer({
								ready: function () {
									$(this).jPlayer("setMedia", {
										<?php echo $background_audio_format; ?>: "<?php echo $background_audio; ?>"
									}).jPlayer("play");
								},
								ended: function (event) {
									$(this).jPlayer("play");
								},
								//solution: "flash, html", // Flash with an HTML5 fallback.
								swfPath: "<?php echo get_template_directory_uri(); ?>/js/",
								supplied: "<?php echo $background_audio_format; ?>"
							});
						<?php }//End if Audio ?> 
						
						 
                    } },
                    height: w_height,
                    width: w_width }); 
                 });
                </script>
                
            </div><!-- /video_bck -->
            
            <?php
			}//If not Vimeo
			?>
        
        <?php }else{ 
			//Audio Player-----------------------------------------------------------------------------------
        	if($background_audio != ""){
			?>
			
            <script type="text/javascript">
            jQuery(document).ready(function($) {
				$("#jquery_jplayer_1").show();
				$("#jp_interface_1").show();
             $("#jquery_jplayer_1").jPlayer({
                    ready: function () {
                        $(this).jPlayer("setMedia", {
                            <?php echo $background_audio_format; ?>: "<?php echo $background_audio; ?>"
                        }).jPlayer("play");
                    },
                    ended: function (event) {
                        $(this).jPlayer("play");
                    },
                    //solution: "flash, html", // Flash with an HTML5 fallback.
                    swfPath: "<?php echo get_template_directory_uri(); ?>/js/",
                    supplied: "<?php echo $background_audio_format; ?>"
                });
            });
            </script>
            <?php } //End if Audio
			//Audio Player-----------------------------------------------------------------------------------
			
		}//Else Video
		
		if(!is_page_template('gallery-fullscreen.php')){
		
		
		$slider_autoplay = get_option('of_slider_autoplay'); 
		$slider_slide_interval = get_option('of_slider_slide_interval'); 
		$slider_speed_transition = get_option('of_slider_speed_transition'); 
		$slider_transition = get_option('of_slider_transition'); 
		$slider_pausehover = get_option('of_slider_pausehover'); 
		$slider_navigation = get_option('of_slider_navigation');
		$slider_verticalcenter = get_option('of_slider_verticalcenter');
		$slider_horizontalcenter = get_option('of_slider_horizontalcenter'); 
		
		?>
        
           <!-- Supersized -->
            <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/supersized.css" />
            
            <script type="text/javascript">
            jQuery(document).ready(function($) {  
					
                    jQuery(function($){
                            $.supersized({
                                //Functionality
                                slideshow               :   1,		//Slideshow on/off
                                autoplay				:	<?php echo $slider_autoplay; ?>,		//Slideshow starts playing automatically
                                start_slide             :   1,		//Start slide (0 is random)
                                random					: 	0,		//Randomize slide order (Ignores start slide)
                                slide_interval          :   <?php echo $slider_slide_interval; ?>,	//Length between transitions
                                transition              :   <?php echo $slider_transition; ?>, 		//0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
                                transition_speed		:	<?php echo $slider_speed_transition; ?>,	//Speed of transition
                                new_window				:	0,		//Image links open in new window/tab
                                pause_hover             :   <?php echo $slider_pausehover; ?>,		//Pause slideshow on hover
                                keyboard_nav            :   1,		//Keyboard navigation on/off
                                performance				:	1,		//0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
                                image_protect			:	1,		//Disables image dragging and right click with Javascript
                                image_path				:	'<?php echo get_template_directory_uri(); ?>/images/', //Default image path
            
                                //Size & Position
                                min_width		        :   0,		//Min width allowed (in pixels)
                                min_height		        :   0,		//Min height allowed (in pixels)
                                vertical_center         :   <?php echo $slider_verticalcenter; ?>,		//Vertically center background
                                horizontal_center       :   <?php echo $slider_horizontalcenter; ?>,		//Horizontally center background
                                fit_portrait         	:   1,		//Portrait images will not exceed browser height
                                fit_landscape			:   0,		//Landscape images will not exceed browser width
                                
                                //Components
                                navigation              :   <?php echo $slider_navigation; ?>,		//Slideshow controls on/off
                                thumbnail_navigation    :   0,		//Thumbnail navigation
                                slide_counter           :   0,		//Display slide numbers
                                slide_captions          :   0,		//Slide caption (Pull from "title" in slides array)
                                slides					:   [ 		//Background image
                                                                    <?php if($background_image != ""){ ?>
                                                                        { image : '<?php echo $src[0]; ?>' }
                                                                    <?php }else{
																	
																		//Last to First
																		//query_posts(array('post_type'=>'slides')); 
																		
																		//First to Last
																		query_posts('post_type=slides&order=ASC&posts_per_page=-1'); 
																		$output = "";
																		$n= 0;
																			//Loop for Post Types Slides
																			if ( have_posts() ) while ( have_posts() ) : the_post();
																			$n++;
																				//Slide Image
																				$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
																				//Get the Slide meta info
																				$slide_link = get_post_meta(get_the_ID(), 'mb_slide_link', true);
																			   
																			
																				$output.="{"; 
																				$output.="image : '". $thumbnail[0] ."'"; 
																				 if($slide_link != ''){
																					  $output.="  , url : '". $slide_link." '";
																					    } ;
																				$output.="},";
																			
																			
																			 endwhile; 
																			 if($n > 1){
																			  $output = substr ($output, 0, -1);
																			 }
																			 echo $output;
																			// Reset the global $the_post as this query will have stomped on it
																			wp_reset_query();
																			?>

                                                                    <?php } //else ?>
                                                            ]
                                        
                            });
                    });
					
            });
            </script>
            
            <?php
            }//if not fullscreen gallery
            ?>
            
             <?php if($background_image != ""){ ?>
                                                                       
             <?php }else{ ?>
                <div id="navigation" class="background_2">
                    <a href="#" id="prevslide"></a>
                    <a href="#" id="pauseplay" class=""></a>
                    <a href="#" id="nextslide"></a>
                </div><!-- /navigation -->
            <?php } ?>
            
            <!-- Audio Player ---------------------------- -->
			<div id="jquery_jplayer_1"></div>
            <div id="jp_interface_1" class="background_2">
             <a href="#" class="jp-play">Play</a>
             <a href="#" class="jp-pause">Pause</a>
            </div>
            <!-- Audio Player ---------------------------- -->
  • This reply was modified 4 years, 8 months ago by  RK Creative.
Posted: Wednesday Apr 18th, 2012 at 12:12 pm #11123

As I am using MAMP, I have made the required s2 requested change to wp-config.php.

No matter which logout method I choose, the site refuses to log me out.

Clicking logout under the wp admin bar on top or meta fields widget logout link adds the following to my url:

?action=logout&_wpnonce=c1cd2b6823

but nothing happens – I am still logged in.

About the logging out issue – it does not seem theme related as I have tried again with a fresh wp install and default themes and same problem. I’m wondering if it’s a MAMP related thing. I will try publishing the site to a live host and see if the logout issue is resolved. I have not had this happen on live sites in the past.

Very strange.

  • This reply was modified 4 years, 8 months ago by  RK Creative.
Viewing 25 replies - 1 through 25 (of 27 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.