xoops forums

Mamba

Moderator
Posted on: 3/29 5:44
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#1

Yogurt, social networking module ready for testing and some spicing up :)

Yogurt is an old social network module from Brazil.

I've updated it for PHP 7, but its user interface needs definitely a refresher!

Anybody would like to try to spice it up?

DOWNLOAD: https://github.com/XoopsModules25x/yogurt

Resized Image
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

mjoel

Quite a regular
Posted on: 3/30 1:28
mjoel
mjoel (Show more)
Quite a regular
Posts: 307
Since: 2006/12/9
#2

Re: Yogurt, social networking module ready for testing and some spicing up :)

testing this module in localhost

XOOPS Version XOOPS 2.5.11-Beta1
PHP Version 7.3.12
mySQL Version 5.7.28

1. in notes
Error : Error: Class 'XoopsModules\Yogurt\MyTextSanitizer' not found

2. In photos
i tried to upload several photos..i received the message upload successfully but none are inserted to the database

3. in audios...audio can't be uploaded

4. in audios empty page

5. in tribes empty page

6. in friends
no add friend button..cant add friend

7. when trying to view other profile by using this url
http://localhost/11/modules/yogurt/index.php?uid=2

Error : Error: Class 'XoopsModules\Yogurt\Yogurt\Visitors' not found

mjoel

Quite a regular
Posted on: 3/30 3:03
mjoel
mjoel (Show more)
Quite a regular
Posts: 307
Since: 2006/12/9
#3

Re: Yogurt, social networking module ready for testing and some spicing up :)

1. I just checked photos uploaded into uploads folder but not inserted to database

and for suggestion i think the photos should be put inside uploads/yogurt/photos/ and not in uploads/ folder

2. tribes empty page
Warning: Smarty error: unable to read resource: "db:yogurt_tribes.tpl" in file /class/smarty/Smarty.class.php line 1100

3. videos empty page
Warning: Smarty error: unable to read resource: "db:yogurt_seutubo.tpl" in file /class/smarty/Smarty.class.php line 1100

zyspec

Module Developer
Posted on: 3/30 6:01
zyspec
zyspec (Show more)
Module Developer
Posts: 1075
Since: 2004/9/21
#4

Re: Yogurt, social networking module ready for testing and some spicing up :)

1. in notes - in ./class/NotesHelper.php change line 230 from:
$myts = new MyTextSanitizer();

to:
$myts = new \MyTextSanitizer();

2. There are several problems with the template definitions in ./xoops_version.php

change line 431 from:
['file' => 'yogurt_Notebook.tpl''description' => _MI_YOG_PICTURE_TEMPLATENOTEBOOKDESC],

to:
['file' => 'yogurt_notebook.tpl''description' => _MI_YOG_PICTURE_TEMPLATENOTEBOOKDESC],


change line 433 from:
['file' => 'Seutubo.tpl''description' => _MI_YOG_PICTURE_TEMPLATESEUTUBODESC],

to:
['file' => 'yogurt_seutubo.tpl''description' => _MI_YOG_PICTURE_TEMPLATESEUTUBODESC],


change line 435 from:
['file' => 'Tribes.tpl''description' => _MI_YOG_PICTURE_TEMPLATETRIBESDESC],

to:
['file' => 'yogurt_tribes.tpl''description' => _MI_YOG_PICTURE_TEMPLATETRIBESDESC],


You'll then need to either update or reinstall the module for the references to the template changes to be updated

3. To solve the problem when trying to view other profile by using
http://localhost/11/modules/yogurt/index.php?uid=2 with the Class 'XoopsModules\Yogurt\Yogurt\Visitors' not found

Go to ./class/VisitorsHandler.php and any place you find
new Yogurt\Visitors()
replace it with
new Visitors()


I haven't had time to look at everything you found but hopefully this will get you past these problems and on to finding some more....

Mamba

Moderator
Posted on: 3/30 15:34
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#5

Re: Yogurt, social networking module ready for testing and some spicing up :)

Thanks Zyspec for checking the code!

I just committed these and few other changes:

https://github.com/mambax7/yogurt

Mjoel, thank you for testing, and sorry for the bugs!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

mjoel

Quite a regular
Posted on: 3/31 15:16
mjoel
mjoel (Show more)
Quite a regular
Posts: 307
Since: 2006/12/9
#6

Re: Yogurt, social networking module ready for testing and some spicing up :)

Thank you for the fixes Zyspec & Mamba

XOOPS Version XOOPS 2.5.11-Beta1
PHP Version 7.3.12
mySQL Version 5.7.28

1. In Notes
after posting in notes im redirected to this url
404 Not found
http://localhost/11/modules/yogurt/submit_Note.php

2. when rejecting a friend request user is redirected to seutubo.php

3. Two about page in Admin

4. images, css, script reference from root not from assets folder

5. search a tribe is not working properly only number of search tribes is displaying

6. user configuration setting is not saving

7. avatar and photos should be uploaded to specific folder avatar and photos and not in root/upload folder for better management

8. outdated ym,icq, aim,msn in yogurt

9. friends appears twice in friend list & my friends blocks l
i made test unfriend and add same friend several times

Mamba

Moderator
Posted on: 3/31 16:41
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#7

Re: Yogurt, social networking module ready for testing and some spicing up :)

Thank you Mjoel for all your testing.

I'll be looking into these bugs later today and hopefully by tomorrow some of them will be fixed...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

mjoel

Quite a regular
Posted on: 4/1 9:21
mjoel
mjoel (Show more)
Quite a regular
Posts: 307
Since: 2006/12/9
#8

Re: Yogurt, social networking module ready for testing and some spicing up :)

another bug

In album the edit,delete,avatar, private button is displayed to guest user

Mamba

Moderator
Posted on: 4/1 12:25
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#9

Re: Yogurt, social networking module ready for testing and some spicing up :)

I fixed some of the bugs, but several are still open:
https://github.com/XoopsModules25x/yogurt/releases/tag/3.4_Beta-3

Thanks for the additional bug reports.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 4/3 3:09
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#10

Re: Yogurt, social networking module ready for testing and some spicing up :)

Few bug fixes....
https://github.com/XoopsModules25x/yogurt/releases/tag/3.4_Beta-4
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs