Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

what "pm" files are used in edit user profile?

Quote Reply
what "pm" files are used in edit user profile?
I have decided to attempt the next step of the "You've got mail" plug-in. I would like users to be able to select one of 5 greetings for their e-mail alert. To achieve this, I have been editing the user_profile_basic template and added the necessary radio options. Please see the attached screen shot.

In the gforum_user table, I added the variable 'email_greet'

I now need to get the forum user_profile_basic to update that field in the table based on the user's selection...

To achieve this, I need to find the pm file that includeds the necessary code to assign values to the table. User.pm handles some of these items, but not all. Specifically, I would like to see the sections that process the user_yahoo and user_icq fields. I think those would be better suited for this need.

Once the table was being updated, your code in the category_view page would look like:

<%if current_user_new_messages%> <embed src="http://www.yoursite.com/sounds/<%email_greet%>" autostart=true hidden=true loop=false>
<%endif%>
Subject Author Views Date
Thread what "pm" files are used in edit user profile? shiner 3934 Jun 21, 2002, 1:30 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
yogi 3849 Jun 21, 2002, 1:37 PM
Thread Re: [yogi] what "pm" files are used in edit user profile?
shiner 3836 Jun 21, 2002, 1:38 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
shiner 3858 Jun 21, 2002, 1:41 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
Paul 3855 Jun 21, 2002, 1:59 PM
Thread Re: [Paul] what "pm" files are used in edit user profile?
ellipsiiis 3837 Jun 21, 2002, 2:26 PM
Post Re: [ellipsiiis] what "pm" files are used in edit user profile?
shiner 3838 Jun 21, 2002, 2:37 PM
Thread Re: [ellipsiiis] what "pm" files are used in edit user profile?
shiner 3823 Jun 24, 2002, 6:37 AM
Post Re: [shiner] what "pm" files are used in edit user profile?
shiner 3801 Jun 24, 2002, 8:23 AM
Post Re: [Paul] what "pm" files are used in edit user profile?
shiner 3848 Jun 21, 2002, 2:46 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
yogi 3861 Jun 21, 2002, 1:45 PM
Post Re: [yogi] what "pm" files are used in edit user profile?
shiner 3835 Jun 21, 2002, 1:49 PM