News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Profile Field Mod

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

Previous topic - Next topic

Kindred

the mod writes profile fields into the THEMES table.

It displays those fields based on calls from the php files.   Your error is in  the source files because you have duplicate code.
Сл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."

pcpro

#1221
If I just install the Mod and use Swedish language as default in the forum, nothing shows, but if I switch to English as default it shows in admin and  new fields for the users  :)

And adding a field using English language as default and then switch to Swedish language as default, also works to show new fields for the users.

I wrote a Swedish language file, because I wanted it all to work with Swedish.
Place it in /Themes/default/languages/


DeMar

#1222
Quote from: TrueSatan on June 11, 2007, 10:44:40 AM
Quote from: DeMar on June 11, 2007, 10:25:24 AM
I have installed this mod and nothing happens! No new features! Why?

1) Like almost all mods this one only installs into the SMF default theme...you may be using a different theme...you neglected to let us know such details.

2) The mod installs extra options into ACP>Features and Options> Perhaps you neglected to look in the right place.

1) I'm using Babylon Theme
2) Yes I'm looking to the right place
I choosed the default theme and nothing

[embed-flash(width,height)]

TrueSatan

@DeMar

Did the Package Installer show any errors on installation of this mod?

Is your forum language set to English and not English utf8? (in Server settings)

If these points don't reveal the problem then I suggest that you examine the files this mod changes to see if the changes have, indeed, been made...if not then you'll need to make them manually.

You will need to manually edit the mod into the Babylon theme in any event.

pcpro

I want to know what "Parse BBC" mean and what it does (for translation purposes).
If I enable it I can't see any difference when posting...

TrueSatan

To be honest I haven't had need of trying this but I think it's so that BBC within the code of a new tag is parsed without your having to stick only to html...no doubt if I'm wrong then somebody will pipe up to say so.

pcpro

Quote from: TrueSatan on June 12, 2007, 06:41:45 AM
To be honest I haven't had need of trying this but I think it's so that BBC within the code of a new tag is parsed without your having to stick only to html...no doubt if I'm wrong then somebody will pipe up to say so.

Well, can you put in another words so I might me able to translate it. Its only "Parse BBC" that I have to translate.

pcpro

If I install the mod on a forum thats been around for a while, only the new members gets the option to show the new fields. Can the old members add their info later ?
It does not seeme so. Can this be done manually by editing the database in PhpMyAdmin then ?

TrueSatan

#1228
Parse...meaning that it analyses and obeys instructions in what it is parsing

BBC...Bulletin Board Code...html that is reworked so as to remove the chance of it being used to attack a forum but still allowing the members to do things that would normally be done via html

Parse BBC is thus understand and use the sanitised html from BBC code.

On to your second query...I've used this mod on existing forums and had it work properly for the long term members so I can't replicate your problem...this one needs to be handled by the mod developer.

pcpro

QuoteOn to your second query...I've used this mod on existing forums and had it work properly for the long term members so I can't replicate your problem...this one needs to be handled by the mod developer.

Ahh, I found that the users themselves can go  in to profile settings and add the info for the new field(s) themselves, very nice !

pcpro

Quote from: TrueSatan on June 12, 2007, 06:52:53 AM
Parse...meaning that it analyses and obeys instructions in what it is parsing

Could I translate Parse BBD as "Allow BBC" (code) ?

Kindred

yes, that would also be accurate
Сл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."

riteshrk

hi i've smf 1.1.2 running on my server, default thing choosen. i had no problem installing this mod. my problem is when i try making a new say check box or selection box field, options for making those don't get displayed but options for text boz are displayed either. dunno wat's the problem. please help me with this.

Roxius

@Kindred

Yes, you were completely sure, sorry.
And thanks for the help.

DeMar

Quote from: TrueSatan on June 12, 2007, 06:27:52 AM
@DeMar

Did the Package Installer show any errors on installation of this mod?

Is your forum language set to English and not English utf8? (in Server settings)

If these points don't reveal the problem then I suggest that you examine the files this mod changes to see if the changes have, indeed, been made...if not then you'll need to make them manually.

You will need to manually edit the mod into the Babylon theme in any event.

Installer didn't show errors.
My language on forum isn't english its Croatian. Is this problem?

[embed-flash(width,height)]

TrueSatan

@ DeMar

Very, very, very probably...first try switching to English and see it the mod then works...this will confirm that everything bar language customisation is OK. You will then have to look at /Themes/default/languages/Modifications.english.php and see what code the mod put there and translate that to Croatian putting the translated version into Modifications.croatian.php (assuming that is the language file name you are using)...don't change the Modifications.english.php.

I haven't done any translation alterations on SMF before so I'm not well versed in it but the above should be correct.

DeMar

I'm new in this. So, please can U tell me where I can change language!

[embed-flash(width,height)]

pcpro

Quote from: DeMar on June 13, 2007, 12:44:08 AM
I'm new in this. So, please can U tell me where I can change language!

If you just install the Mod and use yor native language as default in the forum, nothing shows, but if you switch to English as default it shows in admin and new fields that you make are visible for the users :)

Adding a field using English language as default and then switch to your native language as default, also works to make the new fields visible for the users.

But its better to make a native languagefile of course.
Just duplicate the english file and rename it to your language, then edit it.
Then place your new languagefile in  /Themes/default/languages/


TrueSatan

...or DeMar may be meaning that he/she wants to know how to select a different language from the one currently set.

Admin Control Panel>Server Settings>Default Forum Language

DeMar

It's OK with english version. But our forum is in Croatian and this is a problem. With modiefing croatian english I'm not so good, and I have no idea where and how I can do this.
Anyway, thanks

[embed-flash(width,height)]

Advertisement: