1
Mamba
Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/29 5:44

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

2
mjoel
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/30 1:28

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


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

3
mjoel
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/30 3:03

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


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

4
zyspec
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/30 6:01

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


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....

5
Mamba
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/30 15:34

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

6
mjoel
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/31 15:16

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


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

7
Mamba
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/3/31 16:41

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

8
mjoel
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/4/1 9:21

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


another bug

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

9
Mamba
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/4/1 12:25

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

10
Mamba
Re: Yogurt, social networking module ready for testing and some spicing up :)
  • 2020/4/3 3:09

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

317 user(s) are online (197 user(s) are browsing Support Forums)


Members: 0


Guests: 317


more...

Donat-O-Meter

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

Latest GitHub Commits