iltdevunit
Forum Replies Created
-
Hi there,
Yes I am calling this on the front end.
I have a custom profile template (using Theme My Login) and allow the user to select their avatar and update their profile.When the page reloads, the avatar is shown in the header and at this point the I set the avatar image’s category to 13.
Is there a workaround for this?
Forum: Plugins
In reply to: [Theme My Login] Stop redirect to network site when registeringMarking as resolved.
Forum: Plugins
In reply to: [Theme My Login] Stop redirect to network site when registeringFound it!
I commented out this code in class-theme-my-login-ms-signup.php
if ( ! is_main_site() ) { wp_redirect( network_home_url( 'wp-signup.php' ) ); exit; }
Here’s the original code:
{has_category_43} {is_past} [alert close="true" type="info"]Please <a href="/contact-us"><strong>contact us</strong></a> to discuss availability.[/alert] {/is_past} <div id="coursesummary"> [vc_toggle title="Key Facts" open="true" css_animation="top-to-bottom"] <h6 class="nopadding">Categories</h6> <p>#_CATEGORIES</p> {is_future} {has_time} <h4 class="nopadding">Date/Time</h4><p>Date(s) - #_EVENTDATES<br /><i>#_EVENTTIMES</i></p> {/has_time} {no_time} <h6 class="nopadding">Date/Time</h6><p><a href="/contact-us">Contact us</a></p> {/no_time} {all_day} <h6 class="nopadding">Date/Time</h6><p>#_EVENTDATES<br />All day</p> {/all_day} {/is_future} #_SUMMARYFIELDS [/vc_toggle] </div> <strong>#_EVENTEXCERPT</strong> <br class="clearfix"> #_EVENTNOTES #_DETAILSFIELDS {/has_category_43} {no_category_43} <div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div> <h4 class="nopadding">Date/Time</h4> <p>Date(s) - #_EVENTDATES<br /><i>#_EVENTTIMES</i></p> #_EVENTNOTES {/no_category_43} {has_bookings} <h3>Bookings</h3> #_BOOKINGFORM {/has_bookings} #_EVENTTAGS
#_SUMMARYFIELDS and #_DETAILSFIELDS are my own placeholders that I swap out in event-single.php.
The shortcode causing the problem is vc_toggle, which is from the Visual Composer plugin. Removing that gets rid of the problem.
I’m not sure if it’s a change in Visual Composer or Event Manager that has made the difference.Okay, I’ve figured out the real cause. In my custom single event page format, I included a conditional placeholder for the course category i.e. do this when the event single page is a course.
This placeholder contained an expanding div shortcode. For some reason the new version doesn’t like shortcodes within the page format box.I’ll open a new support question for this issue.
I’ve added my review now, John ??
Forum: Plugins
In reply to: [Social Share Buttons & Analytics Plugin – GetSocial.io] Asynchronous loadingHi John,
I’m afraid I’m working on an internal development server.
Also the issue just occurred over a couple of minutes. It has not done it since.Sorry for the late reply.
Yes that seems to have done the trick. Thanks for implementing this so quickly ??Forum: Plugins
In reply to: [WP Booking Calendar] Google calendar integrationThanks for the reply.
Forum: Plugins
In reply to: [Contextual Related Posts] Shortcode to limit to a specific post typeGreat I’ll give it a try ??
So, if my custom post type is ‘news’, would I use the following?
do_shortcode('[crp limit="6" heading="1" cache="1" post_types="post=news&page=news"]');
Forum: Plugins
In reply to: [Theme My Login] Heads up about using false on the shortcodeThanks for this, alvaro. I’ve been scratching my head over this one. Very surprised the documentation hasn’t been updated to rectify the mistake.
Thanks Samuel
Thanks for the info guys. Very informative.
I’m a little confused though. If I go to Amazon, Next or Play.com, for example, log in and the account page is naturally https. But If I move away to the homepage or a product page, the content is https.
So are we saying that this is a big no-no?I also notice get_currentuserinfo(); is empty when over http, and populated when https.
I’m having this problem too. Was this quirk introduced in 4.0?
Did you find a workaround, David?It’s a real pain as it means my header shows the login link even when they’re logged in, instead of their name, profile and logout links.