Forum Replies Created
-
Author
-
webmaster-swParticipant
I figured it out.
I downloaded the functions.php file from ftp and the download converted the ‘ to ‘, invalidating the code.Thanks for the help!
webmaster-swParticipantMy apologies, I can confirm I was using 3.0.7
I have disabled all plugins excluding PMPro, and as well the buddypress privacy code that I added to my child theme functions.php has stopped working as well, as follows:
There’s something new in the system that is blocking my paywall code.
COPY CODE/* Private Groups, Forums, Forum Posts */ function bp_guest_redirect() { global $bp; if ( bp_is_activity_component() || bp_is_groups_component() || bbp_is_single_forum() || bp_is_forums_component() /*|| bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG )*/ ) { // enter the slug or component conditional here if(!is_user_logged_in()) { // not logged in user wp_redirect( get_option(‘siteurl’) . ‘/membership-account/membership-levels/’ ); } // user will be redirect to any link to want } }
July 20, 2015 at 23:45 in reply to: Posts Page – Display Type: Standard – Php to make images links #69170webmaster-swParticipantIf anyone is looking for the solution, here it is. I just copied the php from the text link above the image to the image.
The changes are made to the content.php file, which can be placed directly into the /Kleo-Child directory.
Original code (lines 38-40) :
COPY CODE<div class="article-media"> <?php echo kleo_get_post_thumbnail( null, 'kleo-full-width' );?> </div>
New code:
COPY CODE<div class="article-media"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'kleo_framework' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo kleo_get_post_thumbnail( null, 'kleo-full-width' );?></a> </div>
webmaster-swParticipant@Andrei I saw that – I guess that can be interpreted as our webhost shutting down login php calls to keep from overloading the server.
Thank you for your insight
webmaster-swParticipant@abe The line reference in functions.php is always after the closing tags. I’ve run it through a php validator and it states there are no issues.
At any rate, the php errors have disappeared now, but the login 406 is continuing to occur with modal login.
The tattoo gallery page above is loading for me and demonstrates the modal login 406 error. Please let me know what you find out.
webmaster-swParticipantI tried redirecting my users to wp-admin to login and now I’m getting this:
Warning: Cannot modify header information – headers already sent by (output started at /home/abc/public_html/wp-content/themes/kleo-child/functions.php:55) in /home/abc/public_html/wp-includes/pluggable.php on line 1196
The only way to get to a login screen is via wp-login.php, which gives me this at the top:
Warning: Cannot modify header information – headers already sent by (output started at /home/abc/public_html/wp-content/themes/kleo-child/functions.php:55) in /home/abc/public_html/wp-login.php on line 425
Warning: Cannot modify header information – headers already sent by (output started at /home/abc/public_html/wp-content/themes/kleo-child/functions.php:55) in /home/abc/public_html/wp-login.php on line 438
Any ideas what’s going on?
webmaster-swParticipantDidn’t know about this kleo-login class. Thanks for that, just what I was looking for.
webmaster-swParticipantHi Sharmstr
I can’t leave Activity unlocked for long periods of time, but I can make you a user. Or you are welcome to register on your own. Our memberships are free.webmaster-swParticipantHi @sharmstr
I gave that a try, to no effect.Were you able to identify anything in your Console?
April 28, 2015 at 17:46 in reply to: Author Avatar gone from Posts, Post page, Archive following v2.4.3 update #56459webmaster-swParticipant@sharmstr Awesome! Thanks Sharmstr
webmaster-swParticipant@sharmstr Upgraded to KLEO v2.4.3 and author avatars are gonzo.
Any info on what happened?
VC is at 4.3.5, WordPress is 4.2.
Post meta included “Author Avatar”
Here’s my html for blog page, posts page, and archives:
COPY CODE<div class="article-meta"> <span class="post-meta"> <small class="meta-links"> <a href="http://www.temp.com/members/kyle/"> <i class="icon-user-1 hover-tip" data-placement="top" data-toggle="tooltip" data-original-title="View profile"></i> </a> <a href="http://www.temp.com/members/me/messages/compose/?r=kyle&_wpnonce=61c36a22fd"> <i class="icon-mail hover-tip" data-placement="top" data-toggle="tooltip" data-original-title="Contact Kyle"></i> </a> <a href="http://www.temp.com/author/kyle-the-photographer/"> <i class="icon-docs hover-tip" data-placement="top" data-toggle="tooltip" data-original-title="View all posts by Kyle"></i> </a> </small> , <small> <a class="post-time" rel="bookmark" href="http://www.temp.com/2015/04/post-32915/"> <time class="entry-date" datetime="2015-04-24T15:56:01+00:00">April 24, 2015</time> <time class="modify-date hide hidden updated" datetime="2015-04-24T15:56:01+00:00">April 24, 2015</time> </a> </small> , <small class="meta-category"> <a rel="category tag" href="http://www.temp.com/category/gallery/">Gallery</a> </small> , <small class="meta-comment-count"> <a href="http://www.temp.com/2015/04/post-32915/#comments"> </small> </span> <span class="edit-link"> </div>
April 24, 2015 at 04:33 in reply to: Posts Page – Display Type: Standard – Php to make images links #56012webmaster-swParticipantThat’s awkward.
I’m going to have to recommend a proxy then.Otherwise, thanks in advance for your help. I appreciate the effort.
webmaster-swParticipantAre you telling me that the only way to use this new default photo code is to wipe everyone’s default photos and then have them re-upload their profile photo?
I don’t think that’s acceptable to our users.
Is there an alternative workflow that doesn’t wipe our user’s default photos?
April 17, 2015 at 16:09 in reply to: Posts Page – Display Type: Standard – Php to make images links #54942webmaster-swParticipantThis reply has been set as private.April 17, 2015 at 16:09 in reply to: Posts Page – Display Type: Standard – Php to make images links #54940webmaster-swParticipantThis reply has been set as private.webmaster-swParticipant@Laura
Also, this code just replaced a whole bunch of my users profile photos, including mine, with the default photo.webmaster-swParticipant@Laura I wanted to make this happen but I didn’t want the hassle of re-editing the buddypress plugin files with each new version.
I put it in Kleo Child functions.php and it works great.webmaster-swParticipant@Sharmstr – found it. The Network tab. Looks like kleo notifications at 20 sec intervals is the likely culprit.
Interval set to 0! Today we begin a new life!
webmaster-swParticipant@Sharmstr
I am having webhost account suspensions from admin-ajax usage: can you tell me what part of the Chrome Developer’s Console you were able to use to identify which plugins were sending out the calls?webmaster-swParticipant@Laura just implemented Cloudflare again, using your recommended settings for Object Cache and Minify.
Huge improvements. Thanks for your help!webmaster-swParticipant@Laura
I am using W3TC, but the link that you posted with settings details does not go anywhere.I had been using Cloudflare, but it was masking the IPs of malware traffic brought to the site by Buddypress’s vulnerabilities. I’ll try implementing it with the Cloudflare W3TC extension.
webmaster-swParticipantNo worries.
As a heads up: there’s no way for a mobile user to even bring up pagination on the carousels.
So generally your choices are Autoplay, or mobile users get served a static carousel.webmaster-swParticipant@Radu
Cheers for this.
Wish this info was included in the KLEO documentation – finally found out about [bbp-forum-index] today.webmaster-swParticipant@Laura
I’ve always been weary of javascript minify, especially with how intensive jscript usage is with KLEO.I’ve given up attempting to navigate it myself and went with the W3 Total Cache settings provided by @itt in this thread:
https://archived.seventhqueen.com/forums/topic/slow-sitewebmaster-swParticipant@sharmstr Oh right, I see with the Continue Reading.
Okay I will look for a css conflict on my end.Thanks!
webmaster-swParticipant@sharmstr It’s working great for me on the archive page and on single posts page, as you posted above.
How about Posts page? Also known as Blog. The page that you set your Blog to in Settings > Reading > Static Page > Posts
March 2, 2015 at 18:42 in reply to: how to display social networks to buddypress member profile #48402webmaster-swParticipant@webmaster-sw I can confirm that its not an issue on my sites. No problems here.
@Sharmstr my icons were displaying, but the links were not working, and z-index could not put the links in front of the “profile-cover-inner” class.I looked through the css for the other displayed fields and found out that they all had a position: relative property. Adding the position: relative property caused the social icons z-index to be respected with the new cover photo.
I’m still using my original code because I don’t want user fields labeled “instagramm” or “pinterest-circled”, which are the icon names.
webmaster-swParticipantOh I get it. The combo box dropdown doesn’t appear unless you click in the field, and the description doesn’t mention anything about Author avatars or links.
I’m probably not the only person that couldn’t figure that out. Some expanded documentation is highly recommended for less savy users like me.
-
AuthorPosts