Forum Replies Created
-
Author
-
vulkashParticipant
I activated the main theme instead child theme as you mention and I still have the problem. For the newsletter i’m using the kleo widget included inside the theme
vulkashParticipantIt is not working with your code in my style.css from child folder but i tryed with :
COPY CODE.page-id-844 .kleo-page.boxed-style { max-width: 100% !important; }
And now its working 🙂
vulkashParticipantYes it is in child theme off course.
Unfortunatelly isnt so easy because isnt loading the user conversation so there have something else to modify for load it in the page i want, any idea ?vulkashParticipantI found a solution by changing the message-loop :
COPY CODE<td width="75%" class="thread-info"> <p><a href="http://www.lookingforpals.com/" title="<?php _e("View Message", "buddypress" ); ?>"><?php bp_message_thread_subject(); ?></a></p> <p class="thread-excerpt"><?php bp_message_thread_excerpt(); ?></p> </td>
The original :
COPY CODE<td width="75%" class="thread-info"> <p><a href="<?php bp_message_thread_view_link(); ?>" title="<?php _e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject(); ?></a></p> <p class="thread-excerpt"><?php bp_message_thread_excerpt(); ?></p> </td>
So as you can see i deleted
<?php bp_message_thread_view_link(); ?>
and put my personal link.
I guess there have a better way for do that ?^^vulkashParticipantFinally i found the file associated here :
sweetdate\members\single\messages\single.phpBut now i have another question, i would like to load the “single.php” on another page of the site because by default when i click for open a message it load the single.php on the profile page. Do you know what i have to modify in the message-loop.php for it load the single.php on a page i created ?
I linked an attachement for you if not clear.vulkashParticipantYeah indeed its working now thank you 🙂
So i have another problem maybe you can help me 🙂 Its about the code for get free male membership :
COPY CODEfunction kleo_pmpro_default_level($user_id) { global $wpdb, $bp; //Change this with your field name $field_name= "I am a"; //Change the field value $value_to_match = "Woman"; //Membership level id $membership_level = 1; //Done editing $field_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) ); if ($_POST['field_'.$field_id] == $value_to_match) { pmpro_changeMembershipLevel($membership_level, $user_id); } } function kleo_mu_pmpro_default_level($user_id, $password, $meta) { global $bp, $wpdb; //Change this with your field name $field_name= "I am a"; //Change the field value $value_to_match = "Man"; //Membership level id $membership_level = 1; //Done editing $field_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) ); $field_value = $meta['field_'.$field_id]; if ( $field_value == $value_to_match ) { pmpro_changeMembershipLevel($membership_level, $user_id); } } if (is_multisite()) { add_action( 'wpmu_activate_user', 'kleo_mu_pmpro_default_level', 10, 3); } else { add_action('user_register', 'kleo_pmpro_default_level'); }
This code is for set man members as free membership if i understood. Actually i have two rank in paid membership the first is called “VIP” and second “Regular members” so i would like to set all woman as “VIP” and man as “Regular members”. Can you tell me how to change this code for get that ?
Thank youvulkashParticipantHello i tryed to add the code for arrow chat so i wrote the code with the right path as you can see below :
COPY CODEfunction ChatCheckMemberships() { if(pmpro_hasMembershipLevel(array(2), get_current_user_id())){ echo ' <link type="text/css" href="/arrowchat/public/list/css/style.css" rel="stylesheet" charset="utf-8"/> <script type="text/javascript" src="/arrowchat/public/list/js/list_core.js" charset="utf-8"></script> ';} } add_action('wp_head', 'ChatCheckMemberships')
But actually isnt working and my website isnt accessible anymore with this code, the problem seem located on the last line :
add_action('wp_head', 'ChatCheckMemberships')
when i remove this line its okay the site is accessible again. So i wonder if this line is usefull or not ?
ps : Im using sweetdate themevulkashParticipantAnd if i want target with the “page-id” can i do that like that ?
COPY CODE.page-id-1028 div#members-list .four.columns {width: 25%;} .page-id-1028 #members-list .four.columns:nth-child(n+1) {clear:right !important;}
December 23, 2016 at 15:52 in reply to: Change number of columns in a row in a specific page #147889vulkashParticipantokay thank you 🙂
December 21, 2016 at 16:14 in reply to: Change number of columns in a row in a specific page #147672vulkashParticipantThis reply has been set as private.December 19, 2016 at 16:04 in reply to: Change number of columns in a row in a specific page #147431vulkashParticipantThis reply has been set as private.vulkashParticipant-if i understand yet i should write something like that for modify all
<H2>
from activity page :COPY CODE.directory.activity h2{ font-size: 1.2em; }
Its allways like that i mean if i want modify another page it should be
.directory.pageID
-Understood for row thanks laura 🙂
vulkashParticipant6/ Slider is desactivated thats why i was surprised to found this link. I removed the “header picture” too but the link is still there ?
vulkashParticipant1/ Its okay its nice from you but i think finally my css skillz are good enough for that 😀
2/ Okay but there have a way for hide this “match sytem icon” yet ?
3/ ok
4/ mmmmmmm it can help to make it bigger indeed do you have others advices or plugins for make opening message more intuitive ? 🙂
5/ i got it 🙂
6/ Slider is desactivated thats why i was surprised to found this link and remove the header picture but link is still there 🙁
vulkashParticipanti fixed the problem with activating/desactivating the revslider i dont know why it fix it but now its all fine 😉
vulkashParticipantHi, same Problem here i tryed your solution but my thumbs stay in 146px instead 94px, i found the guilty line:
<li style="width: 146px; height: 146px;">
I dont understand because your line should overwrite as well in the child css -
AuthorPosts