xoops forums

Cesagonchu

Moderator
Posted on: 2012/4/30 1:21
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#21

Re: Social Network module

I love this module, you did a great job!

I didn't find bugs with Xoops 2.5.5.

Only 2 things :

1. Deprecated

When I go to "/modules/smallworld/admin/useradmin.php" :

'$xoopsTpl->xoops_setCaching($value)' is deprecated since XOOPS 2.5.4please use '$xoopsTpl->caching=$value;' instead.



2. Social Buttons (to review)

- google reader (obsolete)
- mixx.com (redirect to chime.in)
- netvibes
- tumblr (certificate)
- windows live (This item might not exist or is no longer available)


And one question :

What is "inspection time" for?

Mamba

Moderator
Posted on: 2012/4/30 4:21
Mamba
Mamba (Show more)
Moderator
Posts: 10818
Since: 2004/4/23
#22

Re: Social Network module

Quote:
1. Deprecated
When I go to "/modules/smallworld/admin/useradmin.php" :

Fixed in SVN

And thanks Culex for the recent update!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Anonymous

Posted on: 2012/4/30 9:48
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#23

Re: Social Network module

I tried the module on your demo site, looks very good Culex! Only problem I get is with picture popups, sometimes they popup right but on occasions the popup is empty. This seems to happen randomly...

Anonymous

Posted on: 2012/4/30 10:32
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#24

Re: Social Network module

Do you have plans to add custom made fields in profile admin? For instance when using smallworld on a company intranet it would be nice to be able to add the departments people work....

On the userside where choosing "other" in profile it would be nice to be able to fill in your own statement.

culex

Module Developer
Posted on: 2012/5/1 11:41
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#25

Re: Social Network module

Quote:

What is "inspection time" for?

Inspection time is for admin to temporarely disable viewing a users profile. Gives a little time to remove text, images what ever and still keep the profile/settings in the server. Another option for admin is to delete user

Quote:

- google reader (obsolete)
- mixx.com (redirect to chime.in)
- netvibes
- tumblr (certificate)
- windows live (This item might not exist or is no longer available)

Cool I'll be sure to delete these next round of mods

Quote:

I tried the module on your demo site, looks very good Culex! Only problem I get is with picture popups, sometimes they popup right but on occasions the popup is empty. This seems to happen randomly...

I dont have this. I'll check to see if this occurs though. Did however notice a small bug with the text telling "??? just uploaded new images" this gives the name of "You user" and not the uploading user

Quote:

Do you have plans to add custom made fields in profile admin? For instance when using smallworld on a company intranet it would be nice to be able to add the departments people work....

On the userside where choosing "other" in profile it would be nice to be able to fill in your own statement.


Not at the moment. You can however change the text names in language files. For instance replace the translation for "Other" -> "Superman"
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Dante7237

Friend of XOOPS
Posted on: 2012/5/2 2:06
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#26

Re: Social Network module

Its flawless with my 2.5.4 install. I'm lazy and haven't done the upgrade to 2.5.5 yet.
As a temp security measure I require admin approval for registration as a fix until the upgrade.

Great work.
The more I know, the more I know that I really didn't wanna know.

Cesagonchu

Moderator
Posted on: 2012/5/5 21:36
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#27

Re: Social Network module

1. Typos

smallworld/language/english/admin.php
line 39

replace
define('_AM_SMALLWORLD_TOPRATEDUSERS','Higest rated users');

with
define('_AM_SMALLWORLD_TOPRATEDUSERS','Highest rated users');



smallworld/language/english/main.php
-> line 76

replace
define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Not specifiyed");

with
define("_SMALLWORLD_REPLY_NOTSPECIFIED","Not specified");


-> line 255

replace
define('_SMALLWORLD_IMAGE_EDIT_TITLE','Edit descriptions where neded at send');

with
define('_SMALLWORLD_IMAGE_EDIT_TITLE','Edit descriptions where needed at send');


-> line 247

replace
define('_SMALLWORLD_UPLOAD_HOWTO','All images from your album is shown here, and you can use this tool to upload or delete images<br><br>Press the green upload file(s), Select your pictures and upload eighter:<br>1) One by one using the <img src="images/icon_start.PNG" style="display: inline-block;height:13px;"/> icon.<br>2) Select multible by browsing or Drag* files onto the green upload (* does currently not work in IE) and press start all<br><br>Note: If you choose other filetypes than image files the script wil break. Image size is maximum 5 MBytes<br><br>');

with
define('_SMALLWORLD_UPLOAD_HOWTO','All images from your album is shown here, and you can use this tool to upload or delete images<br><br>Press the green upload file(s), Select your pictures and upload either:<br>1) One by one using the <img src="images/icon_start.PNG" style="display: inline-block;height:13px;"/> icon.<br>2) Select multible by browsing or Drag* files onto the green upload (* does currently not work in IE) and press start all<br><br>Note: If you choose other filetypes than image files the script wil break. Image size is maximum 5 MBytes<br>');


-> line 346

replace
define("_SMALLWORLD_MAIL_COMPLAINTSUBJECT","Complaint agains user at ");

with
define("_SMALLWORLD_MAIL_COMPLAINTSUBJECT","Complaint against user at ");



smallworld/language/danish/main.php
line 76

replace
define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Ikke specificeret");

with
define("_SMALLWORLD_REPLY_NOTSPECIFIED","Ikke specificeret");


smallworld/language/russian/main.php
line 74

replace
define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Не указано");

with
define("_SMALLWORLD_REPLY_NOTSPECIFIED","Не указано");


smallworld/class/db.php
line 127

replace
return _SMALLWORLD_REPLY_NOTSPECIFIYED;

with
return _SMALLWORLD_REPLY_NOTSPECIFIED;


smallworld/language/english/modinfo.php
=> line 49

replace
define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld will use a small javascript to change links on load to point to userprofile<br>insted of userinfo.php<br><br>Default is 'no'");

with
define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld will use a small javascript to change links on load to point to userprofile<br>instead of userinfo.php<br><br>Default is 'no'");


=> line 52

replace
define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Every 10 seconds the posts of your followers are counted and a refresh button will show, <br>if result is not 0. If you choose yes to this, this button will olso react when you post/delete posts.");

with
define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Every 10 seconds the posts of your followers are counted and a refresh button will show, <br>if result is not 0. If you choose yes to this, this button will also react when you post/delete posts.");


=> line 55

replace
define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","When posts are public and you want to share on social networks. You can here descide weather to use<br>smallworld logo as shared image or 'no' = the posting users avatar.<br><br>Default is 'yes' = smallworld logo.");

with
define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","When posts are public and you want to share on social networks. You can here decide whether to use<br>smallworld logo as shared image or 'no' = the posting users avatar.<br><br>Default is 'yes' = smallworld logo.");



2. Omissions and differences

smallworld/language/danish/admin.php
line 28

Missing two lines (and their translations) :
define('_AM_SMALLWORLD_ADMINMESSAGESEND',''); 
define('_AM_SMALLWORLD_LOGSMAINTNANCE','');


smallworld\language\russian\main.php

Missing three lines (and their translations) :
define("_SMALLWORLD_RECENTACTIVITY","");
define("_SMALLWORLD_MESSAGEHISTORIC""");
define("_SMALLWORLD_NOUSER_ERROR","");



There are also some differences between the Danish and English files (in js files there are additions of definitions that are not in the English files for example).


3. French translation

I soon finished translation. After a good night's sleep and some tests, I will send you the files.


4. Errors

smallword/xoops_version.php
line 29

replace
$modversion['module_website_url'] = 'http://www.culex.dk';

with
$modversion['module_website_url'] = 'www.culex.dk';

Cesagonchu

Moderator
Posted on: 2012/5/6 21:47
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#28

Re: Social Network module

Module with French translation and some corrections here.

Cesagonchu

Moderator
Posted on: 2012/5/8 12:49
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#29

Re: Social Network module

Some words appear in English because they are not in the language file. Can you fix it?


Play Slideshow => smallworld\js\gallery_mod.js
Line 28:
playLinkText:              'Play Slideshow',


Previous Photo => smallworld\js\gallery_mod.js
Line 30:
prevLinkText:              '&lsaquo; Previous Photo',


Next Photo => smallworld\js\gallery_mod.js
Line 31:
nextLinkText:              'Next Photo &rsaquo;',


Public => smallworld\templates\smallworld_index.html
Line 72:
<label for="updatePriv">Public</label>


Private => smallworld\templates\smallworld_index.html
Line 74:
<label for="updatePriv">Private</label>


Update => smallworld\templates\smallworld_index.html
Line 79:
<input type="submit"  value=" Update "  id="smallworld_update_button"  class="smallworld_update_button"/>


MORE => smallworld\templates\getmore.html
Line 115:
<a href="javascript:void(0)" class="smallworld_msg_counter"  rel="<{$pagename}>" id="<{$post.msg_id}>">MORE</a>


Comment => smallworld\templates\smallworld_userprofile_template.html
Line 276:
<input type="submit"  value=" Comment "  id="<{$post.msg_id}>" class="smallworld_comment_button"/>


Thank you for your excellent work culex

culex

Module Developer
Posted on: 2012/5/8 17:12
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#30

Re: Social Network module

Thanks for helping out guys

I have updated trunk with bugfixes proposed in this forum + a few I found myself.

UPDATE versioning correct to 1.15 RC 5

------------------------------
Changelog v.1.15 RC 6
------------------------------
8 May 2012 Revision 9398 9463

- NEW added russian language (Thanks Yura)
- NEW 
added French language (Thanks Cesag)
BugfixReplaced hardcoded langdefines (thanks Cesag)
BugfixFixed image popups opening correct image (thanks Flipse)
Bugfixremoved expired bookmarks from jquery.bookmark.js (cesag)
BugfixTypos Missing defines (Thanks Cesag)
BugfixAdded a complete event handler to register.php disable input submit in case of error
BugfixSubmit register and edit profile is not Json
BugfixSome html malformed functions
BugfixCorrected image styling (Thx Yuri)
Bugfixremoved extra divs closing correctly span (thx Yuri)
BugfixChecking for null values in jquery.oembed.js
BugfixBreaking jquery without adding jquery.coundown.js to core.php
BugfixCorrecting how smallworld_getAvatarLink handles non-image values
BugfixMore utf-8 special entities not displayed correct
BugfixProblems with wrong username in image uploads->wall Updates
BugfixFix for deprecated >xoops_setCaching($value) (mamba)
Bugfixerror in count in admin/index.php


Download smallworld RC 6 here
Programming is like sex:
One mistake and you have to support it for the rest of your life.