Announcement

#1 2011-04-22 19:31:25

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

[Plugin] Add Info Users

[extension by ddtddt] Add Info Users

A first release for testing

Adds information in the registration form

For the moment the information is not mandatory


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#2 2011-05-02 09:04:26

mol
Piwigo Team Germany
germany
2010-05-26
108

Re: [Plugin] Add Info Users

tested, it works, the registration form; BUT where can i see or edit/delete the new information?
The plugin itself shows only a tab "Presentation" with a description about.

Last edited by mol (2011-05-02 09:05:01)

Offline

 

#3 2011-05-02 12:11:13

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: [Plugin] Add Info Users

yes
users find the information for register and in their profiles

Administrateur find the information in profil user


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2011-05-02 12:40:43

mol
Piwigo Team Germany
germany
2010-05-26
108

Re: [Plugin] Add Info Users

ddtddt wrote:

yes
Administrateur find the information in profil user

argh, tomatoes on my eyes, i found it

Offline

 

#5 2011-05-29 13:06:09

progrower100
Member
2011-02-21
21

Re: [Plugin] Add Info Users

I tried your plugin which is awesome.  I was able to customize the text on the first two. I only want two extra lines of info and can't seem to get the CSS to hide the other 5.
I tried placing this in all the CSS with the local files editor but all seven still show. Any ideas on what I'm doing wrong.

Code:

hide info 3 : #addinfouser_3 {display:none}
hide info 4 : #addinfouser_4 {display:none}
hide info 5 : #addinfouser_5 {display:none}
hide info 6 : #addinfouser_6 {display:none}
hide info 7 : #addinfouser_7 {display:none}

Offline

 

#6 2011-05-29 19:30:14

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: [Plugin] Add Info Users

what theme you used?

Can you copy - paste exactly what you pout in css file


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2011-05-31 04:01:19

progrower100
Member
2011-02-21
21

Re: [Plugin] Add Info Users

I figured it out. I removed the extra description from the front.
I wasn't paying attention to the CSS. LOL

I'm using the Pure_tr_green_nature theme

I put this in the local/css/rules.css

Code:

#addinfouser_3 {display:none}
#addinfouser_4 {display:none}
#addinfouser_5 {display:none}
#addinfouser_6 {display:none}
#addinfouser_7 {display:none}

Thanks for a great site.

Last edited by progrower100 (2011-05-31 04:06:19)

Offline

 

#8 2011-05-31 13:09:51

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: [Plugin] Add Info Users

progrower100 wrote:

I figured it out. I removed the extra description from the front.
I wasn't paying attention to the CSS. LOL

I'm using the Pure_tr_green_nature theme

I put this in the local/css/rules.css

Code:

#addinfouser_3 {display:none}
#addinfouser_4 {display:none}
#addinfouser_5 {display:none}
#addinfouser_6 {display:none}
#addinfouser_7 {display:none}

Thanks for a great site.

it's ok now :-)

can you correct my English?

---
//ADMIN
$lang['addinfousers_h2'] = 'Management of additional information to users';

$lang['addinfousers_complete'] = 'Additional Information';

//onglet explication
$lang['addinfousers_explication'] = 'Presentation';
$lang['addinfousers_explication_help'] = 'This plugin allows you to add 7 information for registration and user profiles';
$lang['addinfousers_explication_update_non'] = 'Replacement of Name, First names,...,INFO6, INFO7';
$lang['addinfousers_explication_update_non_help'] = 'For this, you should add in your language file:<br>
$lang[\'addinfousers_info1\'] = \'name you want for infos1\'; <br>
$lang[\'addinfousers_info2\'] = \'name you want for infos2\'; <br>
$lang[\'addinfousers_info3\'] = \'name you want for infos3\'; <br>
$lang[\'addinfousers_info4\'] = \'name you want for infos4\'; <br>
$lang[\'addinfousers_info5\'] = \'name you want for infos5\'; <br>
$lang[\'addinfousers_info6\'] = \'name you want for infos6\'; <br>
$lang[\'addinfousers_info7\'] = \'name you want for infos7\'; <br>
';

$lang['addinfousers_explication_cache_info'] = 'Hide info for not using';
$lang['addinfousers_explication_cache_info_help'] = 'You can hide this info to add to your CSS file local:<br>
hide info 1 : #addinfouser_1 {display:none} <br>
hide info 2 : #addinfouser_2 {display:none} <br>
hide info 3 : #addinfouser_3 {display:none} <br>
hide info 4 : #addinfouser_4 {display:none} <br>
hide info 5 : #addinfouser_5 {display:none} <br>
hide info 6 : #addinfouser_6 {display:none} <br>
hide info 7 : #addinfouser_7 {display:none} <br>
';

//onglet addinfo et admin info
$lang['addinfousers_info1'] = 'Name';
$lang['addinfousers_info2'] = 'First names';
$lang['addinfousers_info3'] = 'Address';
$lang['addinfousers_info4'] = 'Country';
$lang['addinfousers_info5'] = 'INFO5';
$lang['addinfousers_info6'] = 'INFO6';
$lang['addinfousers_info7'] = 'INFO7';
--------------------------------


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#9 2011-12-02 18:38:50

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: [Plugin] Add Info Users

For add personal language in the plugin

1/ activate [extension by Piwigo Team] LocalFiles Editor from screen [Administration > Plugins > Manage]

2) open [Administration > Plugins > LocalFiles Editor > language edit local file language and paste the following code:

<?php
$lang['addinfousers_info1'] = 'name you want for infos1';
$lang['addinfousers_info2'] = 'name you want for infos2';
$lang['addinfousers_info3'] = 'name you want for infos3';
$lang['addinfousers_info4'] = 'name you want for infos4';
$lang['addinfousers_info5'] = 'name you want for infos5';
$lang['addinfousers_info6'] = 'name you want for infos6';
$lang['addinfousers_info7'] = 'name you want for infos7';
?>


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#10 2012-09-17 15:16:49

Kalle
Member
2012-08-17
89

Re: [Plugin] Add Info Users

What about the compatibility to the Plugin "UserAdvManager"?

I got an error "Duplicate entry" at the "INSERT INTO piwigo_AddInfo_users" after trying to register an user two times, but the UserAdvManager show an restriction error message.

Offline

 

#11 2013-12-19 20:50:06

raymond1965
Member
2013-09-05
83

Re: [Plugin] Add Info Users

Hi,
I added one line extra inf. 8

And when I register, it works fine. All information can be found in the admin.


BUT, when I go in the admin. to manage users and update a user and safe it, all information is gone.

Except email and user name.

Can you help me out.


Thanks Ray

please send to euroartgallery@gmail.com

Offline

 

#12 2014-04-05 12:48:05

Wiegerwijnia
Member
2014-04-04
11

Re: [Plugin] Add Info Users

Hello,

It seems this does not work with the mobile theme or am i doing something wrong ?

Offline

 

#13 2014-04-05 13:01:51

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: [Plugin] Add Info Users

Wiegerwijnia wrote:

Hello,

It seems this does not work with the mobile theme or am i doing something wrong ?

Are the other infos displayed ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#14 2014-04-06 00:44:20

Wiegerwijnia
Member
2014-04-04
11

Re: [Plugin] Add Info Users

Yes they are but only in my stripped theme, but in the default mobile theme in 2.6 they are not displayed sadly. So users registering from mobiles will not see the extra info.

Offline

 

#15 2014-06-18 18:40:49

NetMaster
Guest

Re: [Plugin] Add Info Users

ddtddt wrote:

For add personal language in the plugin

1/ activate [extension by Piwigo Team] LocalFiles Editor from screen [Administration > Plugins > Manage]

2) open [Administration > Plugins > LocalFiles Editor > language edit local file language and paste the following code:

<?php
$lang['addinfousers_info1'] = 'name you want for infos1';
$lang['addinfousers_info2'] = 'name you want for infos2';
$lang['addinfousers_info3'] = 'name you want for infos3';
$lang['addinfousers_info4'] = 'name you want for infos4';
$lang['addinfousers_info5'] = 'name you want for infos5';
$lang['addinfousers_info6'] = 'name you want for infos6';
$lang['addinfousers_info7'] = 'name you want for infos7';
?>

Am I missing something? I see that these instructions are a few years old. I am running Piwigo 2.6.3 and I don't see any "LocalFiles Editor" in the "Administration > Plugins >" tab.

Can you just tell me what file has to be edited? Or does the "LocalFiles Editor" update multiple instances?

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact