• Welcome to Simple Machines Community Forum. Please login or sign up.
October 22, 2021, 04:19:00 AM

News:

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


Custom Profile Field Mod

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

Previous topic - Next topic

kota069

Quote from: perplexed on March 31, 2008, 02:18:49 PM
Quote from: kota069 on March 31, 2008, 01:54:19 PM
How's come I don't get any Line Breaks or Carraige Returns in a Text Area?

It all just runs together.

Input from Edit field:
Unable to reach Gmail.....................


Result in Profile Summary:
Unable to reach Gmail.....................

try checking the 'parse bbc' box in the custom profile field and that will accept BB code so you can format like you do with posts

By Crackies, that did it.
Thanks!
I didn't realize that.

perplexed

@ kota - yeah you have to remember that, otherwise it will just give you text


Quote from: xooops on March 31, 2008, 03:12:00 PM
Hi perplexed

thanks,

I would like use this mod with english language (first).
I only see Basic Features | Layout and Options | Karma under Admin panel > features and option page

i'm wondering why I can't see the mod under "Installed Packages". is that ok?

thanks, sven



Are you sure you installed the Mod?  Did it say 'congratulations, you can now use whatever functionality...'

If so, are you sure you are using English Language not English-utf8 language?  Check in your server settings.

fgoc

I use this mod mainly for the extra fields it adds during registration. However, I've found that after registering, members are deleting the information in their profiles that they used to register because they have visibility of it.

Is there any way that only admin can view this information, not the member as well?


fgoc

Thanks for that - I'll go hide behind the rock and be dumb again ;D

Been using this mod for about 6 months and not realised it was there all the time.

Cheers

fgoc

Ah ok - doesn't quite work the way I wanted it to. Is there any way of adding another membergroup that can view and edit the customer profile fields? A code hack will be fine as long as it works ;)

perplexed

March 31, 2008, 06:33:42 PM #1906 Last Edit: March 31, 2008, 06:36:00 PM by perplexed
did you see there were two options - one for admin edit only and one for admin view only?

There is some kind of hack, I will see if I can find it again and post it here


edited:  here's the link, I haven't tried it personally

http://www.simplemachines.org/community/index.php?topic=216906.msg1384419#msg1384419

fgoc

Yes I tried both options.

Basically I have a membership admin group that I want to be able to view the CP fields as well as full admin group. WIll look at the hack and see how it goes. Many thanks

fgoc

March 31, 2008, 07:26:20 PM #1908 Last Edit: March 31, 2008, 07:38:23 PM by fgoc
the hack seems a bit OTT for what I want - don't really want to uninstall this mod as it works perfectly except for this extra I'd like.

In the sources/CustomProfile.php file, is there any way of adding another group to the following call as well as the 'is_admin' part?

if ($modSettings['CP' . $i . '_edit'] && !$context['user']['is_admin'])
{
$i++;
continue;


I'm no php coder, but something along the lines of adding && !$context['membergroup'=6] (where membergroup 6 is my membership admin group) don't really know what I'm talking about, hopefully someone will correct my stupidity ;D



On second thoughts, why when all I had ticked was "Only allow admins to edit field", weren't the CP fields visible (but not editable) to the other membergroup I have set up with permissions for "Member administration"?

fgoc

have installed the other custom profile advanced mod and this works for my needs perfectly. many thanks ;)


Rumboogy

Love this mod...just curious though...is there a way to TITLE the sections in addition to dividing them by a horizontal rule?

Thanks,

Wally

fecu2008

1.14 default

whenever I make a new field and type in the field name and hit save, it still shows up as unnamed field.  Can someone help? 

evulness

I've spent a week working on this, and its annoying the hell out of me...

since the cp data is saved in the database, i should be able to do a check for it, like you can with ['is_guest'] and ['is_admin'] stuff...
i should be able to do something like...

if(!empty $member['options']['CP1'];)
{
echo 'blahblah';
}

shouldn't i?

I have Tiny portal installed, the User control panel mod, and this one only on my forum

under normal use, they all work fine
but what i need to do is, have my guests supply a state of residence on registration
(which CPF mod is doing)
i have a series of articles, regarding information on a per state basis...

how can i get a tinyportal block to display the correct article, based on logged users ['state'].
if ['is_guest'] then load default "Welcome" article.

i would assume a check like the above, or how SMF checks if user is logged, or if their guest would work... but any combo's i've tried don't display anything... the code is right, i get no errors, but... nothing displays.

any ideas?

i need to ask my guests to supply their current State of residence.

Jumbobeef

Hello,

1.1.4

I have this mod installed (thanks!) and it works well on five of my forums.  However, one forum (after I moved it to a new host) now has an error.  You can still see information added to the extra profile fields in the forum, but you cannot access the fields (they just don't exist).

In the packages, it says:

Quote1. Custom Profile Field Mod 3.15              [ List Files ] [ Delete] 

note: there is no uninstall.

What should I do to fix this issue please? 

Thanks.

MissyNL

Hello,

i have installed  Custom Profile and it worked great. Then i installed Ultimate profile. I have inserted a code that will enable the costume profile field to work within Ultimate profile. I have also installed the mod Load Standard Language.

The only problem i have is that the tab is not displayed anymore of CP. You can see the attached file.

Does anybody know what the problem is?

Thanks!
Sorry for my poor English, but i think it's probably better then your Dutch :)

perplexed

lafemme, was the tab showing OK before you added the ultimate profile mod? 

what code did you add and to what file?

MissyNL

Yes, the tab was showing before.

And i put the code like in this post, http://jovant.guruserve.com/test-forum/index.php?topic=19.0
as you have told me to do this :D
Sorry for my poor English, but i think it's probably better then your Dutch :)

perplexed

Quote from: Lafemme on April 07, 2008, 03:50:51 PM
Yes, the tab was showing before.

And i put the code like in this post, http://jovant.guruserve.com/test-forum/index.php?topic=19.0
as you have told me to do this :D

hmmm did you do it exactly as it says in that post?  I don't see how it wouldn't be working, did you also remember to uncomment the section?

QuoteThen, uncomment whole block of code. (Find and delete /* and */ that are around this block)

Jumbobeef

Quote from: Jumbobeef on April 06, 2008, 06:37:07 AM
Hello,

1.1.4

I have this mod installed (thanks!) and it works well on five of my forums.  However, one forum (after I moved it to a new host) now has an error.  You can still see information added to the extra profile fields in the forum, but you cannot access the fields (they just don't exist).

In the packages, it says:

Quote1. Custom Profile Field Mod 3.15              [ List Files ] [ Delete] 

note: there is no uninstall.

What should I do to fix this issue please? 

Thanks.

Anyone, please?

Thanks.

Advertisement: