Extra field (phone no.) for public user
- mrocks
- OFFLINE
- Posts: 10
- Thanks: 0
- Karma: 0
15 years 10 months ago #68495
by mrocks
Extra field (phone no.) for public user was created by mrocks
How to add extra field (say phone number) for public user while sending PMS to registered user.
I think this will be important hack for sending PMS from unregistered user to registered user....
Slabby...any thoughts?
I think this will be important hack for sending PMS from unregistered user to registered user....
Slabby...any thoughts?
Please Log in or Create an account to join the conversation.
- slabbi
- OFFLINE
- Posts: 3753
- Thanks: 256
- Karma: 153
15 years 10 months ago #68501
by slabbi
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Replied by slabbi on topic Re:Extra field (phone no.) for public user
Search for "public*" fields and add your own code whenever these fields are processed. You will find these fields in quite all files.
But I do not recommend to hack the code since you cannot update to newer versions without patching the code again.
But I do not recommend to hack the code since you cannot update to newer versions without patching the code again.
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Please Log in or Create an account to join the conversation.
- mrocks
- OFFLINE
- Posts: 10
- Thanks: 0
- Karma: 0
15 years 10 months ago #68507
by mrocks
Replied by mrocks on topic Re:Extra field (phone no.) for public user
waoh....that really is not a easy hack....public is almost everywhere
May be, I can use the subject field and rename the title to phone no. and pass this value in the message body....
can u put some light on it...how do I achieve that?
May be, I can use the subject field and rename the title to phone no. and pass this value in the message body....
can u put some light on it...how do I achieve that?
Please Log in or Create an account to join the conversation.
- slabbi
- OFFLINE
- Posts: 3753
- Thanks: 256
- Karma: 153
15 years 10 months ago #68517
by slabbi
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Replied by slabbi on topic Re:Extra field (phone no.) for public user
You could add a field to the form and add the content of the REQUEST variable after submitting to the message text.
That requires one additional field in the form, a getParam line at the beginning of public.php and one line in the save message function.
Sorry, since this is a very special hack I cannot provide further support for that since I have no spare time for individual changes.
That requires one additional field in the form, a getParam line at the beginning of public.php and one line in the save message function.
Sorry, since this is a very special hack I cannot provide further support for that since I have no spare time for individual changes.
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, slabbi, krileon