[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
Offline
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
yes
users find the information for register and in their profiles
Administrateur find the information in profil user
Offline
ddtddt wrote:
yes
Administrateur find the information in profil user
argh, tomatoes on my eyes, i found it
Offline
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.
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
what theme you used?
Can you copy - paste exactly what you pout in css file
Offline
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
#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
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.cssCode:
#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';
--------------------------------
Offline
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';
?>
Offline
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
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
Hello,
It seems this does not work with the mobile theme or am i doing something wrong ?
Offline
Wiegerwijnia wrote:
Hello,
It seems this does not work with the mobile theme or am i doing something wrong ?
Are the other infos displayed ?
Offline
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
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?