Forum Replies Created
-
Author
-
5high-photohubParticipant
O oh! Spoke too soon…
Can you check this code for me? as it doesn’t seem to work:COPY CODEsection.main-color .container-wrap .social-share-wrap { background-color: #efefef !important; }
I’m adding it into a specific page, but no change. I’ve tried with and without section in it = no effect and in different browsers in case mine was caching the original = no change. And that’s the only css I can find relating to the social share area.
Thanks j
5high-photohubParticipantPS: and if it’s in your child theme style.css, rather than in the css for a single page, you might need to qualify it more like so:
COPY CODEtextarea#comment { height: 70px; }
Is that right Laura?
5high-photohubParticipantHi Laura,
Thanks so much for your help – why didn’t I think of the easy option?! Yes, the css worked perfectly! I used this, in case others find this thread:
COPY CODE#comment { height: 60px; }
This makes it just a couple of lines deep.
Many thanks, j
5high-photohubParticipantHi Laura,
Thanks for replying. I’m now away for a few weeks so can’t share a screenshot at present.
I’ll plan to update everything on the site on my return and recheck it then. If still a problem I’ll upload a screenshot then, OK?
Cheers, j5high-photohubParticipantHi laura,
just got time to try your css out, by adding it to the css for the contact page. and it shows several ‘!’ warnings about the code.
Can you test it out on your site in an individual page css box to check it for me?
Thanks, j5high-photohubParticipantHi Laura,
Thanks for the css code, and I guess we’ll have to use it for now, but the point is shouldn’t it be saving it?!
Any ideas why it isn’t?
Cheers, j
5high-photohubParticipantHi Laura,
Just for a specific page – so adding it at the bottom of the edit page options.
Our site should go live in the next day or so , will email you login info then.
Thanks, j5high-photohubParticipantPS: and sometimes it changes it on the front end but not on the backend! Very weird.
5high-photohubParticipant@ Abe – the same thing happens when you use a custom/google font for the toggle title, and on normal screen size, so not related to mobile setting.
See attached screenshot.
Anyway to fix this?
Should I use the css above for it?Thanks, j
Attachments:
You must be logged in to view attached files.5high-photohubParticipantThanks for your quick reply Radu.
Just to be clear for the code placement, would I put your suggested code in the same BP member-header.php in my child theme? As it looks quite different to the code that’s currently there (as above).
– If so could you clarify which bits it would replace in it?
– And if not which file would I put it in?
Cheers, j5high-photohubParticipantPS: also tries with
bp_displayed_user_niename
and it doesn’t work. So I’m either inputing the wromg code or got it in the wrong place!
Any ideas?
Cheers, j5high-photohubParticipant@ Radu,
Sorry it’s taken so long to reply – just as well though as (rather embarrassingly) i found that I had in fact forgotten to change back to my child theme after doing some tests with the original Kleo theme! Duh!
BUT it’s still not working, yet it was a few months back- but now only showing the @username in members’ profiles.
What I want, and had, is for the member’s full name to sit above the @users’ name just below it, and this is the code I’m using in the BP member-header.php in my child theme:
COPY CODE<?php /** * Fires before the display of a member's header. * @since 1.2.0 */ do_action( 'bp_before_member_header' ); ?> <div id="item-header-avatar"> <a href="<?php bp_displayed_user_link(); ?>"> <?php bp_displayed_user_avatar( 'type=full' ); ?> </a> </div><!-- #item-header-avatar --> <div id="item-header-content"> <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> <br><h2 class="user-nicename"><?php bp_displayed_user_displayname(); ?></h2>/br> <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2> <?php endif; ?> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> <?php
And I’ve tried it with
bp_displayed_user_displayname
andbp_displayed_user_fullname
.Can you confirm if I’ve put the code in the correct place? Or do I have to add something else in the child functions.php as I’ve read?
I appreciate this isn’t essential to make my site work, but it makes it much easier for members.
Many thanks, j
5high-photohubParticipantWhat an excellent idea! I’m sure it will be well used and then you’ll also have lots of independent ‘testers’ using different environments giving feedback too.
Cheers j5high-photohubParticipantPS: if anyone is looking for a good, well coded plugin then we’ve found Robo Gallery to be excellent (http://robosoft.co/robogallery/). j
July 8, 2016 at 05:41 in reply to: visual composer causing php errors and blank pages – help! #1284775high-photohubParticipant@abe – update on my website nightmare!
As I think there must have been some coding errors somewhere in the old site, even though I couldn’t track them down, I didn’t want to risk importing them into my new site by doing a standard site migration. So I have done a very lengthy re-install using content from my old site, imported to a clean install of WP, Kleo and all plugins on a shiny new server.
Outcome: old site running much faster on new server and no glitches now. Phew! So I think there must have been some glitch in a Kleo file somewhere, as it worked OK with the default WP theme, but I just couldn’t locate it.
Just goes to show what problems can be caused by faulty updates or installs.
So this ticket can be closed now. Thanks.
May 5, 2016 at 01:20 in reply to: visual composer causing php errors and blank pages – help! #1204085high-photohubParticipantHi Abe,
Yes, my live site works as expected when I switch to a default WP theme. It only breaks with the Kleo theme enabled.
That’s why it seems to be theme related rather than anything else.April 29, 2016 at 07:52 in reply to: visual composer causing php errors and blank pages – help! #1196555high-photohubParticipantHi Abe,
Reminder: The remaining problem (after the site reappeared after re-installing VC plugin…) is images don’t open in the rtmedia pop-up in all members galleries and in the galleries for all groups. Also all menu links are broken on these ‘pages’. And nothing gets updated in the Buddypress site Activity steam – only in the individual groups activity page.
OK, I’ve just compared ALL Kleo theme files and folders on my live site with my (correctly working) live TEST site using ‘Beyond Compare’ and shell access to my server. It shows that there’s no difference! yet one works and the other doesn’t! So totally stumped as to why it all occurred.
So I think the only option is to do a clean WP install, either on a different server or in a sub-folder, with clean installs of Kleo and all plugins.
Please can you confirm the files/folders/databases I’d need to ensure that I retain ALL my content, including my members images, comments, membership etc? I’m thinking I’d export my current database to my new install, and export all blogs, pages, categories, tags and media etc using the WP export tool, then import it into the new install…
So can you advise me on the following?-
1. Would the above method retain all my current content?
2. Which Import tool would you recommend using for importing all my content to the new install?
3. Do I need to copy over my wp-contents/uploads folder contents too?
4. Is the correct order of install: new WP – theme – plugins – database – importer tool for content and media? OR Import database – then new WP and link it to my imported database – theme – plugins – importer tool for content and media?I realise this is not strictly ‘theme related’, though it sort of is as my site doesn’t work as expected with the theme, even after a reinstall of it – but any advice would be much appreciated to try to resolve this problem.
Many thanks.
April 28, 2016 at 11:52 in reply to: visual composer causing php errors and blank pages – help! #1194415high-photohubParticipant@ Abe – well a very disappointing end to the day…
On my live TEST site I trialled reinstalling Kleo, rtmedia and BP and all good with everything still working perfectly. Then I tested with all updates for WP, Kleo and plugins – again all fine.
Next on my LIVe site:
1. I reinstalled Kleo; then rtmedia for WP and BP; then BP too – all by FTP as with my test site. Result? No change.
2. Updated to WP 4.5.1 and to latest Kleo and all plugins. Result? No change.
3. and throughout this process I’ve been testing with and without plugins deactivated – still no change.
4. tested the site using the default WP 2015 theme, both before and after all the updates etc. result? Problem Fixed!As I can’t fix it, and it was off-line for quite a while with this, I’m going to have to take it out of MM now, even though certain areas of the site still don’t work: namely the members gallery page and the groups gallery page, where the images don’t open in the pop-up and you can’t edit them or comment on them. Also ALL menu links on these ‘pages’ still don’t work at all, and the rtmedia sidebar widget for showing latest media in the site doesn’t work at all anywhere on the site either.
So I’m now at a total loss as to how to get my site fully functional again, and would really appreciate it if you could look at it, as it definitely seems to be something related to the theme, and I’ve done everything i can think of and what’s been suggested for me to try.
many thanks, j
April 27, 2016 at 00:09 in reply to: visual composer causing php errors and blank pages – help! #1191505high-photohubParticipant@ Abe – Ok i have my test site up and running and all works Ok.
As my live site works correctly with the WP 2015 theme but breaks with the Kleo theme, I’m wondering if there was a faulty update in the Kleo theme as well as the VC?
So what I’d like to do is to reinstall the Kleo theme.
So I have a few questions about this first:
1. If I update to the latest version, does that rewrite all the files, so will correct a faulty install? Or only overwrite the ones with changes?
2. if it doesn’t overwrite all files, what is the procedure to reinstall? Is it as per the Docs in ‘Manually update theme by FTP’? Or does this still keep some of the original Kleo files, as it does keep the theme settings doesn’t it?
3. OR do you think it would be better to just reinstall my current version of Kleo to try to sort out this problem, before updating to the current version (as i won’t have updated to WP 4.5 or all my other plugins yet either)?And finally for your recommended options from above, what’s the best way to keep my theme settings , if possible, or should I completely uninstall everything and start from scratch again?
Thanks and hoping to finally resolve this problem…
April 13, 2016 at 23:45 in reply to: visual composer causing php errors and blank pages – help! #1164385high-photohubParticipantThanks Abe – will test and update here.
But not quite sure what you mean by this:Maybe you have a different jquery loaded ..
Can you clarify, so I can check?
Thnx.April 13, 2016 at 23:42 in reply to: possible plugin conflict with Lightbox used by Kleo theme #1164365high-photohubParticipantyes, that’s OK – it just looked like it was visible to everyone, as it wasn’t in the usual ‘pink box’ that other private entries are.
Thanks.5high-photohubParticipantHi radu,
Yes thanks, we’ve looked at those but are after something a bit more/different. Any other seperate gallery plugins that you think Kleo would work nicely with?
Thanks.April 12, 2016 at 22:54 in reply to: visual composer causing php errors and blank pages – help! #1160785high-photohubParticipantHi Abe,
I asked rtmedia to recheck it from their end and they said that the new files worked and didn’t reproduce the error.
So I have:
1. removed a small amount of custom code in rtmedia
2. switched to Kleo theme (not my child theme)
3. deleted the app.js and app.min.js files and re-uploaded
4. re-uploaded a fresh /kleo/assets/js/plugins/magnific-popup/magnific.min.js file (just in case)
5. deactivated all plugins except for a few which I’m guessing most people use (Akismet; BP; BP Cover Photo; Contact Form 7; K Elements; rtmedia for BP; rtmedia addons (x 7); VC; Yoast SEO)( NB: am not using the Rev slider on this site so not installed anyway – could that be required???)
and on retesting the same problem!
So yes, I’ll do a fresh install and retest, but can’t see where to look for the problem. Being in MM couldn’t effect it could it??
In the meantime, I’ll have to open our site ‘as is’, and keep trying to work it out.
Please let me know if you have any further ideas?
Thanks, j
April 11, 2016 at 23:45 in reply to: visual composer causing php errors and blank pages – help! #1158525high-photohubParticipantAbe – replaced and no change – pages and menu links not working and same errors:
Timestamp: 12/04/2016 8:42:48 a.m.
Error: TypeError: b is undefined
Source File: https://www.mysite.com/wp-content/themes/kleo/assets/js/plugins/magnific-popup/magnific.min.js
Line: 3
getting desperate… any other ideas/fixes?April 11, 2016 at 23:32 in reply to: possible plugin conflict with Lightbox used by Kleo theme #1158515high-photohubParticipantThis reply has been set as private.April 11, 2016 at 23:31 in reply to: possible plugin conflict with Lightbox used by Kleo theme #1158505high-photohubParticipantHi Radu,
Thanks for your help. We will possibly now try a different solution, so please don’t spend any more time on this for us. But if we do retry it, I’ll post an update here after your next version release.
Many thanks, jApril 8, 2016 at 23:06 in reply to: visual composer causing php errors and blank pages – help! #1154115high-photohubParticipantUPDATE: Have just heard back from rtmedia re. their href# in their DELETE button, and is as follows:
These errors could be the one cause of issue. We are not sure but rtMedia should not cause such issue as it is working fine with other WordPress themes and also with different versions of kleo theme.
We will again check once this error has been fixed though.Thanks.
April 8, 2016 at 22:56 in reply to: possible plugin conflict with Lightbox used by Kleo theme #1154105high-photohubParticipantHi Laura,
Thanks – firstly, please can you remove/make private the link I put to my dev site as above, as requested?
I have also contacted the plugin author of jQuery Masonry Image Gallery and the support thread is here: https://wordpress.org/support/topic/lightbox-always-opens-with-first-image?replies=7#post-8251178.
I have also tested the plugin with wp 2015 theme as it opens on the clicked image (as expected) but then doesn’t scroll through them, so the opening at first image does seem to be theme related.
I have also tested with social share on and off, and no change.
I have tried using the VC gallery and the WP Gallery Custom Links plugin, which would seem to be the obvious way to do it, but it doesn’t work at all – just opens the thumnails, not the linked larg images.
Thanks.
Look forward to some info so I can see if we can use this plugin, as it’s the only way I’ve found that we can achieve what we need for our gallery page.
April 8, 2016 at 12:10 in reply to: visual composer causing php errors and blank pages – help! #1152355high-photohubParticipant@ abe – rtmedia support have kindly checked through the Kleo theme files to see if they could see anything that might be causing the php error and causing the specific pages to break/not work, and they have come back with this info:
Thanks for the files. We have checked it by installing it at our end and found following details.
There are some Jquery errors which are breaking the page, Please check attached screen-shot for the details.
Error Message :
Uncaught Error: Syntax error, unrecognized expression: .kleo-main-header .nav > li a[href=#undefined]
We found below error-prone code which can cause this Jquery issue :
Location :kleo > assets > js > app.js
COPY CODE/* Get link by section or article id */ getRelatedNavigation: function(el){ return $('.kleo-main-header .nav > li a[href=#'+$(el).attr('id')+']'); },
According to us, the value
$(el).attr('id')
is not getting returned and hence it is throwing undefined error.I’ve attached their screenshot FYI.
I’ve had a look to try to find the
href=#undefined
menu link that’s causing the problem (at least I think that’s partly what they’re saying is the problem?…) and there quite are a few of them, but this also includes one in the rtmedia image when you hover over it, in the DELETE button. So I have passed this back to them just to double check – though I think they’re saying there’s an issue in the actual coding rather than thehref=#undefined
itself being the problem…If you could look at this with some urgency it would be greatly appreciated, as our site is still closed to our members until this is resolved (now just over 2 weeks). And I guess if it can’t be resolved we’ll have to look at an alternative theme in order to reopen, though i really, really don’t want to do this, as we love the theme, and all of it’s styling and gizmos!
many thanks, j
Many thanks
Attachments:
You must be logged in to view attached files.April 7, 2016 at 23:14 in reply to: visual composer causing php errors and blank pages – help! #1151715high-photohubParticipantNo, no cdn/cloudflare, normal shared hosting environment on php v5.6. Please let me know if you need any other info about my server settings, though it seems unlikely to be the problem as it worked OK with the WP 2015 theme and all plugins still active.
April 7, 2016 at 14:07 in reply to: visual composer causing php errors and blank pages – help! #1150375high-photohubParticipantJust re-uploaded that specific file, cleared cache and retested = no change, same error showing. Pity, I thought it might be an easy fix!
Any other ideas? Thanks.
April 7, 2016 at 06:29 in reply to: possible plugin conflict with Lightbox used by Kleo theme #1150005high-photohubParticipantThis reply has been set as private.April 7, 2016 at 01:44 in reply to: visual composer causing php errors and blank pages – help! #1149815high-photohubParticipantNot trying to blame it on the theme as I love it – and have purchased it twice so far! – just trying to fix the problems since updating.
I’ve had a series of issues since last updating, with the first one causing all blank pages (as mentioned originally) which resolved when I did as you suggested and did a clean install of VC… which then disclosed the other probs:-
1. pages not showing in the Kleo post carousel (using tags) – still not working for me, but resolved by using the page titles instead
2. no image popups or edit features eyc with rtmedia images + broken page links on the rtmedia gallery specific pages – contacted rtmedia who provided the info above.I have repeated my tests with only the essential plugins enabled for the members’ and groups’ gallery pages to work, and the problem remains. The php error shown on these pages is this:-
COPY CODETimestamp: 7/04/2016 9:01:46 a.m. Error: TypeError: b is undefined Source File: https://www.mtsite.com/wp-content/themes/kleo/assets/js/plugins/magnific-popup/magnific.min.js Line: 3
I have also retested the same pages/functions with the Twenty-Fifteen WP theme activated and all my plugins active… and the lightbox and edit function for the images works correctly and all menu links work fine!
rtmedia are reviewing all Kleo files to see if they can resolve the issue, but it does seem to point to a theme related issue, don’t you think?
Please can you look into this? specifically the error related to /kleo/assets/js/plugins/magnific-popup/magnific.min.js
I look forward to your thoughts on it.
April 5, 2016 at 22:58 in reply to: visual composer causing php errors and blank pages – help! #1147615high-photohubParticipantYes, I realise that! But odd that the page tags work for you still…
OK, so the other area that is broken since the update-reinstall of backup-reinstall of fresh visual composer etc is still the rtmedia lightbox in members and group gallery – images won’t open in the Lightbox, and nothing happens when you click ‘edit’ on an image and very weirdly ALL menu links don’t work on onlt these particular pages.
I have submitted a support ticket to rtmedia and they have come back with this:
We checked your site and found that there are JavaScript errors [ Cannot read property ‘parsed’ of undefined ] getting generated from kleo theme.
Please check attached screen-shot for more details.I attache their screenshot FYI, and have asked them to look specifically at the lightbox issue.
Can you shed any light on this?
Thanks
Attachments:
You must be logged in to view attached files.April 5, 2016 at 00:31 in reply to: visual composer causing php errors and blank pages – help! #1145655high-photohubParticipantOh, but it’s worked with tags for our pages since we launched in April 2015!
The tags for pages comes from the Tags for Pages plugin here: https://wordpress.org/plugins/tag-pages/ and as it shows as an option in the Kleo posts carousel build query section, even when pages are selected, then I assumed it was supported. Usually if an option isn’t supported when you select something (ie. pages instead of posts) then it becomes greyed out, or disappears. Also it doesn’t say tags are only for posts, and for pages you have to use page titles, as the carousel supports both. Can you clarify this?
Thanks. -
AuthorPosts