Forum Replies Created
-
Author
-
July 27, 2015 at 15:02 in reply to: is is able to show group cover for each group on groups screen? #70216jerrydParticipant
cool~~
July 24, 2015 at 17:26 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69834jerrydParticipantI have found this class ‘rtmedia-item-thumbnail’, when I tick off the max-width and max-height in browser, the media picture is just displayed as it should, but I don’t know which way is correct to fix it
COPY CODE<div class="rtmedia-item-thumbnail"> <img src="http://wp-demo/wp-content/uploads/rtMedia/users/1/2015/07/screenshot-1-150x150.png" alt="screenshot-1"> </div>
July 24, 2015 at 17:07 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69825jerrydParticipantI have tried again about the media picture with the latest google chrome (Version 44.0.2403.89 (64-bit)), same issue was still there.
July 24, 2015 at 12:44 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69775jerrydParticipantyour css rules works perfectly. Thanks Andrei.
As to the meida one, I will update my browser to the latest version and try it again, see how it goes.July 23, 2015 at 14:02 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69614jerrydParticipantThe most important now is to have both comment list and comment reply box in same width. How can I achieve that?
July 23, 2015 at 14:00 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69613jerrydParticipantthe rtMedia I am using now is 3.8.10
July 23, 2015 at 13:52 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69607jerrydParticipantthe following is the custom css in quick css
COPY CODE//fix comment list overlaps reply box if image is too small .rtm-comment-list.rtm-comment-list { list-style: none; padding-bottom: 20px; } //fix post-in is not aligned with others next to it #buddypress #whats-new-options > div { padding-top: 0px; } // hide "SITES" button on member profile #blogs-personal-li { display: none; }
the following code is in bp-custom.php for adding placeholder to each customized xprofile field
COPY CODE<?php function bp_xprofile_field_add_placeholder($elements) { $attributes = [ "field_1" => ["placeholder" => "名字"], // qq "field_69" => ["placeholder" => "QQ号"], // qq "field_6" => ["placeholder" => "微信号"], // webchat "field_7" => ["placeholder" => "Facebook"], // Facebook "field_39" => ["placeholder" => "Twitter"], // Twitter "field_8" => ["placeholder" => "如:0123456789"], // mobile "field_64" => ["placeholder" => "如:123 Swanstone Street"], // address "field_66" => ["placeholder" => "如:墨尔本"], // city "field_65" => ["placeholder" => "如:VIC"], // state "field_67" => ["placeholder" => "如:澳大利亚"] // nation ]; foreach($attributes as $key => $value) { if ($elements["id"] === $key) { $elements['placeholder'] = $value["placeholder"]; } } return $elements; }
add_action(‘bp_xprofile_field_edit_html_elements’,’bp_xprofile_field_add_placeholder’);
The following code is in kleo-child/functions.php for re-arrange the order of buttons on member profile page
COPY CODEadd_action( 'admin_bar_menu', 'remove_wp_logo', 999 ); function remove_wp_logo( $wp_admin_bar ) { $wp_admin_bar->remove_node( 'wp-logo' ); } /** * rearrange menu buttons */ function my_change_profile_tab_order() { global $bp; $bp->bp_nav['activity']['position'] = 10; $bp->bp_nav['friends']['position'] = 11; /** * wp follower plugin */ if( isset ($bp->bp_nav['following'])){ $bp->bp_nav['following']['position'] = 12; } if( isset ($bp->bp_nav['followers'])){ $bp->bp_nav['followers']['position'] = 13; } $bp->bp_nav['messages']['position'] = 14; $bp->bp_nav['notifications']['position'] = 15; // rtMedia = 16 $bp->bp_nav['groups']['position'] = 17; /** * social-article plugin */ if( isset ($bp->bp_nav['articles'])){ $bp->bp_nav['articles']['position'] = 18; } //$bp->bp_nav['blogs']['position'] = 70; $bp->bp_nav['profile']['position'] = 19; $bp->bp_nav['settings']['position'] = 20; } add_action( 'bp_setup_nav', 'my_change_profile_tab_order', 999 ); // re-order the rtmedia button add_action('bp_init','change_media_tab_position', 12); function change_media_tab_position(){ global $bp; if( isset ($bp->bp_nav['media'])){ $bp->bp_nav['media']['position'] = 16; } } /* my members landing tab */ define('BP_DEFAULT_COMPONENT', 'profile' );
apart from those, I didn’t customize any others.
July 23, 2015 at 13:41 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69600jerrydParticipantHi Andrei,
Thanks for quick responding, I have attached the screenshot, it is the latest version of theme(3.0.4).
My OS is ubuntu 14.04
I use Google chrome Version 39.0.2171.95 (64-bit)I have just tried on your demo site, it appeared exactly as what I had on my machine, see the 2nd screenshot.
Attachments:
You must be logged in to view attached files.July 22, 2015 at 13:36 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69425jerrydParticipantany updates?
July 21, 2015 at 13:21 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69246jerrydParticipantHopefully, it will be answered soon enough
July 20, 2015 at 14:03 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69072jerrydParticipantThe attachment is another issue had in the theme, the toolbar on the photo becomes extremely long when resizing the browser window to mobile device’s size(480*800, 640*960, 768*1280, etc)
Attachments:
You must be logged in to view attached files.July 20, 2015 at 12:48 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #69062jerrydParticipantHi Laura,
currently I installed this theme locally, I haven’t actually released my site yet, so I don’t have that, sorry.
Do you mean this theme customized the rtMedia css? I have updated rtMedia to the latest version (3.8.10) yestoday. Will that cause problem?
July 19, 2015 at 12:50 in reply to: Resizeable comment text box on media pop-up screen breaks the layout #68923jerrydParticipantThe background colour is also different to original rtMedia, How can I make those background colour to be same as original colour?
Attachments:
You must be logged in to view attached files.July 18, 2015 at 18:53 in reply to: Is is able to remove theme settings from post new/edit screen? #68861jerrydParticipantthanks mate, it works perfectly.
July 18, 2015 at 09:09 in reply to: Is is able to remove theme settings from post new/edit screen? #68838jerrydParticipantI have tried to place the following code in kleo-child/functions.php, but there is nothing happened, am I doing correctly?
COPY CODEadd_filter( 'kleo_meta_boxes', 'kleo_my_metaboxes' ); function kleo_my_metaboxes( array $meta_boxes ) { // Start with an underscore to hide fields from custom fields list $prefix = '_kleo_'; $meta_boxes[] = array( 'id' => 'general_settings', 'title' => 'Theme General settings', 'pages' => array( 'standard', 'link', 'image', 'gallery' ), // Post type 'context' => 'normal', 'priority' => 'default', 'show_names' => true, // Show field names on the left 'fields' => array( array( 'name' => 'Media', 'desc' => '', 'id' => 'kleomedia', 'type' => 'tab' ), array( 'name' => 'Slider', 'desc' => 'Used when you select the Gallery format. Upload an image or enter an URL.', 'id' => $prefix . 'slider', 'type' => 'file_repeat', 'allow' => 'url' ), array( 'name' => 'Display settings', 'desc' => '', 'id' => 'kleodisplay', 'type' => 'tab' ), array( 'name' => 'Centered text', 'desc' => 'Check to have centered text on this page', 'id' => $prefix . 'centered_text', 'type' => 'checkbox', 'value' => '1' ) ) ); return $meta_boxes; }
July 18, 2015 at 08:30 in reply to: the tooltip of live notification is different to the others #68835jerrydParticipantThanks Laura, it is helpful
July 18, 2015 at 08:14 in reply to: Is is able to remove theme settings from post new/edit screen? #68833jerrydParticipantwhere should I place these codes? in kleo-child function.php or other file?
July 17, 2015 at 14:42 in reply to: Is is able to remove theme settings from post new/edit screen? #68692jerrydParticipantonly admin or certain level of role higher than contributor can see these settings
July 17, 2015 at 14:38 in reply to: Is is able to remove theme settings from post new/edit screen? #68689jerrydParticipantor is there any plugin can do that?
July 17, 2015 at 13:31 in reply to: the tooltip of live notification is different to the others #68673jerrydParticipantis it able to make it to be a sub-menu-item?
July 17, 2015 at 13:30 in reply to: the tooltip of live notification is different to the others #68670jerrydParticipantHi Laura, sorry for late replying, I got what you mean. I don’t want to change it, but
I now have this issue, see the attachement.
All other menu items now have been covered by the live notification tooltip (which is useful), so users cannot actually click any others unless they click notification first, that will be very annoying.Attachments:
You must be logged in to view attached files.July 15, 2015 at 12:29 in reply to: the tooltip of live notification is different to the others #68377jerrydParticipantHi Laura,
I have made my site live yet, so now I just install the theme locally.
The tooltip of hovering on “Live notification” is different to other menus.jerrydParticipantis there a way to remove/hide the “W” icon in top left corner? Coz, I would like to keep the top toolbar for allowing each member to create their own blog.
July 9, 2015 at 12:46 in reply to: comment box in media lightbox overlaps the tootip of like and comment button #67457jerrydParticipantI see, thanks
jerrydParticipantI found it, wordpress does it automatically. Ignore this one, pretend you didn’t see the 2nd question…. 🙂
July 8, 2015 at 12:43 in reply to: comment box in media lightbox overlaps the tootip of like and comment button #67302jerrydParticipantcool mate, thanks for quick response. It did solve the overlap issue.
Is there a way to give the min-height to the whole lightbox so that it won’t break layout regardless of image size?jerrydParticipantSo embarrassing to ask such stupid question, thanks for such quick response.
I saw it.By the way, what plugin would you recommend for creating group with member only?
-
AuthorPosts