Custom Fields On Memberlist

Started by [SiNaN], November 25, 2008, 03:16:08 PM

Previous topic - Next topic

Vampy

Sorry for the double post - but would this mod work in conjunction with this mod? http://custom.simplemachines.org/mods/index.php?mod=1718

Antechinus

Read the instructions for that mod .:D

That's why I wrote them. I may work on making the two compatible but at the moment I don't have time.

Vampy

Hmm so it looks like it could work in conjunction ...... now watch me screw it all up LOL

Antechinus


Hiver101

i what tables does this mode store it's values for each members?

Jed C

could this be made so various fields can only seen by the member groups assigned to see the fields
hope that makes sense  ;)

Smoky "Rider" Blue

i think you can have it set for members, member that wrote it or admin only..  ;)

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Jed C

yes i see that but its a little limiting ie not enough options  ;)

Jed C

it would be nice if you could select which member groups could view the fields

candidosa2

when Update dont forget portugues

Quote<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Custom Fields On Memberlist translate By Candidosa2 Suporte smfpt.net
$txt['custom_edit_mod_mlist'] = 'Mostrar as membros';
$txt['custom_edit_mod_mlist_desc'] = 'Caso este campo seja exibido aos Membros.';
// Custom Fields On Memberlist
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Custom Fields On Memberlist translate By Candidosa2 Suporte smfpt.net
$txt['custom_edit_mod_mlist'] = 'Mostrar as membros';
$txt['custom_edit_mod_mlist_desc'] = 'Caso este campo seja exibido aos Membros.';
// Custom Fields On Memberlist
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Custom Fields On Memberlist translate By Candidosa2 Suporte smfpt.net
$txt['custom_edit_mod_mlist'] = 'Mostrar as membros';
$txt['custom_edit_mod_mlist_desc'] = 'Caso este campo seja exibido aos Membros.';
// Custom Fields On Memberlist
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Custom Fields On Memberlist translate By Candidosa2 Suporte smfpt.net
$txt['custom_edit_mod_mlist'] = 'Mostrar as membros';
$txt['custom_edit_mod_mlist_desc'] = 'Caso este campo seja exibido aos Membros.';
// Custom Fields On Memberlist
]]></add>
      </operation>
   </file>

grafitus

Congratulations [SiNaN]. A wonderful thing :)

aessedai03

Can someone please update this mod for 2.0RC2? Pretty please??
I am using 1.1.11 and Green Light v1 theme.
http://custom.simplemachines.org/themes/index.php?lemma=1182

shumilica

Ok. I've modified this mod so that it will work with SMF RC2.0

Make sure you didn't have it installed before the update to SMF RC2. If you had it installed then extract the package, open with notepad

package-info.xml  and delete this line:
<code type="file">install.php</code>

After that repackage, delete from the server the former zip, upload this one and it should work.

I'm not quite good on the new syntax SMF uses in the new 2.0, so when you are in the admin area/custom fields/modify a custom field, the 'show on memberlist' option will be out of the line a bit, but that's not a problem, you only set this up once, and the members are not affected with anything. Just your eyes of an admin.

Besides this admin-only visual bug, the mod works VERY WELL!
Today, if you're not confused it means you're not thinking clear!

mrtrc266

Hiya Sinan when you get a sec could you update this for RC2 please?

I just used the one from shumilica, it seemed to work but I got a database error. Even though it looks like it's installed it still says "Install" in the package manager.

Thank you in advance

WNCCmod

Anyone have a version that works with 1.1.11 for us retros still stuck in the past?  I get an error from Pkg Mgr that this is incompatible with my version (or is corrupt which I don't think is the case.)

Thanks

willerby

Looks like shumilica's RC2 version fails to add the table to the database and assumes it is already there...

rafalek

Quote from: shumilica on December 07, 2009, 11:40:16 AM
Ok. I've modified this mod so that it will work with SMF RC2.0

Make sure you didn't have it installed before the update to SMF RC2. If you had it installed then extract the package, open with notepad

package-info.xml  and delete this line:
<code type="file">install.php</code>

After that repackage, delete from the server the former zip, upload this one and it should work.

I'm not quite good on the new syntax SMF uses in the new 2.0, so when you are in the admin area/custom fields/modify a custom field, the 'show on memberlist' option will be out of the line a bit, but that's not a problem, you only set this up once, and the members are not affected with anything. Just your eyes of an admin.

Besides this admin-only visual bug, the mod works VERY WELL!

Hello,

Did anyone of you managed to make it work with 2.0 rc2 it shows error in my forum.

Thx for any feedback on this. Kind regards!

khamseen

Quote from: mrtrc266 on December 13, 2009, 02:42:45 AM
I just used the one from shumilica, it seemed to work but I got a database error. Even though it looks like it's installed it still says "Install" in the package manager.

Quote from: willerby on January 11, 2010, 06:26:39 AM
Looks like shumilica's RC2 version fails to add the table to the database and assumes it is already there...

The table is there since SMF 2.0 RC2 has the table, but it's not called "custom_fields" it is named by whatever you set to DB Prefix to be for instance on my forums it's called "smf_custom_fields". If you open the Install.php from the zip and edit the two instances of "custom_fields" to "DBPrefix_custom_fields" replacing DBPrefix with your specific prefix then upload and install it works. :)
"In hope we find despair and in despair we find truth." - Myself

rafalek

Quote from: khamseen on February 16, 2010, 10:38:29 AM
Quote from: mrtrc266 on December 13, 2009, 02:42:45 AM
I just used the one from shumilica, it seemed to work but I got a database error. Even though it looks like it's installed it still says "Install" in the package manager.

Quote from: willerby on January 11, 2010, 06:26:39 AM
Looks like shumilica's RC2 version fails to add the table to the database and assumes it is already there...

The table is there since SMF 2.0 RC2 has the table, but it's not called "custom_fields" it is named by whatever you set to DB Prefix to be for instance on my forums it's called "smf_custom_fields". If you open the Install.php from the zip and edit the two instances of "custom_fields" to "DBPrefix_custom_fields" replacing DBPrefix with your specific prefix then upload and install it works. :)

Hello,

Thank you very much, it works indeed :)

Hugs!

Vincent Volmer

Hello,

Is this mod updated to SMF2.0RC3?

Thanks,
Vincent

Advertisement: