xoops forums

xoobaru

Just can't stay away
Posted on: 2013/6/3 2:57
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#71

Re: Social Network module

Only one home page, sorry too much brain thrashing today.

Quote:

apparently the module entered you to the index page but showed you only an empty div :-S


Was that why it the module dead ended into a white screen when I entered into it as a new user (a user that is going to the SW signup screen for the first time)?

I used the process you indicated above:

uninstalled then reinstalled new, then imported old DB tables and finally went to do another module update.

Existing users already in imported db could access/use no problem. New signups just saw white.

This startpage is really nice the more I look at it. Nice work. It will give the module a nice dynamic community buzz feel (and possibly an addiction factor) to its users.

culex

Module Developer
Posted on: 2013/6/3 15:48
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#72

Re: Social Network module

I sent you another mail with another update.

Also you could get here. This should clear up the non registered getting empty div problem

1) Upload with ftp to web
2) goto admin -> modules -> update smallworld module
3) goto smallworld admin and check preferences / configs
4) done

xoobaru

Just can't stay away
Posted on: 2013/6/3 23:28
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#73

Re: Social Network module

Thanks Culex. It has been updated to this new version.

Confirm that new users are now capable of accessing the signup dialog.

You can now sign up and see what is going on with the user search and pri setting issues described above (you have a new PM above on a related note).

What does pri. settings (ideally) allow the users to set?



culex

Module Developer
Posted on: 2013/6/4 15:10
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#74

Re: Social Network module

Ok I can see the changes but script is still faltet in your site. I was going nuts trying to figure out exactely why, since in all my tests it runs fine, but now I think maybe I got it.

In your site you call both xim and smallworld. This is ok since they both use noConflict of jquery so they are ok..

Somewhere you then call also a 3rd version of jquery wich is 1.7.1, and I think this is what's what. The various scripts from smallworld extend jquery 1.9.1 but the xoops standard version you have in your site then overwrite the extended ones and this is maybe why the script dont recognize the functions.

Xoops in your site is version 2.5.5 ?

You could try yo admin->maintnance (clean caches) and then admin->modules -> update smallworld

Else try to upgrade the xoops jquery and jquery.ui

Jquery is here xoops_lib/Frameworks/jquery.js download jquery v1.9.1
jquery.ui is here xoops_lib/Frameworks/jquery/plugins/jquery.ui.js download jquery.ui v1.10.3

xoobaru

Just can't stay away
Posted on: 2013/6/5 0:05
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#75

Re: Social Network module

Upgraded jquery as specified, with exception that

Jquery is here xoops_lib/Frameworks/jquery.js


was actually

Jquery is here xoops_lib/Frameworks/jquery/jquery.js


as the latter is where the existing file resided.

Then cleaned the caches.

No change in the User search or pri. settings issues described above.

Yes, 2.5.5. Sounds like you testied with 2.5.6.

I will need to upgrade to 2.5.6 before proceeding further so we are at least synchronized to the same version. Let you know when it is done.

xoobaru

Just can't stay away
Posted on: 2013/6/5 20:47
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#76

Re: Social Network module

Upgrade to 2.5.6 is complete and SW module with upgrade jquery etc. and there is no change.

1. user search still does not work after posting messages in a users home page
2. user search still does not work at all in start page
3. Link to user pri. settings is still dead, just shows javascript ()void


xoobaru

Just can't stay away
Posted on: 2013/6/7 18:04
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#77

Re: Social Network module

Culex is aware of ths, but is being mentioned here for the record.

Opening Smallworld gives the same errors I got with extGallery

NetworkError: 404 Not Found - /browse.php?Frameworks/jquery/plugins/jquery.ui.js"
browse...y.ui.js

"NetworkError: 404 Not Found - /browse.php?Frameworks/jquery/plugins/jquery.ui.js"
browse...y.ui.js

TypeError: xoops_smallworld(...).elastic is not a function

The jquery.ui.js file is in the correct path, however the protected path does not have the literal name xoops_lib, but was customized during original install. Not sure this is not caused by the system looking specifically for the litearal xoops_lib name in the path.

Culex did not get this symptom on his 2.5.6 platform.


When accessing the user pri. setting in the hope page of Smallworld, we get

TypeError: xoops_smallworld.colorbox is not a function

But then again, this could be a secondary symptom of the above issues.

culex

Module Developer
Posted on: 2013/6/22 11:55
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#78

Re: Social Network module

Thanks for helping out in testing this. I think everytime I have added something new to smallworld a bunch of issues come up, or maybe they have been there all along, but at least now we're slowly getting there

In the next release. I have fixed / added the following.

NEW : Added a sync class to remove orphans in smallworld module when accessing admin/index
NEW : When entering smallworld/admin the upgrade script will change comments from varchar to text to allow unlimited lenght on comments

Bugfix: Convert comments from varchar to text in automatic upgrade.php
Bugfix: When deleting user remove also settings and complaints of user and against user
bugfix: Recognizing https as ok protocol for image upload message to wall
bugfix: removing maxlenght fron textareas (who needs them)
bugfix: double execution of function smallworld_corescript (preloads and publicindex.php)
Bugfix: Missing settings and colorbox in a few places
Bugfix: html tags breaks up changelog.txt (mamba)
Bugfix: Global vars and functions prefixing (security fix)

Still I was thinking. I use icons (heart / broken heart) as alternative icons for like / dislike.... Would it be better to use the more known thumbs up / down and maybe display a value (+5, +1 +10) for every comment / message ??

xoobaru

Just can't stay away
Posted on: 2013/6/23 22:59
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#79

Re: Social Network module

Thumbs down might be too berating (i.e. like saying "you reject"...). The existing ones are okay, maybe red heart/black heart with no break.

culex

Module Developer
Posted on: 2013/12/24 14:22
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#80

Re: Social Network module

I forgot to update this thread. I have done some modifications + additions. Also corrected some issues from xoobaru's great issue hunting, but have been busy doing a Xoops mallware/virus scanner.

Please let me know if any issues. Could be the last RC before release :)

Smallworld RC 20

------------------------------
Changelog v.1.15 RC 20
------------------------------
Date 01. October 2013 19:11 Rev12114

NEW : When entering admin automaticly rename user avatars set as blank.gif to void.
NEW : 
Parsing array from walls in respective classes clearing multible lines of code
NEW : smallworld_referer to return after various pages
NEW : Count all msg in wall
Bugfix 
Mysql error in ALTER table comments from varchar to text
Bugfix 
School start/stop displayed wrong.
Bugfix User avatars displayed void if blankNo shows default gender no-gender user avatar
Bugfix 
User gallery opening in new tab windowNow direct to _self instead of _SELF (?)
Bugfix Error in smallworld_getAvatarLink($userid$image); Condition changed from || to &&
Bugfix comment_ajaxCondition changed from AND to OR if admin or owner of commentPermission added to condition correctly.
Bugfix In edit profile education start/stop displays correct data (date function not needed in this case).
Bugfix In gallery only displays if visitor is a friend or admin.
Bugfix Heavy code cleanup -> re-arranging to make use of classes functions.
Bugfix Only allow friends to view profile.
Bugfix User posts not showing correctly to friends/followers OR admin.
Bugfix jquery.history.js added to code to show hidden iframe in IE correctly.
Bugfix After accepting friend request force reload of page to show new friend posts.
Bugfix After closing gallery return to refer-page.
Bugfix In smallworld.js -> tagging. If @ is followed by /s then close autocomplete indicating email or other. ((this).autocomplete"close" );)
Bugfix When tagging autocomplete is attached after single not @@@ (wow strange error)
Bugfix Removed test alert() OR console.logs used for testing.
Bugfix In friendpage show only gallery menu items for friends.
Bugfix Show only wall container if num of messages 0. [smarty error]
Bugfix Rename selector (gave issue with TDMPicture) [mamba]