Custom Profile Field Mod

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

Previous topic - Next topic

el

They show up in each user profile summary and in pm (personal messages) posts.

winrules

Quote from: elnismo on April 30, 2006, 03:44:05 PM
They show up in each user profile summary and in pm (personal messages) posts.
are they set to show in the posts and have you added the code?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


el

of course! both actions already taken.

Archy

#263
hi .. i have used this mod with a text field and it works great..
but i found when i added another field..  a selection field .. that can only be edited by admin.. and not shown on the register screen.. that a new user cannot register because they havent filled in the selection field.

in other words the field is being treated as forced even though it isnt being displayed on the new user rego screen and is set to admin edit only.
has this happened to anyone else?

here are the settings..  using version 2.14 of the custom profile mod.

field type: selection box

Show in profile?  y
Show in posts?   y
Parse BBC?   y
Field ID   cp2
Add a horizontal rule before field in profile? n 
Show field on registration?  Don't Show   
Only allow admins to edit field?   y
Only allow admins to view field?   n


EDIT:  found errors in SMF error log.

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 306

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 306


etc...
Using SMF 1.1 Rc 2 inside MK Portal M1.1 Rc 1
and lovin it !

winrules

Quote from: elnismo on April 30, 2006, 03:54:14 PM
of course! both actions already taken.
you added in the code wrong then.



Quote from: Archy on May 01, 2006, 06:36:26 AM
hi .. i have used this mod with a text field and it works great..
but i found when i added another field..  a selection field .. that can only be edited by admin.. and not shown on the register screen.. that a new user cannot register because they havent filled in the selection field.

in other words the field is being treated as forced even though it isnt being displayed on the new user rego screen and is set to admin edit only.
has this happened to anyone else?

here are the settings..  using version 2.14 of the custom profile mod.

field type: selection box

Show in profile?  y
Show in posts?   y
Parse BBC?   y
Field ID   cp2
Add a horizontal rule before field in profile? n 
Show field on registration?  Don't Show   
Only allow admins to edit field?   y
Only allow admins to view field?   n


EDIT:  found errors in SMF error log.

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 306

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 306


etc...
can I have a link to your site?
also with the errors when do they happen?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Archy

Quote from: winrules on May 01, 2006, 03:50:43 PM
Quote from: elnismo on April 30, 2006, 03:54:14 PM
of course! both actions already taken.
you added in the code wrong then.



Quote from: Archy on May 01, 2006, 06:36:26 AM
hi .. i have used this mod with a text field and it works great..
but i found when i added another field..  a selection field .. that can only be edited by admin.. and not shown on the register screen.. that a new user cannot register because they havent filled in the selection field.

in other words the field is being treated as forced even though it isnt being displayed on the new user rego screen and is set to admin edit only.
has this happened to anyone else?

here are the settings..  using version 2.14 of the custom profile mod.

field type: selection box

Show in profile?  y
Show in posts?   y
Parse BBC?   y
Field ID   cp2
Add a horizontal rule before field in profile? n 
Show field on registration?  Don't Show   
Only allow admins to edit field?   y
Only allow admins to view field?   n


EDIT:  found errors in SMF error log.

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 306

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 306


etc...
can I have a link to your site?
also with the errors when do they happen?

yes sure..  the link is hxxp:gwz.no-ip.org [nonactive]

Im new at this.. and keeping an eye on the error logs is a lesson i have just learnt.
so i dont know what i was doing when they happened.
The board went for 5 or 6 days with nobody being able to register before i realised.
I have turned the offending field into a text field which has made it work properly..
of course this doesnt solve the problem of having a selection box field.

i installed the mod automatically using the package installer..  it installed clean to my knowledge.. there were no visible errors.

i look forward to your response :)
Using SMF 1.1 Rc 2 inside MK Portal M1.1 Rc 1
and lovin it !

winrules

Quote from: Archy on May 02, 2006, 12:52:18 AM
Quote from: winrules on May 01, 2006, 03:50:43 PM
Quote from: elnismo on April 30, 2006, 03:54:14 PM
of course! both actions already taken.
you added in the code wrong then.



Quote from: Archy on May 01, 2006, 06:36:26 AM
hi .. i have used this mod with a text field and it works great..
but i found when i added another field..  a selection field .. that can only be edited by admin.. and not shown on the register screen.. that a new user cannot register because they havent filled in the selection field.

in other words the field is being treated as forced even though it isnt being displayed on the new user rego screen and is set to admin edit only.
has this happened to anyone else?

here are the settings..  using version 2.14 of the custom profile mod.

field type: selection box

Show in profile?  y
Show in posts?   y
Parse BBC?   y
Field ID   cp2
Add a horizontal rule before field in profile? n 
Show field on registration?  Don't Show   
Only allow admins to edit field?   y
Only allow admins to view field?   n


EDIT:  found errors in SMF error log.

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 306

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 324

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP_type
file: c:\......\ModSettings.php
Line: 342

8: Undefined index: CP
file: c:\......\ModSettings.php
Line: 306


etc...
can I have a link to your site?
also with the errors when do they happen?

yes sure..  the link is http://gwz.no-ip.org

Im new at this.. and keeping an eye on the error logs is a lesson i have just learnt.
so i dont know what i was doing when they happened.
The board went for 5 or 6 days with nobody being able to register before i realised.
I have turned the offending field into a text field which has made it work properly..
of course this doesnt solve the problem of having a selection box field.

i installed the mod automatically using the package installer..  it installed clean to my knowledge.. there were no visible errors.

i look forward to your response :)
can you try recreating the field?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

#267
Is there a way to have BBC parsed without ending it. What I want to do is have something that does this.

Format before code = The post formatting (Similar to a signature but before the text and the formatting stays)
Format after code = The end formatting (similar to a signature but I still want signatures)

So it shows something like

Format before code = [b][i]Morrigan Speaks...
Format after code =...she said trailing off into the night[/i][/b]

And then the post shows:

Quote
Morrigan Speaks...

This would be my immense message that said things...

...she said trailing off into the night



I forgot to mention I can get it to show in the correct places. Would I have to disable BBC and require that they use HTML?

winrules

Quote from: Captain_Morrigan on May 02, 2006, 05:06:57 PM
Is there a way to have BBC parsed without ending it. What I want to do is have something that does this.

Format before code = The post formatting (Similar to a signature but before the text and the formatting stays)
Format after code = The end formatting (similar to a signature but I still want signatures)

So it shows something like

Format before code = [b][i]Morrigan Speaks...
Format after code =...she said trailing off into the night[/i][/b]

And then the post shows:

Quote
Morrigan Speaks...

This would be my immense message that said things...

...she said trailing off into the night


doesn't it allow that by default?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

#269
No it shows:
Quote
Morrigan Speaks...
My immense long post.
The end of the post.

Also when you use HTML it just shows it as plain text and I don't know how to fix that.

winrules

Quote from: Captain_Morrigan on May 02, 2006, 05:18:21 PM
No it shows:
Quote
Morrigan Speaks...
My immense long post.
The end of the post.
Well you could use HTML.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

I modified my post as I forgot to put that information in. HTML shows as plain text. I was having the same problem when trying to create my own custom profile without the mod but it happens the same with the mod. /cry
It's ok if you can't help I'm just trying to find a simple way to do a format post thing without having to create an all new mod as I would not know where to start with this one.

winrules

Quote from: Captain_Morrigan on May 02, 2006, 05:36:33 PM
I modified my post as I forgot to put that information in. HTML shows as plain text. I was having the same problem when trying to create my own custom profile without the mod but it happens the same with the mod. /cry
It's ok if you can't help I'm just trying to find a simple way to do a format post thing without having to create an all new mod as I would not know where to start with this one.
can you try disabling parse bcc, and then just putting HTML in the before and after fields?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

That just leaves it all in plain text.

Where is it that the message pulls from to format it?

winrules

Quote from: Captain_Morrigan on May 02, 2006, 05:47:08 PM
That just leaves it all in plain text.

Where is it that the message pulls from to format it?
did you disable parse bbc?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

I've even enabled HTML in the forum settings.

It's like there is something that does not allow HTML in that column.

winrules

Quote from: Captain_Morrigan on May 02, 2006, 06:08:06 PM
I've even enabled HTML in the forum settings.

It's like there is something that does not allow HTML in that column.
no, in the custom field settings, did you disable "Parse BBC?"?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Captain_Morrigan

Yes, I even tried enabling basic HTML to see if that was the problem.

This is what it looks like with disabled parseBBC
http://test.enchantinge.com/index.php?topic=2.0

timkenmaster

You know what I would love to see added to this mod? That would be the feilds have an option to be searchable through the member list.  If it is possible can someone please direct me as to where to start off with this little project I would like to do.

winrules

Quote from: Captain_Morrigan on May 02, 2006, 06:17:11 PM
Yes, I even tried enabling basic HTML to see if that was the problem.

This is what it looks like with disabled parseBBC
http://test.enchantinge.com/index.php?topic=2.0
I'm conffussed. Are you jusing 2 different fields?


Quote from: timkenmaster on May 02, 2006, 06:44:26 PM
You know what I would love to see added to this mod? That would be the feilds have an option to be searchable through the member list.  If it is possible can someone please direct me as to where to start off with this little project I would like to do.
I've been trying to do this, but there are still some problems wiht it.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Advertisement: