1
DobePhat
Linking to Yogurt Member Profile in Xoops Profile? Yorgurt profile Access
  • 2008/7/12 20:25

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Hello ,
Here's the situation.

Yogurt looks great so far. Great Module.
However, Wanted to maintain registered members info integrity, so set annonymous access to NO.

Added a link to the Userinfo template in the system module.

The link is thus-
<input type="button" value="View This Members PowerProfile" onclick="location='<{$xoops_url}>/modules/yogurt/index.php?&uid=<{$user_uid}>'" />


It shows a nice button in the users Regular Profile. BUT, This link works as Admin not as user. Sure, its a permission problem, but I dont want annonymous users to be able to view Yogurt Profiles.

Trying to find the easiest way for Registered users to have access to other members yogurt profiles. So they can at least request to be a friend. Right now the only way to do this is to Search the Yogurt member directory, find the person, and the you can view their yogurt profile.

Anyone have another way to view registered members yogurt profiles more simply?

Thanks

Also: anyone already make blocks for Recent video?

2
trabis
Re: Linking to Yogurt Member Profile in Xoops Profile? Yorgurt profile Access
  • 2008/7/13 3:30

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Maybe you pasted the link on a wrong place. As far as I remember, the userinfo template as a space reserved for the admin and/or profile owner. Check if the link is outside that scope.

3
mariane
Re: Linking to Yogurt Member Profile in Xoops Profile? Yorgurt profile Access
  • 2008/7/13 9:30

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


i made some change to modules/system/templates/block/system_block_user.html
and changed the links of edit account and view account, so member can change ther own infos using yogurt, and not the system
the road of success is always under construction

4
DobePhat
Re: Linking to Yogurt Member Profile in Xoops Profile? Yorgurt profile Access
  • 2008/7/14 16:18

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Very interesting. You guys have this code snippet to share?
Thanks-

p.s I has added a simple 1 line hack to userinfo.php to hide regular User profile info from annonymous viewers (something I still think should be an option in site preferences or something)

That one line hack, I believe is whats keeping the yogurt/profile (userinfo.php) combo hack from working. So thats why Im trying some alternatives.

thanks for the info..

Login

Who's Online

246 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits