Forum Replies Created
-
Author
-
mitchcanParticipant
Here’s all I could find. I went through page-parts and other places looking for others. Am I missing any?
kleo_before_main — above content incl SB, below header/menu (above breadcrumb if apply)
kleo_before_content — adds sidebar-like column to the left of main-content (hmm?)
kleo_before_main_content — above the main content only, not SB (incl above page title if apply)
kleo_after_main_content — below the main content only, not SB
kleo_after_content — adds sidebar-like column to the right of main-content (hmm?)
kleo_after_main — below content incl SB, above footer
I’m curious on the kleo_before_content and kleo_after_content … is this the intended functionality for those?
I now have a nice, neat list. π Please LMK if there are others.
Thanks.
mitchcanParticipanthey, I think I found it in going through old code.
kleo_before_main right?
sheeesh all the names got me a little confuddled. Please LMK if I am missing any others, but I’ll work with what I gots until then. π
Thanks.
July 25, 2015 at 20:13 in reply to: Dog Chasin' Tail to get slider in widget in main_content on page #70003mitchcanParticipantIt’s funny, but it NEVER even occurred to me to even remotely consider using is_home() when I was specifically trying to NOT place it on the “home” page. I was fixated on page id 122731 (which is the id of the page that I set as Posts in /reading) as the way to get the slider on the blog posts page. Ooops. π
Thanks again!
July 25, 2015 at 19:45 in reply to: Dog Chasin' Tail to get slider in widget in main_content on page #70000mitchcanParticipantOK, first, that’s hilarious. This entire time I’ve been specifically trying NOT to place it on home, thinking home meant, well, you know, Home (as in Front Page) vs Posts. In my last theme, I didn’t mess with the reading settings, it was built to overtake the Your Latest Posts setting. So I missed that info. Thanks.
But back to the strategy of placing it via the widgets setup.
My rationale, possibly flawed as usual, π was that I often use multiple widgets in each of the widget ‘areas’ I created in kleo_before_content, kleo_before_main etc, then I use Dynamic Widgets plugin to determine the display of each widget.
In using the Rev Slider php directly, I don’t want to lose the ability to still use that widget ‘area.’
I’m no php guy, but can I still make that happen by doing something like
COPY CODEadd_action('kleo_before_main_content','kleo_top_main_content'); function kleo_top_main_content() { if (is_home()) { echo '<div id="before-main-content">', putRevSlider( "featured-posts" ), '</div>'; } else { echo '<div id="before-main-content">', do_shortcode('[widgets_on_pages id="wop-3"]'), '</div>'; //could put shortcode here } }
I have no clue if that is structurally correct, but conceptually, would something like that work to allow me to still have the ‘wop-3’ widget area functional?
Thanks for setting me straight on some of the usage here.
Have a great weekend!
mitchcanParticipantA) Thanks… I looked for something like that, just missed it.
B) uh, suh-weeet. But holy carp, there goes a couple hours I know I’ll spend just randomly rummaging through all those snippets. LOL π
mitchcanParticipantI hear you. I’m fanatical about site speed, mainly because I know our site is so ‘heavy’ (LOTS of plugins) to begin with. So I tend to overcompensate by trying lots of things to make it better. I messed with some of the wp.org repository plugins for cache and minify, without much success.
I will tell you, although somewhat of a hassle to mess with, one of the very best (free, simple) things I added for limiting requests and conflicts (through selective load) and thereby speeding up things somewhat, was a plugin called Plugin Organizer.
Hosting has helped some too with server side cache, so no need for cache plugins.
But never an easy, good, simple, and inexpensive solution. Oh well. π
Thanks again for your guidance. Things *seem* to be working since I turned off Rocket Load. We’ll keep an eye on it.
Have a great day!
mitchcanParticipantThanks for the guidance. I was looking for errors in the console, and I saw a reference to cloudflare, so I’ve been looking there too.
I do have auto minify set at Cloudflare, and I was looking into conflicts, but it says:
Auto Minify should not break third-party scripts. If you are seeing third-party scripts breaking on your site (Google, widgets, plugins), then Rocket Loader is most likely the cause of any errors you’re seeing.
I do also have Rocket Loader active. It states:
Rocket Loader improves page load times by:
Decreasing the number of network requests by bundling JavaScript files, even third party resources, to avoid slowing down page rendering
Asynchronously loading scripts, including third party scripts, so that they do not block the content of your page from loading immediately
Caching scripts locally (using LocalStorage, available on most browsers and smart phones) so they aren’t refetched unless necessaryI have it set to Auto – which loads on all scripts. In researching, I can turn off selectively:
You can have Rocket Loader ignore individual scripts by adding the data-cfasync=”false” attribute to the relevant script tag, for example: <script data-cfasync=”false” src=”/javascript.js”></script>
I’m still working through all the details. I’m not really sure how I’d go about modifying implementation, or if I would realize any site/speed degradation by turning it off completely.
Hmmmm.
mitchcanParticipantYeah, I thought I had checked and compared code in those 10 or so files, but it was 4AM, and, well, I missed one. Some idiot had tried to comment out some code for some unknown reason in a random single line in one of the page-parts files. At this point, I can’t even figure out what he was trying to accomplish.
Oh well, I’d fire the guy for the late night grief the error caused me, but I don’t really feel like replacing myself. π
Thanks, and have a great day!
mitchcanParticipantAs usual π I stand corrected.
I had placed:
before_main
before_content
after_mainin a custom functions. But in simple confusion over names looks like I had neglected ‘before_main_content’. What I was seeing on the page was content in the ‘before_content’. My bad.
Added and resolved. Thanks as always for making me rethink what the heck I’m doing. Have a great weekend!
mitchcanParticipantI will ask around, thanks.
I’m digging into the database now, looking for what gets sent with the CPT. Your screenshot triggered the thought to do that. Thanks for that.
mitchcanParticipantThanks @sharmstr, I only asked here first because 1) I wasn’t sure if it had anything to do with the theme and it’s display of images, and 2) because I knew I would get a timely reply here. π
Interestingly, the CPT UI plugin I am using provides for a Featured Image option, and I DO have it selected (which is why I have the FtImg metabox on the CPT). It must be something that is not sending that info through somehow. I’ll keep digging around.
Thanks as always for your knowledge and responsiveness.
mitchcanParticipantI only get the error on the pages associated with Kleo Theme Options.
I am in the middle of a host/server change, as soon as that is propagated, I will try again and report back.
Thanks.
mitchcanParticipantThanks for the plugin. Interesting.
I’m pretty sure I did the memory settings correctly.
Here’s the data (from the plugin):
PHP Version : 5.3.29 / 64Bit OS
Memory limit : 512 MB
Memory usage : 250.53 MB
49%This seems to only be happening when I have Kleo active and only when I try to make any changes to any of the Theme Options settings.
mitchcanParticipantThanks @Abe, I grabbed files from codecanyon a bit ago, uploaded via ftp, and they look to still be 3.0. I see your changelog is updated to show 3.0.1, I guess it might be a bit before the new files hit codecanyon? I’ll look for them again in a while.
Thanks for your work on this. You guys are great.
June 12, 2015 at 18:16 in reply to: You have an outdated version of Visual Composer Design Options #62416mitchcanParticipantHi Abe,
That worked, thanks!
mitchcanParticipantJust doubled checked, they are working now. Sorry for the error. Thanks for taking a look at this.
mitchcanParticipantI needed to get started on the server migration. But since it is a copy to another server, the access info I provided will still work. Whatever you figure out is wrong can then also be made to the new server as needed.
Please let me know what you figure out so I can access Theme Options changes.
Thanks.
mitchcanParticipantHi Laura,
Debug enabled. Yes, I see an entire page of text. Not the normal debug messages that I see on top of an admin page, but an entire page of text with no admin screens at all.
Now what?
mitchcanParticipantThis is an important consideration… while BuddyPress Like DOES actually function, where it has a major issue is that it does NOT respect the privacy aspect of the Group. Meaning a ‘Like’ in a Private group is shared in the Site-wide activity stream, and the associated post/update is able to be seen by all users, even if they are not entitled to participate in that Private Group.
I’ve reported this to the dev, and others have confirmed the issue as well, but the dev seems uninterested in addressing the issue.
Just something to be aware of it you bake this into Kleo — the relationship of the Like action and the Privacy of group membership really needs to be taken into consideration.
Hope you add this. Thanks.
mitchcanParticipantHi @Radu
I wanted to pass along that this worked great. All it needed was the placeholder added to line 16 in bbpress in the child theme, easy stuff. Thanks!
mitchcanParticipantHey @sharmstr — just a quick note of thanks. I was looking for a way to do this on kleo popup modals. Have a plugin that does this with the other theme, but needed this.
It works great. Thank you.
mitchcanParticipantmitchcanParticipantYou know, I should probably show the code I was using… that might be helpful. π
COPY CODE/* * Hide certain membership levels in BuddyPress directory */ function my_bp_has_members($has_members, $members_template) { global $members_template; //pmpro membership levels to hide $levels = array(1,2,3); //get list of members $members = $members_template->members; foreach($members as $key=>$member) { if(pmpro_hasMembershipLevel($levels, $member->id)) unset($members_template->members[$key]); } return $has_members; } add_filter('bp_has_members', 'my_bp_has_members', 10, 2);
mitchcanParticipant@gregkamphuis@hotmail.com
Hmmm, I tried so many fixes, I’m not sure if I recall the exact one that worked. π
If I’m not mistaken, my issue ultimately had something to do with using “Live Notifications” and my specific plugin stack. I have removed that feature from my menus, made also sure that BP was active on any pages that had BP-related menu items, and I haven’t seen a reoccurrence of the issue.
If I think of anything else, I’ll jump back in, but hope that helps trigger some options for you.
Good luck.
mitchcanParticipantExcellent, hadn’t seen that one, I’ll look to test it too. Thanks.
Didn’t know Kamal was not there, ooops. Oh well, as long as YOU’RE still there, everything will be fine. π
mitchcanParticipantI think there is a distinction between ‘message’ and ’email’ – the OP asked about ‘messaging,’ which is doable in the system as @alvedon mentioned, and I am currently testing a plugin that does Mass Messaging. It’s outdated and unsupported (always makes me nervous) but it still works.
But I’d like to hear the plugin that @kamal is referencing, which he said does “mass email to all members” – that would be helpful for some things we are doing. A ‘message’ to the site that is then auto forwarded to the member email would be great, if such a feature exists.
Thanks!
mitchcanParticipantHey again… so @sharmstr ( or maybe @Abe ) a question, if I may…
Just for giggles, lets say I wanted to change the upload size limitation for the group avatar, currently set at 150×150 (pre-radius). Then maybe change the img.avatar.group css or whatever I figure out through trial and error (and error and error). π
That would (?) allow for a Group header image to be a little larger.
If I was so inclined, where would I find the ability to change the limit on the group image upload sizes? π
Thanks.
mitchcanParticipant((Moving to here, previously posted in wrong place – sorry.))
I know itβs been mentioned here and on the WP repo for the (kleo) buddypress cover plugin, Iβd like to just add a +1 to getting it to work with Groups. The only reason I am using the other bp cover plugin is that it allows Group covers. Iβd like to use the one meant for this theme, but since Groups is a huge part of what we do, we are using the other for now.
Any update on an ETA?
Thanks. π
mitchcanParticipant* note, when I say nowhere in Localization – I mean nowhere in a scan/edit of the buddypress files (and I scanned Kleo theme files too) via the Localization plugin.
mitchcanParticipantOK, so thanks for that. Localization was pretty cool. Had never worked in that or .po .mo files. I also downloaded PoEdit and messed with that some too.
That said, all the new fun aside, nothing worked to resolve this issue. Maybe I was looking for it wrong, I don’t know. But nowhere (in Localization) were the words “User Group” found where I could translate it to “Neighborhood” (Directory). (Well, I take that back, eventually I did find it manually in two places in the .pot file, but even changing those (in the core files) did not work. (I’ll change them back).
I even went through about 50 buddypress files to manually search for the words with no luck.
It has surpassed the time value relationship to make this change, but it now comes down to the principle of not letting ‘it’ win. π
Any guidance gladly accepted.
mitchcanParticipantThanks, I’ll go see what I can get accomplished with this. I don’t understand much of it, but I’m not afraid of some trial and error (and error and error). π
If I can’t get it figured out, I’ll come back and visit…
mitchcanParticipantExcellent. And has all of the ones I saved during time it was not working. Nice.
Glad I wasn’t imagining things. π
Thanks.
mitchcanParticipantIt was actually on the /membership-account/membership-levels/ page, not the register page.
Still, it was indeed a plugin issue. But funny enough, it wasn’t that I had too many, it was that I didn’t have ones Active for that page. Without BuddyPress and the bp-custom plugins active, that generated the errors. When I went through to look at deactivating some, I tested with those on and it works.
Thanks for thinking through this with me.
mitchcanParticipantExcellent. That second version was much better. This at least allows me to not display that email options overlay, but still have the user be able to click to make email changes.
Thank you very much!
-
AuthorPosts