Forum Replies Created

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
  • in reply to: newsletter no fields appear #153113
     vulkash
    Participant

    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

    in reply to: Switch between Boxed style and full-width #151736
     vulkash
    Participant

    It 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 🙂

    in reply to: Switch between Boxed style and full-width #151489
     vulkash
    Participant

    the homepage here : http://www.lookingforpals.com/ (need to be logged out)

    in reply to: Message inbox #149964
     vulkash
    Participant

    Yes 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 ?

    in reply to: Message inbox #149895
     vulkash
    Participant

    I 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 ?^^

    in reply to: Message inbox #149880
     vulkash
    Participant

    The attachement here

    Attachments:
    You must be logged in to view attached files.
    in reply to: Message inbox #149879
     vulkash
    Participant

    Finally i found the file associated here :
    sweetdate\members\single\messages\single.php

    But 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.

    in reply to: Enable chat option with friends #149050
     vulkash
    Participant

    Yeah 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 CODE
    function 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 you

    in reply to: Enable chat option with friends #148675
     vulkash
    Participant

    Hello i tryed to add the code for arrow chat so i wrote the code with the right path as you can see below :

    COPY CODE
    function 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 theme

    in reply to: Change number of columns in a row in a specific page #148668
     vulkash
    Participant

    And 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;}
    
    in reply to: Change number of columns in a row in a specific page #148667
     vulkash
    Participant

    thanks you ill try that 🙂

    in reply to: Change number of columns in a row in a specific page #147889
     vulkash
    Participant

    okay thank you 🙂

    in reply to: Change number of columns in a row in a specific page #147672
     vulkash
    Participant
    This reply has been set as private.
    in reply to: Change number of columns in a row in a specific page #147431
     vulkash
    Participant
    This reply has been set as private.
    in reply to: Edit member list design #144079
     vulkash
    Participant

    -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 🙂

    in reply to: Questions about various things i wanna do :) #144071
     vulkash
    Participant
    This reply has been set as private.
    in reply to: Questions about various things i wanna do :) #143633
     vulkash
    Participant

    6/ Slider is desactivated thats why i was surprised to found this link. I removed the “header picture” too but the link is still there ?

    in reply to: Edit member list design #143489
     vulkash
    Participant

    And i forgot my second question:
    How to have more than 3 item in a row ?

    in reply to: Questions about various things i wanna do :) #143485
     vulkash
    Participant

    1/ 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 🙁

    in reply to: Carousel Photo Border Issues on Homepage #142968
     vulkash
    Participant

    i fixed the problem with activating/desactivating the revslider i dont know why it fix it but now its all fine 😉

    in reply to: Carousel Photo Border Issues on Homepage #142962
     vulkash
    Participant

    Hi, 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

Viewing 21 posts - 1 through 21 (of 21 total)

Log in with your credentials

Forgot your details?