Fork me on GitHub

Search

Donat-O-Meter

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

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot HP Human HỘ IP iPhone jQuery Language Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam Studio tags tdmcreate template The Theme themes web weight Wishcraft xoops Xortify

New Users

Registering user

# 137849

hometheater

Welcome to XOOPS!

Archives

News Archives

Smallworld 1.10 RC: Social Networking module for XOOPS

Posted by culex on 2012/2/9 10:40:00 (10207 reads) | Posted on Modules
Smallworld v1.10 RC is ready for download and testing.

Smallworld is a social network module with extended profile, wallupdates & commenting, Image gallery and the ability to follow other users and if you're interested in reading their profiles you can add them as friends.

Most administrative jobs are done from frontend. The admin cannot edit updates or comments but he has the ability to delete unapropiate messages if he so choses.

Administration has these features:
- Automatic check server file and give message when new version or a critical bug fix is available

- Statistic
- how many users is using smallworld
- Most active last 24 hours
- most active allround
- average messages per day
- best/lowest rated users


- User administration
- Take user down for inspection. A countdown is showing when this users friends visit his profile. He can se his own but cannot see other users profiles and they cannot see his - until Admin clear inspection.
- Delete user. Admin can only from here choose to delete a users acount. All the users content will be deleted including updates, comments and images.
- Admin can also get at status overlook of the users and registered IPs
- Settings
- Choose to use Google map api or geonames database. These are used in registration/profile and is active in city fields
- Define typical items (how many updates per page etc)
- Admin can choose to use email notifications ie. Users will recieve mail when new comments in a thread they're active, Admin recieves mail when a complaint is sent, new registrant)
- Admin can choose to direct all userinfo links in xoops to smallworld profile
- Admin can choose wich fields will be used in registration and wich of these needs validation.

- Front end
- Profile
- Users can see cities from profiles as google map.
- Make friends. You can only view the profile and picture gallery of friends. Except admin he can see them all.
- Follow others. Their updates will be shown in your indexpage. In the profile page only your own messages are shown.
- Image gallery
- Delete or Upload single image or bulk. On closing the upload image page, you'll automaticly be taken to edit image descriptions page
- view your image using galleriffic image gallery.
- wall
- like/dislike updates or comments. But not your own
- image links or links to video, music etc are embeddded in the wall (like facebook and others)
- Use searchbar to inline search for other users.
- If you feel the need you can make a complaint about comments/users from frontend.

- Others
- You can also see stats from frontend. See who has birthday today, wich users are most active, best/worst rated.
- Change avatar from frontend and see it replacing your image without pagerefresh
- See your ratings / comment count
- When your followers make updates and your stationary on a page a small update button will apear with a count of how many new changes has been made.


I should mention though this is still a RC only so changes will be frequent as I am sure there are still some bugs hiding in there needint to be fixed. So dont use on a production site.

Requirements:

Xoops 2.5
Php 5.2
Xoops ModuleAdmin 1.1 (for XOOPS < 2.5.4)
Mysql 5.0.7

Download Smallworld v1.15 RC3

[EDIT] The download above has been updated to "1.15RC3"


Printer Friendly Page Send this Story to a Friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

Thanks Culex for your hard work on this module!

We wanted something like this for a very long time, and finally XOOPS users can enjoy a real "social networking" module.

I just hope that the community will rally behind this module and will make it a true "community module", by contributing to documentation, testing, bug fixing, and enhancements.

This module could be a really good "selling point" for XOOPS!
Published: 2012/2/8 17:47 • Updated: 2012/2/8 17:47
Very nice module. A few issues.

1. Access through the admin panel doesn't load, it sends an error message _AM_MODULEADMIN_MISSING.

2. The change avatar button doesn't load anything, reloads the same page. This happens at the small world home page and profile page. I can change the avatar through the system user account panel, which changes the avatar for smallworld .

3. It hijacks the user profile link in all modules, I'm assuming a redirect ? Not a problem, except...

it doesn't go to the xoops root path. I'm running in localhost/x2 it sends to localhost/modules/smallworld/userprofile.php?username=mike (no x2 in the path)

And a suggestion, if it is going to redirect from the system's user profile, can you include "recent activities" in the smallworld nav bar that loads a page showing the users recent activities.

LIKE: Home Profile Friends Pictures [Recent Activities]

Where Recent Activities would show the information you see for users in the system user profile.

Otherwise, great job !
Published: 2012/2/8 21:43 • Updated: 2012/2/8 21:43
What version of Xoops are you using? You need the admin framework for 2.5. Which comes with 2.5.4

If you are using a different version of xoops you will need to pick up the admin framework.
Published: 2012/2/8 22:44 • Updated: 2012/2/8 22:44
Quote:

You need to install moduleAdmin 1.1 min


Quote:

2. The change avatar button doesn't load anything, reloads the same page. This happens at the small world home page and profile page. I can change the avatar through the system user account panel, which changes the avatar for smallworld .


Pressing the link ought to show a button under the avatar. Pressing this opens a file select dialog. Only image files will be uploaded of course

Quote:

3. It hijacks the user profile link in all modules, I'm assuming a redirect ? Not a problem, except...

it doesn't go to the xoops root path. I'm running in localhost/x2 it sends to localhost/modules/smallworld/userprofile.php?username=mike (no x2 in the path)


I had someone report this issue earlier too.. I think I forgot about sub installations

Just a thought.. try in js/smallworld.js line 524 change

from
this.href this.href.replace(oldurl"/modules/smallworld/userprofile.php?username="+uname);

to
this.href this.href.replace(oldurlsmallworld_url "userprofile.php?username="+uname);


Otherwise the highjacking can be turned off in settings for the module

Quote:

And a suggestion, if it is going to redirect from the system's user profile, can you include "recent activities" in the smallworld nav bar that loads a page showing the users recent activities.........


profile page shows specific users recent posts on smallworld. Maybe a seperate page would not be a bad idea, but for now I'm not adding new features just killing the bugs
Published: 2012/2/8 23:43 • Updated: 2012/2/8 23:44
Thanks Culex! Great module.
Published: 2012/2/9 10:32 • Updated: 2012/2/9 10:32
Me again :) I'm not sure what version of xoops I was using, but I did upgrade, admin loads, and change avatar is working.

I was going to get back to you before now,
but waited a bit for an error to recur. It's a
popup, says

[object Object] error [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getAllResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://localhost/x5/modules/smallworld/js/jquery-1.5.1.min.js :: anonymous :: line 16" data: no]

Doesn't seem to hurt anything, but not something I'd want users to see.

Thank you again, an exceptional effort.
Published: 2012/2/9 23:15 • Updated: 2012/2/10 0:16
Quote:
It's a popup, says [object Object] error [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getAllResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://localhost/x5/modules/smallworld/js/jquery-1.5.1.min.js :: anonymous :: line 16" data: no]


Also I noticed this now, but couldn't understand from where it was comming until I saw your example.

For one second I was worried it was from Xim hehe.

I think I know now from where. Could be your session is expiring...aften 15 min in my city culex becomes anonymous and need to login again or refresh session... I'll have to work around this somehow

Thanks for helping
Published: 2012/2/10 3:03 • Updated: 2012/2/10 3:03
Your welcome, and I did not have XIM installed. I do now and it has broken most of the javascript links in the smallworld profile page, and possibly the picture gallery, not sure yet if my computer is having a bad hair day. I posted under the article introducing XIM, which appears to be another great module.

The smallworld javascripts broke after uploading the XIM java script files...

Thanks again.l
Published: 2012/2/10 21:04 • Updated: 2012/2/10 21:04
Yeah I'm beginning to think you're right... somewhere between xim and smallworld something is getting broken..

I'll check later to see if I have forgotten to encapsule some javascript in eighter..

Could be the reason why it's not reacting correct with users using prototype too
Published: 2012/2/11 7:28 • Updated: 2012/2/11 7:28
I tryed to test the module, but without a succes. Instalation was fine, but later I haven't a possibility to save my profile datas in database. In first test I checked, there were any problems with javascripts (jQuery) - after upgrade a module to latest version (yesterday) I don't see bug reports, but still can't save datas.

Xoops 2.5.3
Published: 2012/2/11 12:13 • Updated: 2012/2/11 12:13
If it's helpful to know:

* The birthday link still pops up with a count down.

* Adding new "what's up" stuff works, and I can delete posts.

* "More info click here" on the profile page no longer loads in a popup, but does load below the what's up content.

* Links for smallworld_workmore, _smallworld_present_maplink , and _smallworld_workmore, does nothing, the status bar reads javascript:void(0)

* Add/remove friend works, as does follow/unfollow, and the

* "MORE" link to display more what's up on seems to work, haven't added enough "what's up" data to any profile to know for sure but it seems to behave properly and there is no java error.

* Edit profile doesn't load a popup, it loads editprofile.php ni a new page.

* Change avatar works.

* Statistics gets "javascript:void(0)" in the status bar.

* The Photo Albums page doesn't load photo's. Upload a photo works, but clicking the start button after loading a file to upload button loads a new page with...

{"name":"132899053965636.jpeg","size":4951,"type":"image\/jpeg","url":"http:\/\/localhost\/x5\/uploads\/albums_smallworld\/1\/132899053965636.jpeg","thumbnail":"http:\/\/localhost\/x5\/uploads\/albums_smallworld\/1\/thumbnails\/132899053965636.jpeg"}

ALSO there is no nav bar on the photo album page

Like -> * Home * Profile * Friends * Pictures

... which is more aesthetic but seems like it should be there.


I'll watch for your fixes.
Published: 2012/2/11 14:22 • Updated: 2012/2/11 14:25
I cannot replicate your errors... I event tried to include prototype and mooTools to invoke some possible conflicts but I still have it running..

Did you get xim from here Svn trunk ??

I did however make some adjustments. The changes I added svn changelog the day before yesterday aparently was stolen by leprechauns (tough word).. I have now added again and made some other small changes.

Remember php has to be >= 5.3
update is here
1.15RC

EDIT:

I have it running also in my own site..you'll of course need to register
demo
Published: 2012/2/11 14:53 • Updated: 2012/2/11 15:08
Installed 1.15RC, reinstalled XIM, everything works : )
Published: 2012/2/11 19:29 • Updated: 2012/2/11 19:29
Mhmm, it can be a reason of trobles - my php version is 5.2.9 :S
Published: 2012/2/12 1:25 • Updated: 2012/2/12 1:25
I'll see later if I can find an alternative to dateTime class I think this is the only issue with php 5.3

Also I'll see if I can add nav in image gallery, it does seem to miss being there.

I almost think I have the [object,object] issue in javascript figured out. It is due to "idle time". Even if you use custom sessions and set session time very high...your sessions expire after XX mins idletime.

The countMessages() functions then return double json when sessions die. I'll see later if a cookie update could do it.
Published: 2012/2/12 7:21 • Updated: 2012/2/12 7:21
Quote:
I'll see later if I can find an alternative to dateTime class I think this is the only issue with php 5.3

Maybe you can look at this PEAR Library:

http://pear.php.net/package/Date/

From the description it sounds very interesting and could solve some problems for XOOPS:

Quote:
Generic classes for representation and manipulation of dates, times and time zones without the need of timestamps, which is a huge limitation for PHP programs. Includes time zone data, time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so you can display calendars and compare dates that date pre 1970 and post 2038.

Published: 2012/2/12 9:08 • Updated: 2012/2/12 9:09
@Culex: Heads up, I disabled the smallworld module last night, but I'm still getting the [object object] popup apparently from xim which is still installed.

Funny thing, That never happened before the smallworld install.
*scratchin my head*

Update:
Fixed the popups by "hiding" the module in addition to de-activating it.
Published: 2012/2/12 10:52 • Updated: 2012/2/12 10:59
Smallwall has been updated to Smallworld RC2 (Thanks Mamba for replacing zip)

Changes are
9. february 2012
BugfixTakeover links not using XOOPS_URL correct(djculex)
BugfixCreated function smallworld_getImageSize to test if allow_url_fopen on else try cUrl else return default for image sizes(djculex)
Bugfix: ../js/smallworld.js added smallworld_url (xoops_urlto submit in registration (djculex)
BugfixCheck if 'interested in' and 'searchrelat' isset else create default serialized array

11. Februar 2012
BugfixAdded check to see if user images folder already exists in uploads
BugfixCheck if dateTime obj is != null else return 01-01-1900 or 1900-01-01
Bugfixcheck if gender or country images are set else return ''
BugfixAdded missing function previously added to svn ?? wierd!
BugfixGender was missing in select multi for form items
BugfixRemove error in json reply

12. Fevruary 2012
BugfixKeep imagegallery in colorbox even if imageData.index is null

13. February
BugfixRemoved php 5.30 function to convert dateformat and replaced with simpler function
ChangeRemoved php 5.30 function to calculate difference between dates in Years.
changeSmallworld decreased min-php to >= 5.20


Also I have made some updates in XIM..
Update Xim here

Changes:
Bugfixsanitize function mission -> fatal error on message send
Bugfix
when 0 users online Json returns [object object]

Published: 2012/2/12 21:52 • Updated: 2012/2/12 21:52
downloaded today 02/13/12 Tried again still not working..... will not save info on registration loops back

let us know when you get it working

my info:
XOOPS Version XOOPS 2.5.4
PHP Version 5.2.17
mySQL Version 5.0.92-community
Server API cgi-fcgi
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen On
fsockopen On
allow_call_time_pass_reference On
post_max_size 100M
max_input_time 300
output_buffering
max_execution_time 3000
memory_limit 64M
file_uploads On
upload_max_filesize 100M
Published: 2012/2/13 14:19 • Updated: 2012/2/13 14:19
Well it is working but why it isn't working in your demo is the big questions.

Nothing I can see from your system info indication it shouldn't work..

You got the 1.15Rc2 version, and did a module update from admin/modules ?

When the script return after save to smallworld/index.php it is definitely not the javascript since this is returned.

Must be eighter a set-up issue or some $_post not being set and you get an error.. Using firebug or similar could you grab the submit.php json and send me ?
Published: 2012/2/13 21:16 • Updated: 2012/2/13 21:16
I did a fresh install not upgrade --> here is the submit from smallworld
I have 26 modules installed all seem to work fine except for small world..
http://sacramentoparents.com/

Thanks Palo

<?php
/**
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
* @module: Smallworld
* @Author: Michael Albertsen (http://culex.dk) <culex@culex.dk>
* @copyright: 2011 Culex
* @Repository path: $HeadURL: https://xoops.svn.sourceforge.net/svnr ... unk/smallworld/submit.php $
* @Last committed: $Revision: 8815 $
* @Last changed by: $Author: djculex $
* @Last changed date: $Date: 2012-01-26 16:33:48 +0100 (to, 26 jan 2012) $
* @ID: $Id: submit.php 8815 2012-01-26 15:33:48Z djculex $
**/
include_once("../../mainfile.php");
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
global $xoopsUser,$xoopsLogger;
$xoopsLogger->activated = false;
$db = new SmallWorldDB;
$mail = new smallworld_mail;

$db->handlePosts ();

// Create user albums etc
$img = new smallWorldImages;
$userID = $xoopsUser->getVar('uid');
if ($_POST['function'] != 'edit') {
$img->createAlbum ($userID);
if(smallworld_GetModuleOption('smallworldusemailnotis', $repmodule='smallworld') != 0) {
$mail->sendMails ($userID, $userID, 'register', $link=null, array());
}
}
?>
Published: 2012/2/15 12:19 • Updated: 2012/2/15 12:25
was testing (Smallworld v1.15 RC) on production site with xoops 2.5.3(Xoops ModuleAdmin 1.1) yes it doesn't work.. cannot save the database.
installing xoops 2.5.4 (new installation not upgrading) and it works fine (post/add friend/follow/comment/image/etc).
so i assume this module only works with xoops 2.5.4..

error message when try click a link..while page still loading...
[object Objecterror [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getAllResponseHeaders]"  nsresult"0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location"JS frame :: http://www.example.com/modules/smallw ... nbsp;:: line 16"  datano]


Will give some feedback later with user experiance..

Thanks for this cool module hope this will release soon.
Published: 2012/2/19 18:10 • Updated: 2012/2/19 18:10
Quote:

error message when try click a link..while page still loading...

Cool I did notice this report earlier just in the haste of clearing bugs I forgot to reply..

It indicates that an event.preventDefault(); or return false; is missing in a selector action somewhere.. It's not a major issue but doesnt look nice in firebug.. Could you tell me wich link you pressed ? I dont get this error so maybe It got covered with a new function or exception or something in this test code I have..

Quote:
so i assume this module only works with xoops 2.5.4..

A few weeks ago I tested with xoops 2.50 and it looks to work ok (except modulesAdmin).. But later bug findings I have replaced functions and class declares with code from 2.54. But I'll give it a check to see what gives in 2.53


Quote:
Thanks for this cool module hope this will release soon.


Me too... looks promising to release very soon though..

Still have a small issue with automatic text after image upload to gallery (99% done)

And still to see how to test for issues with looping after registering. I cant replictate the error but I'll see if I can find some similar issues.
Published: 2012/2/19 20:20 • Updated: 2012/2/19 20:24
Quote:
Could you tell me wich link you pressed ? I dont get this error so maybe It got covered with a new function or exception or something in this test code I have..

Not on smallworld but in others modules submit.php.

and another issue is notification event.
when user give comment, comenter got notification i think thats not necessary.and it will spam if comenter always give some comment.
Published: 2012/2/19 23:27 • Updated: 2012/2/19 23:27
Quote:
Not on smallworld but in others modules submit.php.


Actually this is a big help...could be my selector for submit is to general, and could solve some of the looping problems

Quote:
and another issue is notification event. when user give comment, comenter got notification i think thats not necessary.and it will spam if comenter always give some comment.


You can disable mail notification in admin / config.. I'll check later to see if I have check on all email functions
Published: 2012/2/20 0:53 • Updated: 2012/2/20 0:53
Many Thanks for your support.
Published: 2012/2/20 6:33 • Updated: 2012/2/20 6:33
Release candidate 1.15 v3 is available

Changes since RC v2
14. February
BugfixAply function to only run getSelects.php on register and editprofile.php. (djculex)
Bugfixremoved anoying pop up [objectobjecterror (djculex)
Changeadjusted jSon returned from checks (djculex)

16. February
BugfixFriendship requests sometimes show when empty (djculex)
BugfixGet size of avatar function return void on blank.png (djculex)
BugfixMiss count is most active users in admin (djculex)
BugfixMiscount in todays most active users in admin (djculex)
Changemin mysql set to 5.0.5 instead of 5.0.7 (djculex)

18. February
- NEW: function to choose random image from uploads and place in update post (djculex)
BugfixAdded check for preloads javascript vars to see if vars is already defined (djculex)
Bugfixhtml_entity_decode is not set in returning image link or post from image uploads (djculex)
BugfixSpelling error in english/main.php (tanks -> thanks) (djculex)
Bugfixon close upload new images do (location.href 'editimages.php';) instead of index.php
Bugfixcss url() pointing to wrong folder (djculex)
BugfixRemoved empty <td></td>
Bugfixmoved ui-anim_basic_16x16.gif to ..images/
ChangeChanged update text when upload new images to use image and default uploaded new text (djculex)

20. February
- NEW: Finished automated message when upload images (showing linkrandom image from array) (djculex)
BugfixDiscovered jquery was 1.5.1 -> Updated to 1.7.1
BugfixJquery 1.7.1 revealed bugs in show more/less on updates (djculex)
Bugfixchanged selector name .finish to .smallworld_finish
BugfixChanged multible return falseto e.preventDefault();
Changedcssjquery for new addions
Changedclaning up code etc


Hopefully this should clear up some issues...

Also I discovered that my last prefixing in Xim was wrong... Rapidsearch is good but it's important that you check each change ...sorry about that.

Should be ok now.
Get XIM from here
Published: 2012/2/20 21:49 • Updated: 2012/2/20 22:19
Thanks for the update ..
will try it. and give feedback soon.
Published: 2012/2/21 4:07 • Updated: 2012/2/21 4:07
Just discovered an *ups* in the code from yesterday..

They file has been replace in the zip uploaded yesterday.

Smallworld 1.15 RC3

But if you dont want to download the intire zip again uncomment line 375

change root/js/smallworld.js line 375 FROM
//location.href = smallworld_url+'index.php';


TO
location.href smallworld_url+'index.php';


Also I checked xoops 2.50 works fine both in local server and live server, tested with opera, google Crome, google Canary, Firefox and IE

If you have issues It might help to
1) Send screenshoot of admin section (so I can better see wich modules is installed)
2) create a temp user account with admin permission so I can debug from there
Published: 2012/2/21 10:21 • Updated: 2012/2/21 10:25
all works fine ..
no serious issue find anymore.
only for registrattion step 2 user need to click on website form if not no next forward step.
and this just a feature request for better user experiance :
comment on photo.

and once again thank you..
Published: 2012/2/23 4:48 • Updated: 2012/2/23 4:48
i tried last release and latest from SVN and still not able to save profile. using xoops 2.5.4 and firefox browser.
Published: 2012/2/23 13:20 • Updated: 2012/2/23 13:20
Strange this issue. Try to do a download again from trunk maybe you caught me in the middle of doing changes..

- If it loops back in registration could you check to see if any data is added to smallworld_user ?

I'm thinking it could be the redirect going back to cached values
Published: 2012/2/25 11:28 • Updated: 2012/2/25 11:28
also if not helping here is a trick to check the submits

in smallworld/submit.php

enable xoops logger to display errors, do temporarely (remember to switch back when finished to debug)

FROM
$xoopsLogger->activated false;


TO
$xoopsLogger->activated true;


And in smallworld/js/smallworld.js line 375 temp. comment-out the location.href

FROM
location.href smallworld_url+'index.php';


TO

// location.href = smallworld_url+'index.php';


Then using Firebug consol (remember to click persist) When on the page with the save button..click save, and check to .../submit.php POST in the consoul window for any php errors or any other issues..

But remember to change back the smallworld.js + submit.php debug changes
Published: 2012/2/25 11:38 • Updated: 2012/2/25 11:38
Module sounds promising, though I couldn't enjoy it much
Whatever I tried ........
Path issues + not saving data ....

Then I disabled it and saw that it didn't removed the JS from site header ...
I uninstalled it and still a huge chunk of JS is in my header:
I even deleted it from server and still ..... my header is full of tears ....

Xoops don't let me paste the code here , so you'll have to believe me 
36 lines of Jquery plugins and staff ....


===========================================
I do hope after all those years for a decent social module
===========================================
(xoops XOOPS 2.5.4. + Common Utilities php 5.2.x )
Published: 2012/2/25 12:13 • Updated: 2012/2/25 12:18
Hi tzvook and thanks for testing

Quote:
Path issues + not saving data ....


Sound related to issues previously reported, I cannot replicate the not saving part both in my local and live site it's working. But I'm trying to do some adjustments hopefully this will clear up doing this..

The path issues is new though. If you could give some examples (masking the dirs if you like) but only so I can check the code for errors.

Quote:
Then I disabled it and saw that it didn't removed the JS from site header ... I uninstalled it and still a huge chunk of JS is in my header: I even deleted it from server and still ..... my header is full of tears ....


Much of the JS is presently placed in preloads. I am now testing to move out since it's not really nessesary to keep it loaded with every page...

The header should not keep JS included after uninstall.. Check to see if you have "check templates for changes" turned on in xoops admin..

If not then a clear caches should do the trick
Published: 2012/2/26 11:18 • Updated: 2012/2/26 11:18
Of course caches are Clear and "check templates for changes" is on
still in there ...
Published: 2012/2/26 16:13 • Updated: 2012/2/26 16:13
They are still being included ?? I dont get that. An uninstalled modules preloads are not supposed to be included in page headers.

This is a live server or local server ?
Published: 2012/2/26 18:03 • Updated: 2012/2/26 18:03
Great great great ! do you have any DEMO url to seeit (if it'sfine i will have to update my wholewebsite before)

thx for this module
Published: 2012/2/27 9:04 • Updated: 2012/2/27 9:04
I have it on my own site, but you'll have to register first of course ...should be working with user confirm link mail

www.culex.dk

In my version I have all features turned on..

- Googlemaps
- Selected all fields
- Verification on all fields
- Mail notification
- Take over user links (refer to smallworld instead of xoops profile)
Published: 2012/2/27 9:31 • Updated: 2012/2/27 9:31
HI thanks. i have created my account(irishcofee)but i can't use smallworld. Why ? because on the "step2" screen (at the beginning, when you complete your profile) the button "Forward" never appears.

I've tryed filling everything several times and it does not work. When i use a Gmail adress and not mine, there is no problem but with my real one (snaulet/at/karting-spirit/dot/com) it's over.

I'm on Firefox 10.0.2, PC,win 7.
Published: 2012/2/27 9:50 • Updated: 2012/2/27 9:55
Hey there... Just checked... Think it must be the - in the mail... If I removed it worked fine... I'll check the verification code so it can include also non-numeric or non-alphabetical signs

EDIT: fixed... the first part was set to accept correct but the second part after @ was wrong...nice catch
Published: 2012/2/27 10:11 • Updated: 2012/2/27 10:16
perfect
Published: 2012/2/27 10:12 • Updated: 2012/2/27 10:12
Forward is a little sticky sometimes, from my experience.
If you click inside of a field, click outside of fields, tab between, and make certain mandatory fields are completed, etc. forward seems to magically appear. :)
Published: 2012/2/27 10:13 • Updated: 2012/2/27 10:13
Yeah I know it's a bit tricky with the verification... I have tried different models but non seem to react ok with dynamicly created forms... I hope to improve in a later version
Published: 2012/2/27 10:18 • Updated: 2012/2/27 10:18
Nice ..congrats for this module

thak you to Culex for hishard work...


some suggestion

Hide or don't display any empty field that are not fill in by user in the profile page

or in the "additional info page"
Published: 2012/2/27 23:43 • Updated: 2012/2/27 23:43
Quote:
Hide or don't display any empty field that are not fill in by user in the profile page or in the "additional info page"


Yes also I noticed this, it looks pretty stupid when you get an empty colorform hehe...This will be fixed before official release
Published: 2012/2/28 5:38 • Updated: 2012/2/28 5:38
Reg: Multible includes of script

I have been testing various inclusions, but a merge of the multible scripts into one big file is difficult since the pages require different inclusions.. it looks a little violent with 20+ javascript files in the header but I am working on it
Published: 2012/2/28 5:40 • Updated: 2012/2/28 5:40
Merge all script into 1 big file not good idea i think..
cause will make page load slow and more diffucult to find bugs.
Published: 2012/3/8 0:56 • Updated: 2012/3/8 0:56
I agree but I could keep trunk with original plugins and the release with minified version. All plugins will have to load anyway but with less http requests..

For now I keep "as is" was dabbeling with the merged version and had to revert 2 days changes because I messed too much up :-S

I did notice that XIM need to be NOT shown in menu under adminisntation/modules

When turned on It conflicted with everything...I'll have to look into this later..

I am later (tomorrow friday hopefully) releasing a bugfixed new version.

Managed to fix cross-browser issue with ajax... This caused ajax objects to respond zero..hopefully this will fix the looping issue some have experienced. I still cant re-create but could be this or xim show in menu
Published: 2012/3/8 14:41 • Updated: 2012/3/8 14:41
Updated smallworld to RC 4.

download Smallworld rc 4

changes are
------------------------------
Changelog v.1.11 RC 4
------------------------------
23 February 2012
BugfixSharing on facebook is returning false.
BugfixShare text is sanitizing in wrong type
ChangeAdding special facebook metas
Changeadjusting bits and pieces

01 Marts 2012
BugfixEmails containg -._ after not accepted by validation
BugfixColorboxes containing info wich is empty showing 
BugfixValidation returning true
BugfixRankimages isset even if not existing giving error
Bugfixel not defined in ajaxuploadFixed by returning false if not defined

07 Marts 2012
BugfixCrossdomain problem in ajaxFixed by assigning var to function replaced Xoops_IRl based on request url.
Bugfixpreloads are multible loaded.
BugfixMerging a few css files into smallworld.css
BugfixCorrection language/danish/js/bookmark.js
BugfixCalculating age in profile was (-1 yearwhen month == this monthNow only if day this day
Bugfixadded some return false; or e.preventDefaultto js functions
BugfixAfter pressing 'more' avatar size in comment is wrong
ChangePreparing test for adding js css to templates via function based on request page


Also made a few changes to XIM trunk & Xim version 1.02.
download updated Xim 1.02

Also in regards with smallworld Vs Xim.. Xim must be "dont show" in menu.. This is done under xoops administration / modules
Published: 2012/3/9 10:50 • Updated: 2012/3/9 10:50
Thanks much! I'll plug them in today..

re: menu display for xim
I discovered that early on, would have mentioned it but I figured it was a known thing.
Published: 2012/3/9 12:17 • Updated: 2012/3/9 12:17
Hey

I`d like to make some changes if I may our basic userprofile has had the realname changed to asl this is so it shows up in there asl details for the java chat we have installed on smallworld the realname is auto filled in but it shows the asl rather then there realmane how can i change this section so they have a text erea to place there name also id like to if possible remove the hankypanky line from the looking for field other then that it is a great module nice work
Published: 2012/3/28 19:21 • Updated: 2012/3/28 19:21
@the_Occult

If I understand you correct, you need to fetch data from other table than xoops_user to use in registration/profile of smallworld.

To use other tables than xoops_user you'll need to change the table names in the classes using this. For instance in class/profile.php

$myName $xoopsUser->getUnameFromId($xoopsUser->getVar('uid')); // My name


the $myName is populated with username based on xoopsUser class..

Check to see if you use some other method to fetch this and you should be able to change these using your modified functions.

To remove "hanky panky"

Open include/arrays.php
and change arr03 from
$arr03 = array(_SMALLWORLD_FRIENDSHIP,_SMALLWORLD_DATING,_SMALLWORLD_ARELATIONSHIP,_SMALLWORLD_HANKYPANKY);


To
$arr03 = array(_SMALLWORLD_FRIENDSHIP,_SMALLWORLD_DATING,_SMALLWORLD_ARELATIONSHIP);


Or in language files you could change the value of this to some other... The hanky panky is just a suggestion it could be "pen pals", "chat friends" etc tec
Published: 2012/3/29 7:13 • Updated: 2012/3/29 7:13
Please see here for other test results.
Published: 2012/5/6 17:18 • Updated: 2012/5/6 17:18