Custom Profile Field Mod

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

Previous topic - Next topic

moraidh

Quote from: moraidh on October 08, 2007, 03:29:08 PM
In the mod panel settings it says:

QuoteOnly allow admins to view field?

Is there a way to edit the code somewhere, so that a Global Moderator can see such a field too?

If so what do I edit and where?

Thanks in advance!

Any ideas, anyone?

Neorics

Quote from: moraidh on October 21, 2007, 01:25:08 PM
Any ideas, anyone?

yah, dont use the mod and add the field by your self to allow custom permissions for every membergoup
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

kiwipete

Firstly - Great Mod.
Can you tell me though where the data the user enters gets stored.  I looked in the smf_messages table in the database but can't see it in there.  If I want to reference this data later on in bulk across all users where do I look?

Kindred

PLEASE READ PREVIOUS MESSAGES AND/OR USE SEARCH!

This has been mentioned at least 10 times in this very thread!
the custom profile data is stored in the themes table...   there are 3 or 4 posts that detail how to get to that data in terms of code and database...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MyBlownSS

I am so new to this.. I installed it via the Package Handler system on the SMF Admin panel.. I am used to PHPBB, so now what code do I have to use in order for this to work? Because i installed it, and it said installed correctly, however I can't find where to access this program to add more lines to profiles.. :-/

Kindred

Quote from: Kindred on October 22, 2007, 08:43:08 PM
PLEASE READ PREVIOUS MESSAGES AND/OR USE SEARCH!

This has been mentioned at least 10 times in this very thread!
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MyBlownSS

I have extremely limited bandwidth limits overseas until I get home, so searching through 76 pages is near impossible...

Kindred

1 page back...

Quote from: TrueSatan on October 10, 2007, 02:49:16 PM
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

RustyBarnacle

Quote from: GWeber on September 04, 2007, 10:17:14 AM
O, I found it!
global $user_profile;
if (isset($modSettings['enable_CP1']))
{
$memID = $context['user']['id'];
loadMemberData($memID);
//print_r($user_profile);
echo "<p>Value is: <b>" . $user_profile[$memID]['options']['CP1'] . "</b><p>";
}


I am very grateful to have found this so that I can finally display something in a block, but now is there a way to edit this field, in the TP block?

RustyBarnacle

echo '<input type="text" name="', $user_profile[$memID]['options']['CP1'],'" size="10" value="', @$user_profile[$memID]['options']['CP1'], '" />';

So I'm trying something like this, tried a few variants, and its not working, in the TP block for changing the data any ideas?

Neorics

you need to set the gloabls first or it wont recognize which file you're trying to access
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

RustyBarnacle

That code I mentioned allowed me to display the data so I think the global is defined with global $user_profile;

Now I just need to find a way to change the data instead of just displaying it.

invites

Is there a way of making a field which is like the passwords fields?

With the " **** "

Thanks

zunescene

Is this supposed to work in 1.1.4 because nothing shows up in "features and options"
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

invites

Quote from: zunescene on October 28, 2007, 04:16:55 PM
Is this supposed to work in 1.1.4 because nothing shows up in "features and options"

Working for me.

I repeat my question:

Is there a way of making a field which is like the passwords fields?

With the " **** "

Thanks

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

lazman

I would like to use this mod. I am currently using SMF 1.1.4 and when I try to download it from the package manager on the administrator/package managers/download packages I get the following error.

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I see others have it working with SMF 1.1.4. I do not have any other mods installed and I am using the default theme. I would attempt to manually install this but, I have no experience in this area and the error message is suggesting that manually installing might not be the correct solution.

So, my question is how to get this installed correctly using SMF 1.1.4

Thank you
~lazman


zunescene

I installed it on a 1.1.2 forum no sweat but it wont show up for me in my 1.1.4 forum.  Both use dilbert-mc.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

lazman

I just installed and got this mod working perfectly.

How I got it to work was downloading it from here:

http://custom.simplemachines.org/mods/index.php?mod=319

Then I used the admin section to upload it and install it.

It works great!


~lazman

mariolone

Hello,

I installed this great Mod on SMF 1.1.4 and seems to work...Great!

I'd like now to be able to translate the options and text field titles created for each option for all the languages of my forum (Italian and English).

Now I can create only custom fields for one language (for example "Select your country" in English and not in Italian).

Do you know how to custom titles and options depending on language selected (in my case, in Italian too)?

Thank you vey much, this problem is crucial for me!!!

Advertisement: