Skip to:
Content
Pages
Categories
Search
Top
Bottom

profile sidebar – GOD HELP ME

  • @surfartculture

    Participant

    I have 3 members

    with 3 profiles

    i wanna have 3 differents wigdgets in sidebar “Profile Sibar” for each member when i logged as user admin.

    Ex. I am Surfer1 user,

    Want to loggin and add sidebar widgets in my profile sidebar, i wanna put a RSS Widget to appear in My Profile

    I am Surfer2 user,

    Want to loggin and add sidebar widgets in my profile sidebar, i wanna put a META Widget to appear in My Profile.

    i tried widgetize trhu funtions.php, the side bar appears, but appears for all user the same widget, i just can configure by admin looging…i wanna independent sidebar working for the users, got it? so hard for me

    HELP, what can I do? Plugin? Hack the sidebar.php? pr functions.php?

    One week trying already. i´using the default bdpress theme, 113, wp2.9.1

    Thanx for reading this, and if u can help, god bless u also ;)

Viewing 10 replies - 1 through 10 (of 10 total)
  • @surfartculture

    Participant

    someone can help me please?

    @surfartculture

    Participant

    can I create a independent widget for profile sidebar, for different users?? yes or not?

    @djpaul

    Keymaster

    Do not bump your own post after three or four hours of posting.

    @surfartculture

    Participant

    i think admins and users are so busy studing or something. it´s so hard just to answer yes or not? maybe is more fun let beginners users watching u guys talking hard expression and words, or just answer in a few (few few few) words to let us more and more confused!

    Thank u for the answer Mr. DJPaul, it helps me alot! i´m going craaaaazy! d!@#

    @mattkern

    Participant

    3 tips:

    1) Take a deep breath.

    2) Don’t insult one of the most helpful people on the board.

    3) Its a good question and I don’t know how to do it but maybe check out how the blog works and reverse engineer it. If you get too stuck, put it aside for awhile and work on something else. Then go back to it later with a fresh perspective.

    Cheers.

    Matt

    @boonebgorges

    Keymaster

    If I understand your question correctly, you’ll want to think of it as a single widget that appears differently for different members.

    Use http://wpengineer.com/wordpress-built-a-widget/ to build a new widget. In function widget(), figure out which user is logged as follows:

    global $bp;

    if ( $bp->loggedin_user->id == 1 ) {
    /* Display the stuff you want user 1 to see */
    } else if ( $bp->loggedin_user->id == 2 ) {
    /* Stuff you want user 2 to see */
    } /* etc */

    @boonebgorges

    Keymaster

    I guess if you don’t need it to be user configurable you could skip creating a widget and just hardcode the sidebar into your theme.

    @surfartculture

    Participant

    matt and boones u guys are right! i need take a breath….wanna say honest sorry about that, i´m working night by night since last december trying to understand all the bp code, i tried everything already, my intesion isn´t offend or insult any users and admins…maybe it cos the language, i´m brazilian and my poor english made a mistake convesation by my side. wanna say sorry for all u guys. Thank you guys for the words, this made me see how rude i was. sorry ;) peace and thankk you Special sorry for DJ

    @jivany

    Participant

    Would the widget logic plugin work for you?

    https://wordpress.org/extend/plugins/widget-logic/

    I’m not really following what you’re trying to do but I know the widget logic plugin is fantastic for controlling when widgets get displayed.

    @djpaul

    Keymaster

    No worries, surfartculture. No offense taken :)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘profile sidebar – GOD HELP ME’ is closed to new replies.
Skip to toolbar