Custom Profile Field Mod

Started by winrules, March 30, 2006, 02:21:25 PM

Previous topic - Next topic

Piwaille

Quote from: winrules on May 28, 2006, 04:56:38 PM
Yes, that was a bug in versions <2.14, upgradeing to the current version will fix it.

tx very much

I upgraded this morning so I can't tell you the result
But I can give you my translation to CustomProfile.french.php if you'r interested in ?
Piwaille
le chant du vario est motorisé par SMF 1.1.15

winrules

Sure, I'll make a multi-langual version of the mod.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Piwaille

Quote from: winrules on May 29, 2006, 11:05:32 AM
Sure, I'll make a multi-langual version of the mod.

How can I send you the file ?

I've got a problem.. I think it's because the old version did not uninstall right : on the profil screen every CP field is shown twice :
one before the online/offline button
the second just after

how can I remove this ? (searched in theme/default/profile.template.php but not founded)
which one do I have to remove ?
Piwaille
le chant du vario est motorisé par SMF 1.1.15

winrules

Quote from: piwaille on May 29, 2006, 12:20:56 PM
Quote from: winrules on May 29, 2006, 11:05:32 AM
Sure, I'll make a multi-langual version of the mod.

How can I send you the file ?

I've got a problem.. I think it's because the old version did not uninstall right : on the profil screen every CP field is shown twice :
one before the online/offline button
the second just after

how can I remove this ? (searched in theme/default/profile.template.php but not founded)
which one do I have to remove ?
Can you pm me your profile.template.php?

With the language file you can just paste the contents right here.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Piwaille

#364
here is my translation :
<?php
// Don't translate FIELDNAME in the below string.
$txt['cp_enable'] = 'activer FIELDNAME';
$txt['cp_text'] = 'Texte';
$txt['cp_textarea'] = 'Zone Texte';
$txt['cp_checkbox'] = 'Check Box';
$txt['cp_selectbox'] = 'Selection';
$txt['cp_type'] = 'Type';
$txt['cp_addfield'] = 'Ajouter un champ';
$txt['cp_name'] = 'Nom';
$txt['cp_profileshow'] = 'Afficher dans le profile ?';
$txt['cp_dontshow'] = 'Ne pas afficher';
$txt['cp_underpostcount'] = 'Afficher sous le compteur de message';
$txt['cp_underimages'] = 'afficher sous l\'image';
$txt['cp_showposts'] = 'Afficher dans les messages ?';
$txt['cp_parsebbc'] = 'traiter BBC?';
$txt['cp_before'] = 'Texte à afficher avant le champ (BBC acceptable)';
$txt['cp_after'] = 'Texte à afficher aprés le champ (BBC acceptable)';
$txt['cp_fieldid'] = 'Champ n°';
$txt['cp_hrule'] = 'ajouter une ligne horizontale avant le champ ?';
$txt['co_optinput'] = 'Saisie facultative';
$txt['cp_forceinput'] = 'Saisie forcée';
$txt['cp_showreg'] = 'Afficher le champ lors de l\'enregistrement';
$txt['cp_adminedit'] = 'Seuls les admins peuvent modifier ?';
$txt['cp_adminview'] = 'Seuls les admins peuvent voir ??';
$txt['cp_recreate'] = 'Re-créer le champ';
$txt['cp_checked'] = 'Texte à afficher lorsque coché';
$txt['cp_notchecked'] = 'Texte à afficher lorsque PAS coché';
$txt['cp_show'] = 'afficher';
// Don't translate OPTIONNUMBER in the below string
$txt['cp_option'] = 'Option OPTIONNUMBER';
$txt['cp_addoption'] = 'Ajouter une option';
$txt['cp_cpfields'] = 'Champ de profile personnalisé';
// Don't translate FIELDNUMBER in the below string
$txt['cp_fieldsettings'] = 'Réglage du champ personalisé n° FIELDNUMBER';
// Don't translate FIELDNAME in the below string
$txt['cp_regerror'] = 'Vous n\'avez pas rempli le champ "FIELDNAME" .';
$txt['cp_moveup'] = '[ vers le Haut ]';
$txt['cp_movedown'] = '[ vers le Bas ]';
$txt['cp_delete'] = '[ Effacer ]';
$txt['cp_unnamed'] = 'Champs sans nom';
$txt['cp_settings'] = '[ Réglages ]';
$txt['cp_hrsummary'] = 'Sur le résumé du Profil';
$txt['cp_hredit'] = 'Sur l\'écran de modification du profil';
$txt['cp_onboth'] = 'Sur les deux';
$txt['cp_desc'] = 'Description du champ';
?>


I've noticed that I haven't seen the 3 last messages... I'll search them


QuoteCan you pm me your profile.template.php?
no I can't... it exceed the max size allowed (65530 cars) :o
Piwaille
le chant du vario est motorisé par SMF 1.1.15

winrules

Quote from: piwaille on May 29, 2006, 01:58:30 PM
here is my translation :
<?php
// Don't translate FIELDNAME in the below string.
$txt['cp_enable'] = 'activer FIELDNAME';
$txt['cp_text'] = 'Texte';
$txt['cp_textarea'] = 'Zone Texte';
$txt['cp_checkbox'] = 'Check Box';
$txt['cp_selectbox'] = 'Selection';
$txt['cp_type'] = 'Type';
$txt['cp_addfield'] = 'Ajouter un champ';
$txt['cp_name'] = 'Nom';
$txt['cp_profileshow'] = 'Afficher dans le profile ?';
$txt['cp_dontshow'] = 'Ne pas afficher';
$txt['cp_underpostcount'] = 'Afficher sous le compteur de message';
$txt['cp_underimages'] = 'afficher sous l\'image';
$txt['cp_showposts'] = 'Afficher dans les messages ?';
$txt['cp_parsebbc'] = 'traiter BBC?';
$txt['cp_before'] = 'Texte à afficher avant le champ (BBC acceptable)';
$txt['cp_after'] = 'Texte à afficher aprés le champ (BBC acceptable)';
$txt['cp_fieldid'] = 'Champ n°';
$txt['cp_hrule'] = 'ajouter une ligne horizontale avant le champ ?';
$txt['co_optinput'] = 'Saisie facultative';
$txt['cp_forceinput'] = 'Saisie forcée';
$txt['cp_showreg'] = 'Afficher le champ lors de l\'enregistrement';
$txt['cp_adminedit'] = 'Seuls les admins peuvent modifier ?';
$txt['cp_adminview'] = 'Seuls les admins peuvent voir ??';
$txt['cp_recreate'] = 'Re-créer le champ';
$txt['cp_checked'] = 'Texte à afficher lorsque coché';
$txt['cp_notchecked'] = 'Texte à afficher lorsque PAS coché';
$txt['cp_show'] = 'afficher';
// Don't translate OPTIONNUMBER in the below string
$txt['cp_option'] = 'Option OPTIONNUMBER';
$txt['cp_addoption'] = 'Ajouter une option';
$txt['cp_cpfields'] = 'Champ de profile personnalisé';
// Don't translate FIELDNUMBER in the below string
$txt['cp_fieldsettings'] = 'Réglage du champ personalisé n° FIELDNUMBER';
// Don't translate FIELDNAME in the below string
$txt['cp_regerror'] = 'Vous n\'avez pas rempli le champ "FIELDNAME" .';
$txt['cp_moveup'] = '[ vers le Haut ]';
$txt['cp_movedown'] = '[ vers le Bas ]';
$txt['cp_delete'] = '[ Effacer ]';
$txt['cp_unnamed'] = 'Champs sans nom';
$txt['cp_settings'] = '[ Réglages ]';
$txt['cp_hrsummary'] = 'Sur le résumé du Profil';
$txt['cp_hredit'] = 'Sur l\'écran de modification du profil';
$txt['cp_onboth'] = 'Sur les deux';
$txt['cp_desc'] = 'Description du champ';
?>


I've noticed that I haven't seen the 3 last messages... I'll search them


QuoteCan you pm me your profile.template.php?
no I can't... it exceed the max size allowed (65530 cars) :o
Thanks for the translation, I will package it up in a little bit.

Can you just pm me the template_summary()  function in profile.templte.php?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Jixx

Hi!

I've got a problem which makes me perplexed.

I've installed this mod, the latest update, through the packet installer, and it installed just fine, no worry at all. But when I go to the settings and options page, nothing appears, I do not have a new tab like I have seen in screenshots.

Here's what it looks for me:
hxxp:i6.tinypic.com/11ruly0.jpg [nonactive]

I've looked up the code source of the page and a new link does appear in the source, but with no code to make it appear:


<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_first">&nbsp;</td>
<td class="maintab_active_first">&nbsp;</td>
<td valign="top" class="maintab_active_back">
<a href="http://forum.ftmvariations.org/index.php?action=featuresettings;sa=basic;sesc=06da6ba85388baafb356d9d98a8c72e3">Caract&eacute;ristiques du Forum</a>
</td>
<td class="maintab_active_last">&nbsp;</td>
<td valign="top" class="maintab_back">
<a href="http://forum.ftmvariations.org/index.php?action=featuresettings;sa=layout;sesc=06da6ba85388baafb356d9d98a8c72e3">Affichage et Options</a>
</td>
<td valign="top" class="maintab_back">
<a href="http://forum.ftmvariations.org/index.php?action=featuresettings;sa=profile;sesc=06da6ba85388baafb356d9d98a8c72e3"></a>
</td>
<td valign="top" class="maintab_back">
<a href="http://forum.ftmvariations.org/index.php?action=featuresettings;sa=karma;sesc=06da6ba85388baafb356d9d98a8c72e3">Karma</a>
</td>
<td class="maintab_last">&nbsp;</td>
</tr>


And when I copy and paste this new link in my browser, it looks like this:
hxxp:i5.tinypic.com/11ruoac.jpg [nonactive]
Basically nothing.

I've tried uninstalling all my mods, save for the RC2 update, installing the custom profile mod, then all the others, but to no avail.
Here are my installed mods:
hxxp:i6.tinypic.com/11ruop3.jpg [nonactive]

I'm running the SMF Default Theme 1.1 RC2.

Piwaille

hello

this is because it misses you the french translation....
you have to make a french files and it will appear !  8)
Piwaille
le chant du vario est motorisé par SMF 1.1.15

Jixx

Ooooh ok, thanks!
I had simply updated my language files, didn't look any further duh.

Yeah indeed if I switch the forum to english I can now see the custom profile options in the CP, sweet!

What I did for now was to switch to english to create new fields, then to go back to french.




taucher

With this mod, i´m able to define custom fields also for the registration. Is it also able to make SMF-Standard-User-Fields necassarry for registration?
Sorry for my bad english.

winrules

Quote from: taucher on June 07, 2006, 06:40:36 AM
With this mod, i´m able to define custom fields also for the registration. Is it also able to make SMF-Standard-User-Fields necassarry for registration?
Sorry for my bad english.
No, you will have to add them manually in register.template.php.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Piwaille

#371
Hello

I've got an idea for the next improvement :
It would be to replace "only admin can see" by a select with more choices (or complete with an other check box) for choosing a field being only visible by members
Piwaille
le chant du vario est motorisé par SMF 1.1.15

winrules

Quote from: piwaille on June 07, 2006, 02:52:02 PM
Hello

I've got an idea for the next improvement :
It would be to replace "only admin can see" by a select with more choices (or complete with an other check box) for choosing a field being only visible by members
That will be in next version :)


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


GJ-tje

#373
I can't find if it's added, so that's why I am asking this...

Some time I ago, I asked to add a feature for textfields where users can use the editbox, so that they don't have to know the BB code...


This is an image of what I mean...
Is this added, if not, could it be added, because I think it would make a lot easier for a lot of users!

Many thanks in advance!
"People cannot gain anything without sacrificing something of equal value.
To obtain, something of equal value must be lost.
That is alchemy's first law of Equivalent Exchange."

"People should not be afraid of their Goverments. Goverments should be afraid of their People."

winrules

Quote from: GJ-tje on June 09, 2006, 01:51:33 PM
I can't find if it's added, so that's why I am asking this...

Some time I ago, I asked to add a feature for textfields where users can use the editbox, so that they don't have to know the BB code...


This is an image of what I mean...
Is this added, if not, could it be added, because I think it would make a lot easier for a lot of users!

Many thanks in advance!
Sorry, but I just don't think many people would use that. If I get requests for it from other users I may add it, but I just don't see many people using it.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


GJ-tje

Quote from: winrules on June 09, 2006, 03:44:49 PM
Quote from: GJ-tje on June 09, 2006, 01:51:33 PM
I can't find if it's added, so that's why I am asking this...

Some time I ago, I asked to add a feature for textfields where users can use the editbox, so that they don't have to know the BB code...


This is an image of what I mean...
Is this added, if not, could it be added, because I think it would make a lot easier for a lot of users!

Many thanks in advance!
Sorry, but I just don't think many people would use that. If I get requests for it from other users I may add it, but I just don't see many people using it.

I think that many users will use it... Especially the users without much knowledge of BB code... ;)
You can't expect from users that they know any BB code as well... :)
"People cannot gain anything without sacrificing something of equal value.
To obtain, something of equal value must be lost.
That is alchemy's first law of Equivalent Exchange."

"People should not be afraid of their Goverments. Goverments should be afraid of their People."

winrules

You could put a link to the BBC help page in the description.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


GJ-tje

Quote from: winrules on June 09, 2006, 04:05:24 PM
You could put a link to the BBC help page in the description.
Yes, but I don't think that users will click on it -> users are lazy, keep that in mind... ;)
"People cannot gain anything without sacrificing something of equal value.
To obtain, something of equal value must be lost.
That is alchemy's first law of Equivalent Exchange."

"People should not be afraid of their Goverments. Goverments should be afraid of their People."

winrules

Quote from: GJ-tje on June 09, 2006, 04:09:03 PM
Quote from: winrules on June 09, 2006, 04:05:24 PM
You could put a link to the BBC help page in the description.
Yes, but I don't think that users will click on it -> users are lazy, keep that in mind... ;)
They don't even have to use BBC in the first place, so If they are lazy they wouldn't use BBC in the first place.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


GJ-tje

Quote from: winrules on June 09, 2006, 04:11:10 PM
Quote from: GJ-tje on June 09, 2006, 04:09:03 PM
Quote from: winrules on June 09, 2006, 04:05:24 PM
You could put a link to the BBC help page in the description.
Yes, but I don't think that users will click on it -> users are lazy, keep that in mind... ;)
They don't even have to use BBC in the first place, so If they are lazy they wouldn't use BBC in the first place.

Why did you made it possible to set an option to parse BB code or not? ;)
So in order to make it easier for the least advanced users or the somewhat advanced users, I think it would be great to add it... :) I also think that a lot more users will use the mod and give more positive feedback about it... ;)
"People cannot gain anything without sacrificing something of equal value.
To obtain, something of equal value must be lost.
That is alchemy's first law of Equivalent Exchange."

"People should not be afraid of their Goverments. Goverments should be afraid of their People."

Advertisement: