Title: Ben's Replies | WordPress.org

---

# Ben

  [  ](https://wordpress.org/support/users/creatureweb/)

 *   [Profile](https://wordpress.org/support/users/creatureweb/)
 *   [Topics Started](https://wordpress.org/support/users/creatureweb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/creatureweb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/creatureweb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/creatureweb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/creatureweb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/creatureweb/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Field Editor for WooCommerce - Checkout Manager] Adding to e-mail](https://wordpress.org/support/topic/adding-to-e-mail/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/adding-to-e-mail/#post-14174161)
 * I’m so sorry for not responding sooner. I was able to correct the issue. No idea
   what went wrong but I uninstalled and reinstalled the plugin and got the option
   you shared n your screenshot but wasn’t getting it the first time through.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Field Editor for WooCommerce - Checkout Manager] Adding to e-mail](https://wordpress.org/support/topic/adding-to-e-mail/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/adding-to-e-mail/#post-14139525)
 * Thank you!
 * I’m using : [https://wordpress.org/plugins/kadence-woocommerce-email-designer/](https://wordpress.org/plugins/kadence-woocommerce-email-designer/)
 * But I also disabled that plugin and the option was still not present.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660897)
 * Well, by all means, update this thread when you find a workable solution because
   many will find it useful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660834)
 * I’m not very familiar with what that field will or will not accept so I can’t
   really help you there I moved on from it before I got that far.
 * As far as editors.. I use Sublime Text and Visual Studio Code. Both are strong
   editors.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660755)
 * That would be none sir. I couldn’t get it to work with Elementor or VC (even 
   tried using a VC specific page template as my single-private-page.php file still
   no options to edit via VC.
 * You’ll also notice that some of your headers aren’t filtering through either.
   I spent a few hours working with it and trying to just hand input my styles into
   the template-page file but who has time for that? I just ditched the plugin and
   wrote a workaround from scratch because my goal for using the plugin was to save
   time not invest the same amount of time in a plugin that I would have creating
   it functions.
 * I am glad you spoke up though! These Cozmos characters definitely seem to have
   it together as far as their knowledge goes.. they create some great things but
   I don’t think they realize that they are a bit out of touch with their customer
   base or the fact that their description of some of their products is a bit misleading.
 * I’m not saying its intentional.. it just happens sometimes. But I think it will
   go a long way if they see I’m not alone in the same complaints I’ve been going
   back and forth with them on for the past few days.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660707)
 * Creating the [client-portal] shortcode
 * This is probably the most important functionality of the entire plugin. Once 
   the user is logged in he needs to be able to access his client portal. By default,
   there’s no way the user or the administrator to create a menu for each individual
   user.
 * So instead we’re simply redirecting the user to his individual private page with
   the use of the [client-portal] shortcode.
 * Since the shortcode executes in the middle of the page, we can’t really do a 
   PHP redirect without some sort of workaround. So instead we’ve opted for a simple
   Javascript redirect that should work just fine for the majority of use cases.
 * via: [https://www.cozmoslabs.com/55726-how-to-wordpress-client-portal-plugin/](https://www.cozmoslabs.com/55726-how-to-wordpress-client-portal-plugin/)
 * Hope it helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660700)
 * Yes, you can. It does that very well but it will be in post format and show as
   if it lives in your blog unless you add the file I mentioned.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Private Page Shortcode](https://wordpress.org/support/topic/private-page-shortcode/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/private-page-shortcode/#post-10660681)
 * [client-portal] is the shortcode I think you are after.
 * However, if you want a page instead of a post you’ll have to add a page template
   file named “single-private-page.php” to your theme folder. ( and it still won’t
   work like the rest of your pages) but it’s an improvement over posts.
 * Their support (loose term) informed me this morning they will be reworking the
   plugin to be more in line with the client expectations. I believe the word “bug”
   was used… solid product, solid work. (don’t hold your breath for their help)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Pages NOT Posts](https://wordpress.org/support/topic/pages-not-posts-3/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/pages-not-posts-3/#post-10652577)
 * Oh I just couldn’t help myself –
 * What Pages Are Not
 *  **Pages are not posts,** so they don’t appear in the time-structured views within
   a blog section of a website.
 * that’s from the first page of the WordPress codex.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Client Portal - Private user pages and login] Misleading](https://wordpress.org/support/topic/misleading-49/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/misleading-49/#post-10652522)
 * After getting a reply to my ticket I’d like to retract my statement about the
   zero stars.
 * Negative stars should be an option.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Client Portal - Private user pages and login] Pages NOT Posts](https://wordpress.org/support/topic/pages-not-posts-3/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [8 years ago](https://wordpress.org/support/topic/pages-not-posts-3/#post-10652518)
 * Please see my response to your reply to my ticket. I have zero appreciation for
   your sarcasm and after you read my response I’ll bet you have zero appreciation
   for mine as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Login Logout Plugin] Conflict with Layout-Builder](https://wordpress.org/support/topic/conflict-with-layout-builder/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/conflict-with-layout-builder/#post-5699102)
 * Yes. I too have to disable this plugin to be able to use Visual Composer on the
   backend.
 * Also since the last update (7days ago) The plugin has stopped functioning and
   will not accept changes on its settings page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Widget] Admin Ajax functions broken](https://wordpress.org/support/topic/admin-ajax-functions-broken/)
 *  Thread Starter [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-functions-broken/#post-5460901)
 * You are correct sir, I was just responding to an e-mail from you actually. After
   some further digging I found the conflict to be with the Visual Composer plugin..
   NOT wordpress itself.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Widget] Placeholder text](https://wordpress.org/support/topic/placeholder-text-3/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/placeholder-text-3/#post-5022864)
 * sorry I meant to be more specific. You’ll find the above code on line 94 of constantcontactwidget.
   php.
 * You’ll see how I chose to add placeholders to each field. (might not be the best
   method as far as DOM is concerned and there may be browsers out there that are
   behind on supporting it but it works fine for me.)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Widget] Placeholder text](https://wordpress.org/support/topic/placeholder-text-3/)
 *  [Ben](https://wordpress.org/support/users/creatureweb/)
 * (@creatureweb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/placeholder-text-3/#post-5022863)
 *     ```
       function sf_constantcontact_form($id,$p) {
       	return '<form id="'.$id.'_form" onsubmit="return '.$id.'_submit(this);" class="constantcontactwidget_form">'
       		.(empty($p['txt'])?'':('<p>'.$p['txt'].'</p>'))
       		.'<input type="hidden" name="grp" value="'.esc_attr($p['grp']).'" />'
       		.(empty($p['nam'])
       			?('<input type="text" name="eml" class="input" placeholder="'.__('Email').'"/>')
       			:('<p><label for="fnm">'.__('').'</label> <input type="text" name="fnm" placeholder="First Name" value="" class="input"/></p>'
       			.'<p><label for="lnm">'.__('').'</label> <input type="text" name="lnm" placeholder="Last Name" value="" class="input"/></p>'
       			.'<p><label for="eml">'.__('').'</label> <input type="text" name="eml" placeholder="E-mail" value="" class="input"/></p>'))
       		.(empty($p['req'])?'':('<p><input type="checkbox" name="req" class="input"> '.$p['req'].'</p>'))
       		.'<input type="submit" value="'.esc_attr($p['btn']).'" />'
       		.'</form>'
       		.'<script>function '.$id.'_submit(n){'
       			.'for(var a=n.querySelectorAll("input"),i=0,eml=false,val=["action=constantcontactadd"];i<a.length;i++)if(a[i].name){'
       				.'if(a[i].name=="req"){if(!a[i].checked){alert("'.__('Consent required').'");return false;}}'
       				.'else{if(!(a[i].name!="eml"||!a[i].value))eml=true;val.push(a[i].name+"="+encodeURIComponent(a[i].value));}'
       			.'}'
       			.'if(!eml){alert("'.__('Please enter an email address').'");return false;}'
       			.'var xml=new XMLHttpRequest();'
       			.'xml.open("POST","'.admin_url('admin-ajax.php').'",true);'
       			.'xml.setRequestHeader("Content-type","application/x-www-form-urlencoded");'
       			.'xml.onreadystatechange=function(){if(this.readyState==4){if(this.status==200){if(this.responseText)alert(this.responseText);else '.(preg_match('/^\/\/|^http:\/\/|^https:\/\//i',$p['msg'])?('setTimeout(\'window.location="'.esc_attr($p['msg']).'";\',100);'):('n.innerHTML="'.addslashes($p['msg']).'";')).'}else alert(this.statusText);}};'
       			.'xml.send(val.join(String.fromCharCode(38)));'
       			.'return false;'
       		.'}</script>';
       }
       ```
   

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