Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

  • Shahzaib Sabir
    Participant

    @shahzaib147

    @chouf1 Thank you. Thank you so very much. You proved a blessing for me.

    There was the problem because i was some code in my style.css which was causing a little conflict with the code you provide.

    I manage finally, thanks a lot. Marked as resolved 🙂


    Shahzaib Sabir
    Participant

    @shahzaib147

    So could i add a link beside HowDy? if it is then placing the code here will be a good thought.please.


    Shahzaib Sabir
    Participant

    @shahzaib147

    I understand, as i said earlier your given code works well if i do not apply this

    `#wpadminbar li {
    float: right;
    }`

    to style.css to float some other link to right.

    Please do tell if you have any other good option to add a link on extreme right of the bar rather than what i am using.


    Shahzaib Sabir
    Participant

    @shahzaib147

    @chouf1 I think i detect the problem. The conflict was, because i added the following code to my style.css to float a link(wstest.tk) on extreme right of the buddypress bar. `#wpadminbar li {
    float: right;
    }`

    When i remove the code from style.css this works.

    Is there any code, by applying i could float a link to right instead of applying the above code, which floats all the links from left to right?

    Here is the link of my test website http://wstest.tk/
    Username: test
    password: test


    @chouf1
    Please have a look into and tell whether you could help me? plz..


    Shahzaib Sabir
    Participant

    @shahzaib147

    @chouf1 thank you. This really works.
    Is there any idea that it works the same for the front end of the website too?
    I mean by applying the above code the counter moves at the back end bar but when visits the front end there, at bar, the counter still remains on the right side.
    I would love to listen. Again, thank you so much.


    Shahzaib Sabir
    Participant

    @shahzaib147

    @djpaul @hnla please do help any one. please..


    Shahzaib Sabir
    Participant

    @shahzaib147

    On the extreme right side there is profile link and beside it there is a notifications link.
    I want just the notification link to float right.

    Secondly, i want to add the link on the extreme right side. I tried search and still trying and i even did a lot of experiments but because of my beginner stage i could not manage to do what i want.
    I could only add a link on the left side but not on the right side.

    The thought is simple, as facebook has “Home” beside “profile link” and “notifications” on the left side. same is i want.

    here is a photo link you may understand better:

    http://wstest.tk/wp-content/uploads/2013/03/sshot-2.png


    Shahzaib Sabir
    Participant

    @shahzaib147

    @hnla your dp looks ugly to me but i ‘ll love this if you plz solve my problem. seriously, please.


    Shahzaib Sabir
    Participant

    @shahzaib147

    Thank you Hugo i acted what you said.
    Now, my simple problem;
    i just wanted to move notifications bubble from right to left side of the buddypress bar and do want to add a link on the right side of the bar..plz.


    Shahzaib Sabir
    Participant

    @shahzaib147

    Any help? plz


    Shahzaib Sabir
    Participant

    @shahzaib147

    oopss the user(subscriber) could not post anything, even could not update his status by applying this code. Is there any alternative solution? i do not want to try plugins. plz.

    `function restrict_admin(){
    //if Subscriber or low, kill WordPress execution and provide a message
    if ( ! current_user_can( ‘edit_posts’ ) ) {
    wp_die( __(‘You are not allowed to access this part of the site’) );
    }
    }
    add_action( ‘admin_init’, ‘restrict_admin’, 1 );`


    Shahzaib Sabir
    Participant

    @shahzaib147

    @unsalkorkmaz This really works. thank you so much but can we add a redirect element in this code? plz.


    Shahzaib Sabir
    Participant

    @shahzaib147

    Absolutely, am saying what exactly what you are thinking. I thought this to be the Style.CSS issue and when i tried using firebug and floating “.ab-top-secondary” to the “left” this moves the whole notifications+the logout window.

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar