xoops forums

Cesagonchu

Moderator
Posted on: 2012/5/8 17:29
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 880
Since: 2010/2/1 2
#31

Re: Social Network module

Thank you for your timeliness!
On the changelog, it says "Changelog V.1.11 RC 6", but it's "Changelog v.1.15 RC 6" isn't it? Sorry, I quibble.
I will send you the new French translation soon.

culex

Module Developer
Posted on: 2012/5/8 22:34
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#32

Re: Social Network module

Quote:

On the changelog, it says "Changelog V.1.11 RC 6", but it's "Changelog v.1.15 RC 6" isn't it? Sorry,


Quite right... I guess I'm old fachioned I'll change in svn hehe
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Cesagonchu

Moderator
Posted on: 2012/5/9 3:44
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 880
Since: 2010/2/1 2
#33

Re: Social Network module

Thank you culex

I still have found two errors.

1 - When I get an email notifying me that a new picture is sent, the word "UPLIMAGE" appears before the link:
Quote:
2 - The term Upload File appears in English:
=> smallworld\templates\smallworld_friends_template.html
Line 27:
<span>Upload File<span>

=> smallworld\templates\smallworld_index.html
Line 15:
<span>Upload File<span>

=> smallworld\templates\smallworld_userprofile_template.html
Line 27:
<span>Upload File</span>

culex

Module Developer
Posted on: 2012/5/9 15:20
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#34

Re: Social Network module

Done Also I see a few spans are not closed correctly

Quote:

I remember having this as a test, but as I know this is no longer in the code.. At least I cannot find in the last few versions I have.

UPDATE: Sorry now I see it. I had a function to send admin every time a user uploaded new images, but I removed. This is when commenting to a post in wich thread you take place
Programming is like sex:
One mistake and you have to support it for the rest of your life.

culex

Module Developer
Posted on: 2012/5/9 16:19
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#35

Re: Social Network module

New changes to trunk.

BugfixMail sending image without prefix in comments
Bugfixclosing correctly some spans
BugfixDisplay graphics with ajax avatar upload
BugfixReplace hardcoded english strings with langdefs
BugfixMissing lang definitions


Updated in svn
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Cesagonchu

Moderator
Posted on: 2012/5/11 1:41
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 880
Since: 2010/2/1 2
#36

Re: Social Network module

Thank you culex!

French translation update.

A - Bug report :

With this latest version, when I write a message, the line break does not work.
Messages are limited to too few traits.


B - Difference :

As I said in the past there are still differences in the js file :

1. smallworld\language\danish\js\jquery.ui.datepicker-language.js
Line 8
prevJumpText'<<'prevJumpStatus'',

This line is present in the Danish file, but not in the English file.

2. Then, for the calendar, I saw that the Danish side, you put Sunday as first day:

smallworld\language\danish\js\jquery.ui.datepicker-language.js
Line 19:
firstDay0,

I do not know how it goes for other countries but here in France, a week begins Monday.

If you agree and if in other countries it is the same, can you change this line 8175?

smallworld\js\jquery-ui-1.8.11.custom.js
Line 8175
firstDay0// The first day of the week, Sun = 0, Mon = 1, ...


C - Request:

Can you enlarge the window height which lists the images of the album?
I think it's here: smallworld / img_upload.php

culex

Module Developer
Posted on: 2012/5/13 16:25
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#37

Re: Social Network module

Thanks for helping out guys

Updated Trunk again here are the changes based on mails and this thread

Big error with public/private filtering... Leftover from my testing, good spotting Yuri

------------------------------
Changelog v.1.15 RC 7
------------------------------
13 May 2012 Revision 9464 9502

Bugfix: !!! Private updates showing in search results !! (thanks Yuri)
Bugfix: Private and Public messages not filtered correctly
BugfixRemoved redundant span from message ajax file
BugfixFiltering search results to include only friendly messages or public
BugfixMissing vars in jquery.ui.datepicker localization (cesag)
BugfixConverting CR to <brin comments updates (Cesag)
ChangeSet 1 (monday) as default starting day in jquery.ui.js
Changeenlarged innerWidth and height in edit_image desc js file
ChangeAdded updated french translations (Cesag)
ChangeFirst day of week fix from 0 to 1 (Cesag)


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

Cesagonchu

Moderator
Posted on: 2012/5/13 22:25
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 880
Since: 2010/2/1 2
#38

Re: Social Network module

Thank you especially for the creation of this module.
I made some corrections for French language files.

Did you find how to enlarge the window?

Quote:
C - Request:

Can you enlarge the window height which lists the images of the album?
I think it's here: smallworld / img_upload.php


You can see it when you click on smallworld/galleryshow.php

culex

Module Developer
Posted on: 2012/5/13 23:16
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#39

Re: Social Network module

Quote:

Can you enlarge the window height which lists the images of the album?
I think it's here: smallworld / img_upload.php


Ah the actual gallery layer...

I enlarged the image description popup that emerges after image uploading hehe

The actual size of the pop-up can be found in

smallworld.js line 152 - 168
// Function to make Div with id page into ui dialog
    
xoops_smallworld(document).ready(function(){
        if (
xoops_smallworld('div#page').length) { // implies *not* zero
            
xoops_smallworld('div#page').show();
            
xoops_smallworld.fn.colorbox({
                
innerWidth:"1000px",
                
inline:true
                
onCleanup:function() {
                    
xoops_smallworld('div#page').hide();
                },
                
onClosed:function() {
                    
location.href 'index.php'
                },
                
href:"div#page"
            
});
        };
    });


and css file css/galleriffic-5.css line 240 - 248
div#page {
    
width900px;
    
background-color#fff;
    
margin0 auto;
    
text-alignleft;
    
border-color#ddd;
    
border-stylenone solid solid;
    
border-widthmedium 1px 1px;
}


Try to change innerWidth:"1000px" to something else and then width in css file
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Cesagonchu

Moderator
Posted on: 2012/5/14 14:34
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 880
Since: 2010/2/1 2
#40

Re: Social Network module

Thank you for your answer
In fact I would like to increase the height, not the width.

So I will add :

innerHeight:"600px",

after
innerWidth:"1000px",


I think, and in the css file :

height500px;

after
width900px;


Let's try