31
sarahmx
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/12 15:09

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


thank you thank you.....

can i give you a kiss and a hug blueteen..?

this is indeed an early xmas present for me

thank you thank you...i'm very happy...

at last...just hope development of yogurt to be continue..

anyone know what is latest development of Yogurt ... one of XOOPS user favorite module !!!!



p/s : now i can upgrade some of my site !! thanks one again...

this should be add to FAQ

32
sarahmx
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/12 15:11

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


Thanks also to the XOOPS french community !!! you guys rock

33
noo-b
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/12 23:56

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


thanks blueteen
I Love Xoops

34
vietnam
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/13 5:32

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


I can download it?
Who has the latest version?
Please give me, thank you!

35
jimmyx
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/13 6:30

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


thanks..yes...finally got this working again..

for me i use

1. the profile module in XOOPS 2.3.2b and

2. yogurt 3.3rc2
http://sourceforge.net/project/platformdownload.php?group_id=204109&sel_platform=5479
https://xoops.org/modules/news/article.php?storyid=4398


36
demian
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/13 12:27

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


thank you all

37
blueteen
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/16 12:47

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


A small change made:

With this code :
$profile_handler =& xoops_getmodulehandler('profile','profile');
$profile $profile_handler->get($xoopsUser->getVar('uid'));
$date_birthday date('d/m/Y'$profile->getVar('date_birthday'));
$xoopsTpl->assign('date_birthday',$date_birthday);


The result is always linked to the connected member.
If someone tries to see another profile, he'll always see its own birthday date !

You must change this code, with :
$profile_handler =& xoops_getmodulehandler('profile','profile');
$uidyogurt intval($_GET['uid']); //get uid from url
if ($uidyogurt <= 0) { //if no valid uid passed to url
    
if (is_object($xoopsUser))  {//if member
        
$profile $profile_handler->get($xoopsUser->getVar('uid'));} //get uid for the connected member
        
else {
             
header('location: ' XOOPS_URL); //back to homepage - redirect wherever you want
             
exit();}
}
else {
//if a correct uid passed to url - eg. : index.php?uid=12
    
$profile $profile_handler->get($uidyogurt);}//get uid passed to url to take right data from profile
$date_birthday date('d/m/Y'$profile->getVar('date_birthday'));
$xoopsTpl->assign('date_birthday',$date_birthday);


French version here.

Thank to bendenice for having reported this bug.

38
pablo103
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/20 19:55

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Thank you!

How to include those fields in search page of yogurt modules/yogurt/searchmembers.php? I can see only defaulf fields here. Any hack?

39
Monika
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/20 23:54

  • Monika

  • Not too shy to talk

  • Posts: 103

  • Since: 2008/12/19


How can we make Yogurt profile be the default user profile? i followed this instruction but i failed. Maybe because i use the module User Profile 1.51
Quote:

Hack to make the yogurt userpage as the main userpage of your site:

Open userinfo.php in the root of your site, search at the very beggining of the file for

$uid = intval($_GET['uid']);
if ($uid <= 0) {
redirect_header('index.php', 3, _US_SELECTNG);
exit();
}

Add after this the following lines:

header("Location:".XOOPS_URL."/modules/yogurt/index.php?uid=".$uid);
exit();




thanks

40
pablo103
Re: Xoops 2.3 User Profile & Yogurt 3.3
  • 2008/12/21 23:58

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


can you make sure you have edited the userinfo.php in your main XOOPS directory?

Login

Who's Online

194 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits