11
hiflyer
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/20 16:02

  • hiflyer

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/7 3


djsets - thanks for the file change list!

...oops, I don't seem to have those files...?

Ah, in:
modules/system/templates/blocks/

That calls the Yogurt tabs when finding a user but clicking on the user still loads the default user info page...

12
mjz55
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 16:16

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Does anyone know how to get rid of the "No main video yet" and "User Contributions"?

thanks

13
hiflyer
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 17:12

  • hiflyer

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/7 3


Ok, I'm dumb, apparently it's in the install instructions and I didn't see it. Learned under this thread:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=27089&viewmode=flat&order=ASC&type=&mode=0&start=130

Change your userinfo.php file in the root of your site like suggested in install.txt


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

Add after this the following line:
header("Location:".XOOPS_URL."/modules/yogurt/index.php?uid=".$uid);

14
amudee
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 17:48

  • amudee

  • Just popping in

  • Posts: 42

  • Since: 2007/8/8 1


I was just passing by and saw this thread and
thought to share something which may be useful
to XOOPS friends here.

I found a small bug in yogurt 2.9 "My Friends"
block where by default following functionalities are present.

1) Friends Avatar (6 by default)
2) Usename (link to profile)
3) Private message (pm.gif)

the bug is in private message, if you try
to pm to a considered friend it will take
Guest userid instead of the friend to whom you
want to send message and when you try to send
a message to guest it gives following error.

"The selected user doesn't exist in the database.
Please check the name and try again."

I just found a small bug in
yogurt > templates > blocks > yogurt_block_friends.html following is the default code

<{section name=i loop=$block.friends}>
    <
div style="width:80%; text-align: center; page-break-after: always; margin: auto; page-break-before: always;">
    <
a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$block.friends[i].uid}>"  title=" Qtty<{$block.friends[i].uname}>"><img src=<{$xoops_upload_url}>/<{$block.friends[i].user_avatar}>><br /><{$block.friends[i].uname}> </a>
    <
br /><a href='javascript:openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid_voted}>","pmlite",500,450);'><img src="<{$xoops_url}>/images/icons/pm.gif" /></a>
    </
div><br />
<{/
section}>
<
a href="<{$xoops_url}>/modules/yogurt/friends.php"><{$block.lang_allfriends}></a>



This block is supposed to be displayed on home page
or user page. It takes a large screen space by
displaying 6 friends avatars in 6 rows.
Well i didn't wanted to display large avatars on
my homepage also i wanted to display friends in one
or 2 rows only, taking less space on the screen,
also i wanted to have private message functionality
right on the homepage itself. So i removed the avatars
and displayed usernames with links in a row along
with small icon of private message.

So I did the following modifications in this block

<{section name=i loop=$block.friends}>
    <
a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$block.friends[i].uid}>" 
title=" <{$block.friends[i].uname}>"><{$block.friends[i].uname}></a
<
a href='javascript:openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid}>","pmlite",500,450);'>
<
img alt="Private message" src="<{$xoops_url}>/images/icons/pm_small.gif" /></a>&nbsp;-&nbsp;    
<{/
section}>
</
BR></BR>
<
a href="<{$xoops_url}>/modules/yogurt/friends.php">
<{
$block.lang_allfriends}></a>


I just did minor changes and now it looks fine for my college site :)

See you guys around,
Amol

15
btesec
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 17:52

  • btesec

  • Friend of XOOPS

  • Posts: 623

  • Since: 2007/2/20


Hello,

Is it possible to integrate the userpage module with yogurt, maybe for the next release. What do you all think.

16
amudee
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 18:21

  • amudee

  • Just popping in

  • Posts: 42

  • Since: 2007/8/8 1


I think its a good idea to link a customizable user page but a user can already provide enough information on his profile and probably a hyperlink to his user page.

I think may be you can go for another hard coded tab under yogurt main page which takes a user to "User Page" module and display yogurt blocks on user page along with a link back to yogurt main page. I think this is very easy to do.

that way you can make it look like both modules are integrated closely.

How about it ?

Regards, Amol

17
lintu
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/21 21:26

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


I am using the Yogurt Social Network 2.9 BETA on my production site and did add the user page on one of the tabs. You will have to add the following code on yogurt_navbar.html in the template folder:

<{if $isOwner}>
<li> <a href="/modules/userpage/"><span><img class="yogurt-nav-bar-icon" src="images/scrapbook.gif" />My Page</span></a></li>
<{/if}>

You can view it onhttp://JigJak.com (after login)

I am having an issue with adding Videos from YouTube, does anyone have that working?

Thanks.
Abu
JigJak.com - A social Bookmarking & Blogging site.

ProjectMgr.net - Online Project Management Software

18
amudee
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/22 4:45

  • amudee

  • Just popping in

  • Posts: 42

  • Since: 2007/8/8 1


Yes its working for me, what issues are you facing exactly ? I can add youtube videos easily on my website and am also using version 2.9

19
lintu
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/22 15:46

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Hi amudee,

First, I had to increase the YouTube URL text box length as the YouTube video URL was too long. Then I added the video URL, on my site, but don't see the video loaded.

Thx.
Abu
JigJak.com - A social Bookmarking & Blogging site.

ProjectMgr.net - Online Project Management Software

20
Ft24v2
Re: Yogurt Social Network 2.9 BETA
  • 2008/1/22 17:03

  • Ft24v2

  • Just popping in

  • Posts: 86

  • Since: 2007/1/30


How would i be able to show how many userpoints the member has on there Social Network page from the userpoints module.

Login

Who's Online

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


Members: 0


Guests: 194


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