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 6194 Jun 21, 2002, 1:30 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
yogi 6081 Jun 21, 2002, 1:37 PM
Thread Re: [yogi] what "pm" files are used in edit user profile?
shiner 6077 Jun 21, 2002, 1:38 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
shiner 6076 Jun 21, 2002, 1:41 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
Paul 6076 Jun 21, 2002, 1:59 PM
Thread Re: [Paul] what "pm" files are used in edit user profile?
ellipsiiis 6055 Jun 21, 2002, 2:26 PM
Post Re: [ellipsiiis] what "pm" files are used in edit user profile?
shiner 6044 Jun 21, 2002, 2:37 PM
Thread Re: [ellipsiiis] what "pm" files are used in edit user profile?
shiner 6041 Jun 24, 2002, 6:37 AM
Post Re: [shiner] what "pm" files are used in edit user profile?
shiner 6012 Jun 24, 2002, 8:23 AM
Post Re: [Paul] what "pm" files are used in edit user profile?
shiner 6055 Jun 21, 2002, 2:46 PM
Thread Re: [shiner] what "pm" files are used in edit user profile?
yogi 6098 Jun 21, 2002, 1:45 PM
Post Re: [yogi] what "pm" files are used in edit user profile?
shiner 6044 Jun 21, 2002, 1:49 PM