profile sidebar – GOD HELP ME
-
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
-
someone can help me please?
can I create a independent widget for profile sidebar, for different users?? yes or not?
Do not bump your own post after three or four hours of posting.
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!@#
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
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 */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.
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
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.
No worries, surfartculture. No offense taken
- The topic ‘profile sidebar – GOD HELP ME’ is closed to new replies.