News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Custom Fields On Memberlist

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

Previous topic - Next topic

Lordmiller

#40
Wondering if it just works for RC3, possible none of the changes from RC2 to RC3 affected it? (Does anyone have it installed in RC3 running fine?)

Snogmarr

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. :)

well done!

et10yl

#42
I've made the edits for RC3 and changed the mod version to 1.1 to reflect this. Hope I did this correctly and the original authors of the mod don't mind, but since the question was posed several months ago about whether this was ported/working for RC3 yet and it seemed like no one was working on it, I thought I'd give it a shot.

I've installed it on my forum (RC3) and it seems to be working fine. Here's the package.




--- edit --- unfortunately, the attachment had to be removed as it violated the license of the original released mod.

Fisch.666

Works great, thanks for your modifications!!!  :D

Fisch.666

Hey, i have another question. I'm using this code:


<a href="http://www.xfire.com/profile/{INPUT}" target="_blank" title="Xfire Accountname - {INPUT}"><img src="{DEFAULT_IMAGES_URL}/icons/xfire.ico" alt="Xfire Accountname - {INPUT}" /></a>


To show a symbol for the xfire account near the other AIM/ICQ symbols and this works without a problem. But when i use this hack it shows only the {INPUT} xfire Name of the user in the memberlist, not the symbol and the link to his profile.

How can i change this to show the code above in the memberlist?

Thanks in advance for a reply.

Baloch

Quote from: et10yl on August 31, 2010, 02:01:56 PM
I've made the edits for RC3 and changed the mod version to 1.1 to reflect this. Hope I did this correctly and the original authors of the mod don't mind, but since the question was posed several months ago about whether this was ported/working for RC3 yet and it seemed like no one was working on it, I thought I'd give it a shot.

I've installed it on my forum (RC3) and it seems to be working fine. Here's the package.

Thanks for this wonderful Module :)

theiceman

thx for this great mod and also thank you eth10yl works for RC4 without problems

it there a way to change the order in which the fields apear (including the default)?

mike s

I just saw this thread had been updated, VERY glad to see this mod updated.. thank you!!

Adi Sunardy

by any chances, does it work with RC4? I should do hard coding, and I'm not comfortable with it. Thanks
Best Regards,


Adi Sunardy
----------------------------------------------------------------------------------
Knowledge is priceless, but will be useless unless it shared...

theiceman

#49
Quote from: theiceman on November 22, 2010, 12:33:19 PM
thx for this great mod and also thank you eth10yl works for RC4 without problems

It works with RC4 and RC5

harnser

Hi.  Should this mod work with 2.0 Final/Gold?  I've just tried to apply it, but am getting various errors.  My forum was running 1.1.14 and I've just upgraded to the 2.0.  I currently have no other mods running, although I did have custom fields on 1.1.13.

Errors are as follows:

*    1.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Replace    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test successful
      4.    Replace    ./Sources/ManageSettings.php    Test failed
      5.    Replace    ./Sources/ManageSettings.php    Test failed
      6.    Replace    ./Sources/ManageSettings.php    Test successful
      7.    Replace    ./Sources/ManageSettings.php    Test successful
      8.    Replace    ./Sources/ManageSettings.php    Test failed
*    2.    Execute Modification    ./Sources/Memberlist.php    Test successful
      1.    Replace    ./Sources/Memberlist.php    Test successful
      2.    Replace    ./Sources/Memberlist.php    Test successful
      3.    Replace    ./Sources/Memberlist.php    Test successful
      4.    Replace    ./Sources/Memberlist.php    Test successful
      5.    Replace    ./Sources/Memberlist.php    Test successful
      6.    Replace    ./Sources/Memberlist.php    Test successful
      7.    Replace    ./Sources/Memberlist.php    Test successful
*    3.    Execute Modification    ./Themes/default/Admin.template.php    Test failed
      1.    Replace    ./Themes/default/Admin.template.php    Test failed
*    4.    Execute Modification    ./Themes/default/Memberlist.template.php    Test failed
      1.    Replace    ./Themes/default/Memberlist.template.php    Test failed
*    5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
   6.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
   7.    Execute Code    install.php    

Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
      Core Theme
      Execute Modification    ./Themes/core/Memberlist.template.php    Test failed
      1.    Replace    ./Themes/core/Memberlist.template.php    Test failed

I'm using the core theme.

Many thanks.

harnser

Hello again, is anyone please able to confirm whether this mod should work with the current/final version of 2.0 (see my errors above)?  Thank you very much!

Fisch.666

Hi!

This mod installed just fine on my smf 2.0 gold forums.

krishna.k

awesome mod guys. thank you...

Is there any way to disable the display of select default fields in the memberlist?

Also, how to search for members using custom profile fields?

JOSHSKORN

#54
Edit:  Previously, I had tried to install this mod on SMF 2.0 (Final) via the author's download.  I had errors.  I saw et10yl's version for SMF 2.0 RC3 (here) and gave it a shot.  It worked fine.  Thanks!

I managed to add a custom profile field with a Checkbox, thus producing a Yes/no value.  This is basically what I want:

If CustomField = Yes Then
Show Picture
Else
Don't Show Picture
End If

How would I configure my settings to do this, or what code do I have to edit?

I managed to get rid of a bunch of fields on my Members List.  Under Custom Fields, I unchecked the Active Box for AIM, ICQ, YIM, MSN, Posts, and that worked fine.  My apologies, I didn't see this before.  There are other fields I'd like to get rid of, but I assume that's for another thread.

lttung

Can't install with 2.0.2, please update
Thanks

TheListener

Quote from: lttung on June 11, 2012, 12:21:44 AM
Can't install with 2.0.2, please update
Thanks

This mod was last compatible with     2.0 RC1.2


Inti31

this mod by et10yl works fine with 2.0.2

see package-info - no need to emulate...

<install for="2.0 - 2.99.99">
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

josem

I'm really pleased with that update :D really thank you.

Now i have a doubt, is there any way to reorder (or switch) the columns (custom and no custom), or the custom ones must be the last ones?
i mean

register date, posts, ALL THE CUSTOM ONES ARE DISPLAYED HERE

can it be: ALL THE CUSTOM ONES ARE DISPLAYED HERE, register date, posts

guy123

When I try install the updated mod by et10yl I get the following error.

Table 'a6273766_df.custom_fields' doesn't exist
File: /home/a6273766/public_html/Packages/temp/install.php
Line: 16


Help would be greatly appreciated.

Advertisement: