Forum Replies Created
-
Author
-
mitchcanParticipant
Hmmm. I have changed the setting back to default; updated to BP 2.2.1; removed the multitheme plugin; set Kleo as default theme — and the error remains. I will submit some site login info…
mitchcanParticipantRight, so I thought that meant a greater delay in the time that it looked for updates (60 seconds vs. 20 seconds) which I thought would be a good thing. Serves me right for thinking, always gets me in trouble. π
I must have misunderstood this setting, thinking it was the time between checking for updates – not the length until a timeout. It’s my fault, I’ll change it back to default. Thanks again!
mitchcanParticipantOh, I have, good call. I was simply looking to make the requests fewer in number, so I increased the value to 60000. I (maybe mistakenly) thought this would mean fewer requests and better site performance? Would that matter?
I will change that back to 20000 and see if it resolves. Thanks for the guidance.
mitchcanParticipantHello Andrei,
I just wanted to followup and say, yes, this is great, it works to place the shortcode in a post or page (I just changed the path to be ‘profile/edit/group/2’ and it took me straight to that tab). Thanks!
The only thing I would add, is there any way that I can use this as a URL? If I wanted to set up a REDIRECT to go to that tab
how would I do that?where the URL would be based on the logged in user: //URL/members/THEUSERNAME/profile/edit/group/2/
Thanks.
mitchcanParticipantHello Abe,
This code has resolved that error. Thank you.
BUT, I have another error that I am not sure if its related:
“GET //URL/wp-admin/admin-ajax.php?action=kleo_bp_notifications_refresh¤t= net::ERR_INSUFFICIENT_RESOURCES”
I only ask if its related because it also references something to do with bp notifications.
It sends my js errors numbers crazy in console, and ultimately throws the site into a 500 server error.
If it’s not related, do know what might be causing it?
Thanks!
mitchcanParticipantHello,
I’d like to jump in here, as I am having a related issue. In some of my Groups I am not even able to see the ‘close’ option on the Group email overlay – see the attached screencaps (if they don’t have a long enough description). Even on ones with a description that makes the box longer, a user is not able to tell *which* Group they are clicking buttons on (unless the close it and then reopen it – not really user friendly).
Is there a way that I can css the boxes to make sure that the Group name at least shows until such time that the user decides what to do?
Thank you.
Attachments:
You must be logged in to view attached files.mitchcanParticipantHey Andrei,
No worries, thanks for the reply. I am trying to create a link to the (current logged in users) profile page – where they would then be able make XProfile edits. In the menu, the following works in the URL of the tab:
##profile_link##/profile/edit/group/2/ (see screencap) and it takes me directly to that BuddyPress profile page and tab. (screencap 2)
How would I make this same thing happen in a page or post link?
Thanks.
Attachments:
You must be logged in to view attached files.mitchcanParticipant“for the login redirect, but thatβs really what I need this for.”
uh, should read “for the login redirect, but thatβs NOT really what I need this for.”
sorry…
mitchcanParticipantYeah, 2.4.1 fixed a number of backward compatibility conflicts with BP 2.1.1, good update. This issue must have just been overlooked. If I see anything else, I’ll pass it along for his next update.
Thanks!
mitchcanParticipantValid question. I do want to update, it’s just that a plugin that we deemed important to what we are doing – ‘BP Activity Privacy’ – seems to be broken in BP 2.2+. We’re hoping for a timely fix, but we needed to keep it working on one site as we determined what our options were.
If it’s trouble to resolve, I can hide it as we work to figure out our next move and get to 2.2+. I’m not looking to create unnecessary work. π
mitchcanParticipantOhhhhhh. I’m so used to copying stuff to functions, I read right through the instructions. Braincramp. LOL.
I’ll go do as I was supposed to and be on my way. π
Thanks as always for the timely point in the right direction. π
By the way, is there an easy way to find the various locations of the places I can insert into? like kleo_before_main, etc… Again, I’m new to this theme, and also use Genesis where there is a long list I can access in a dropdown with a plugin. Thanks!
mitchcanParticipantLOL. My bad, I should have explained that better… I already had that opening code on the page. π
I wouldn’t add that *twice* would I? I already had this… then I added the other below it.
COPY CODE<?php /** * @package WordPress * @subpackage Kleo * @author SeventhQueen <themesupport@seventhqueen.com> * @since Kleo 1.0 */ /** * Kleo Child Theme Functions * Add custom code below */ /* this added a sidebar above content below header - but likely only works on Kleo pages */ add_action('kleo_before_main','display_advertising'); function display_advertising() { echo '<div id="my_ads">', do_shortcode('[widgets_on_pages id="wop-2"]'), '</div>'; //you could put a shortcode here if you want, too. }
Do I need to do something different?
Thanks.
mitchcanParticipantHi,
Hope you don’t mind me jumping in, but I have a question about the info posted by @sharmstr in #44980 above.
I added the entirety of /kleo/page-parts/general-title-section.php (except the opening php of course) to my kleo child theme; then added the do_action(‘kleo_after_title’); to the very bottom.
Unfortunately, it then threw an error of: Fatal error: Call to undefined function kleo_title() in /url…/wp-content/themes/kleo-child/functions.php on line 41
which in this case, line 41 was: $title_arr[‘title’] = kleo_title();
Can anyone help me with what went wrong there?
Thanks.
WP 4.1.1
Kleo 2.4.1mitchcanParticipantmitchcanParticipantThis isn’t resolved yet, but the jonradio multitheme dev has been fantastically responsive. We’re trying some more debugging over the weekend. I provided the ajax call info, and he’s made some initial tweaks. Once we get it resolved, or come to a roadblock, I’ll ‘report back my findings’ over here and you can let me know if I was right – unlikely as that may be. π
Thanks again.
mitchcanParticipantExcellent. I usually just need to be pointed in a direction. I’m not afraid of swimming in the deep end, no matter how over my head it is. I may be dog-paddling, but still… π
Thanks.
mitchcanParticipantSo I heard back from the plugin dev (great support), and it is likely easiest for me to pass along what he said:
“Determine what the URLs are that AJAX is accessing for the small areas of the web page that are wrong;
If they are /wp-admin/ URLs, please let me know.
If they are not /wp-admin/ URLs, then add them to the Settings for my plugin, pointing them to the correct theme;
See if that addresses the problem;”There were then other steps, based on what we determine after these.
Could you let me know how I determine what the URL(s) are that AJAX is accessing?
Thanks.
mitchcanParticipantI’m also glad you both saw the same issue… I just wish it was one that was easily resolved. π
Thanks to you both for the timely help. I’ll keep digging to see what I can figure out.
mitchcanParticipantHmmm. OK, thank you for the reply. I wonder if I can pull that attribute somehow from BuddyPress. I’ll check over there. But even if there is, I wonder if it would pass that info here? Oh well, nothing ventured, nothing gained. π
Thanks!
mitchcanParticipantugh. Inability to type AND inability to edit… sorry, I meant @sharmstr π but did you delete your comment?
mitchcanParticipant@sharstr – if you click on All Groups (even if not logged in to have a “My Groups”) when you are on the page, it then changes to the broken view.
If you then manually refresh the page, the good grid comes back.
I didn’t realize that would also happen until I accidentally clicked on All Groups when I was not logged in once.
mitchcanParticipantHello Radu,
Thank you for the reply. Yes, I do have 2.4 active. I have deactivated All other plugins, the issues remains. Here is what I think is causing it, I hope you can help me.
We have Kleo ‘activated’ as our ‘alternate’ theme, where we have another theme as the ‘primary’ theme. Then we have Kleo as the ‘primary’ theme on specific pages, like everything related to BuddyPress and Woocommerce.
We use the jonradio theme switcher plugin to select the ‘primary’ theme based on the page, etc… For the most part, it works great.
However, it seems as on the Groups page, for some reason Kleo does not ‘refresh’ when switching between All / My views, and I guess the way it changes views (AJAX?) does not fully ‘activate’ Kleo as the ‘primary’ theme.
Is there a way to make the switch between those views be more like a ‘refresh/reload’ so Kleo will fully activate?
Thanks.
mitchcanParticipantHi,
I use Dynamic Widgets for showing different widgets based on varying components and locations, login status, even URL. I used to use Widget Logic, but I could never remember all the conditional codes to use. π
I’m not sure it will do all that you’re looking to do, but thought I would mention it.
https://wordpress.org/plugins/dynamic-widgets/
Good luck.
mitchcanParticipantHi @Abe, yes, the functionality shown in the screenshot does indeed come from a plugin that uses its own search form.
My point was to submit an idea that the basic search form used by the Kleo theme have such a “clear” option to reset the search. Like the form at the top in Groups or Members. As it is, you simply have to manually clear the search form and then reclick the All. In the big scheme of things, its a minor user inconvenience, so its not a big need to add it. It was just a thought.
Thanks for all your work to make this a great theme.
mitchcanParticipantAfter more testing here, I think I figured out the issue. While in the image ‘broken’ above, the ‘number’ of All groups does show the correct number of ‘total’ groups created (4), it is a confusing to show as such because it may be different from the number displayed, in this case (2).
Reason being is that those other *non-displayed* groups were created as “sub-groups” via the Group Hierarchy plugin.
This was not a Kleo issue, but a BuddyPress one.
I’m quickly coming to find out that the implementation of the concept of subgroups kidna sucks in BuddyPress. π
There is a somewhat related javascript issue, for which I will open another post.
Thanks.
mitchcanParticipantI’m not sure, I think my issue here may be the use of multiple themes. This concept is so easy I’ve done it dozens of times in Genesis. And I’m sure its likely easy in Kleo too. Problem seems to be that if I add this to the Kleo child theme, the pages on which Kleo is Active are ‘seeing’ code, and nothing is displaying.
The multi theme editor is working, because I do see Kleo there.
Edit: Boom, don’t you love when you answer your question as you are writing it out? Happens a lot to me. I left the above to remind myself that I can be stupid sometimes.
The issue is that I was calling the Kleo theme in the multitheme plugin, not the Kleo CHILD theme. Uh, duh?
π Thanks.
mitchcanParticipantThe ajax thing is in the deep end of the pool for me. π
I was capable enough though to post the other part in the Feature Request area, so I do at least have that going for me. π
The issues with the ajax calls are likely related to the issue on my other post, so I can continue the thread over there.
Thanks.
mitchcanParticipantYeah, well, um, no. I simply know enough to be dangerous and fake the rest of it. π
So inspecting ajax calls is above my pay grade. Any pointers you could give as to why it’s not working would be great.
And it would also likely answer my question from over here too: https://archived.seventhqueen.com/forums/topic/kleo-search-form-ajax-and-clear/#post-45328
Thanks so much!
mitchcanParticipantHey,
I’m new here (< week) so I’ll likely have lots of questions and “can-we-make-it-do-this” kinda comments. The ubiquitous and ever helpful @sharmstr told me to post this over here, hence, my post:
Is there a simple way to βclearβ the search form bar which then returns the page to an βunfilteredβ display? I have seen some search boxes with a little βxβ on the right side which then clears the search. Is this possible here?
In another plugin I use, it has something like the attached image, which basically resets the search to a fresh start, in this case, back to the entirety of a business directory.
Thanks.
Attachments:
You must be logged in to view attached files.mitchcanParticipantJust circling back around on this… been busy reading dozens (hundreds?!) of posts, trying to get up to speed on everything this theme can do.
Related: Either there are like five of you named @sharmstr or you are a *very* busy person. π Many (most?) of the topics that I noted for follow-up/use with answers were yours. Nice.
Anyhoo, about your comment on the set up, I have been a Genesis user since like Revolution 2, circa 2009, so that’s really all I know, and this Kleo theme was the very first non-Genesis theme I’ve ever purchased. (Now, I’m feeling all guilty cheating on Brian). π So everything I’ve done with all of the sites has been Genesis. But I wanted something BP focused and loved the Kleo look for BP, so I needed to figure out a way to implement.
That’s where the jonradio multi-theme plugin came in. Works great so far. I’ll likely try and keep the Genesis framework for everything except BP and Woo pages. The other plugin of *significant* importance in making all this work is Plugin Organizer. I do not think any of this would be possible without it because of the way theme and plugin conflicts always popup. Truly amazing plugin.
There’s the big picture of the setup, and some of the why and how we do it.
Thanks for all your efforts around here. Pretty impressive contributions to the community.
Mitch
mitchcanParticipantSweetness. So I got this added to functions and then just needed some trial and error to get a widget area activated in Kleo that I could use in Altitude – and so when Altitude was ‘in use as current theme’ I was still able to add widgets to that Kleo initiated area.
I’ll need to go through it again so I have more trial and less error, but so far so good.
Thanks @sharmstr for a timely reply and good info.
-
AuthorPosts