241
tzvook
Re: Yogurt Social Network 2.9 BETA
  • 2008/7/29 7:52

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


One more tweak for this great module:

As said and asked b4 in this thread - there is no point in showing the "user no 1 profile" to the anonimus users group, as the "default module page".
In most social networks, If you are not a site member you usually get staff like "newest members" or "newest tribes/communities" or "newest blogs" etc' ... and then a suggestion to join the network.

So I made a little twek for showing another content to unregistered user group:

open /yogurt/index.php , find this:
if ($xoopsUser && $xoopsUser->isAdmin(1)){
$xoopsTpl->assign('isWebmaster',"1");
}else{
    
$xoopsTpl->assign('isWebmaster',"0");
}


and add right after it (about line 207):
// TZ Addition // 
if ($xoopsUser){
$xoopsTpl->assign('isUser',"1");
}else{
    
$xoopsTpl->assign('isUser',"0");
}
// End TZ addition //


now you are able to show your desired content in templates/yogurt_index.html
using this example:

<{ if $isUser==}>
content for members of your site
<{else}>
content for non members
<{ /if }>


I used it right in the begining - to hide all content from the no-members, and show them my selected content ....

Hope someone will benefit this staff ...

242
blackrx
Re: Yogurt Social Network 2.9 BETA
  • 2008/7/29 10:44

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


or just use $isanonym which is already defined in yogurt

243
tzvook
Re: Yogurt Social Network 2.9 BETA
  • 2008/7/29 16:09

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Yep missed that ... but it needs to be passed to the template anyway ... so ...

244
philfire
Re: Yogurt Social Network 2.9 BETA
  • 2008/8/9 18:58

  • philfire

  • Just popping in

  • Posts: 25

  • Since: 2008/7/13


Quote:

djsets wrote:
go to files

/modules/system/system_block_newusers.html
/modules/system/system_block_siteinfo.html
/modules/system/system_block_topusers.html

find this:

<a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>">

and change to:

<a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$user.id}>">



They're in modules/system/templates/blocks

:)

245
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/4 6:53

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


Hallo Suico, hallo everybody:

Se podrá en un futuro o ya se ha pensado: integrar el cumpleaños del usuario (con felicitación y todo) en el Social Network ?? Los módulos de cumpleaños que hay para XOOPS están demasiado arcaicos

the BIRTHDAY is very important for a comunity homepage with many users ... i hope to see this function in the future by the social network with happy birthday notice include. There are many Birthday standalone moduls for XOOPS for download (anniversary, mybirthday, etc) but not in the Social Network integrated, i'm sorry for my english, bad bad

Somebody can help me to integrate one of this modules (for example: birthday) in the Social Network??

Thanks y gracias a todos

246
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/5 21:43

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


can not add audio file by yogurt social network 3.3 (new install) in XOOPS 2.0.15

error by "add audio (mp3) file"

_ER_UP_ERRORSRETURNED
_ER_UP_NOFILEUPLOADED

Bad, Bad Module...No cachaça for you!
Unfortunately, this module has acted in an unexpected way. Hopefully it will return to its helpful self if you try again.

some can help me??
thanks

247
antifmradio
Re: Yogurt Social Network 2.9 BETA

Quote:

kakafuate wrote:
can not add audio file by yogurt social network 3.3 (new install) in XOOPS 2.0.15

error by "add audio (mp3) file"

_ER_UP_ERRORSRETURNED
_ER_UP_NOFILEUPLOADED

Bad, Bad Module...No cachaça for you!
Unfortunately, this module has acted in an unexpected way. Hopefully it will return to its helpful self if you try again.

some can help me??
thanks


if i remember correctly
it doesnt work previous to version 2.16


also ****THIS IS VERY IMPORTANT****
the mp3 page is still NOT fully released. so its going to have bugs
please use the Yogurt 3.2 thread for the mp3 page as it was added to version 3
and this thread is for version 2.9

248
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/5 23:34

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


thank you antifmradio

i dont understand english very well, better german or spanish

anyway i download the version 3.2 but in this version is the audio function+template (mp3) not available

can you explain me this anyway like for a dummy

thanks

249
eventspeak
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/10 5:18

  • eventspeak

  • Just popping in

  • Posts: 66

  • Since: 2006/3/20


does any one know why this would happen or what it means for yogurt
Quote:
Notice [PHP]: Undefined variable: xoTheme in file modules/yogurt/index.php line 159


I would really like to get this mod working but i have no idea what this means.. any help would be appreciated.

Yogurt 3.2 rc2
xoops 2.2.6
Mysql Version:5.0.45
PHP: 5.1.6
James Trivlis
james(@)Eventspeak.com
http://www.eventspeak.com

250
stefan88
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/10 5:56

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi

Quote:
does any one know why this would happen or what it means for yogurt
Quote:
Notice [PHP]: Undefined variable: xoTheme in file modules/yogurt/index.php line 159

I would really like to get this mod working but i have no idea what this means.. any help would be appreciated.

Yogurt 3.2 rc2
xoops 2.2.6
Mysql Version:5.0.45
PHP: 5.1.6


xoTheme was introduced in 2.0.14 or 2.0.15 and I don't think it is available in 2.2.* branch.
..

Login

Who's Online

111 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 111


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