This forum is for less technical discussions about the Drupal project, not for support questions.

immediate email notification of privatemsg per message - COLDFUSION

Here it is ladies and gentlemen, what you've all been waiting for: now, when your users are sent a prvitmsg they are notified by email immediately of their waiting message. Though this is a first release, this script has been tested and is running on my site right now.

I have two modules written for Drupal, in Coldfusion both live:
1) Filterable user directory
2) Notification of privatemsg

Install notes:
Call this with CFSchedule, interval= 300 or whatever you'd like
Add a field to your privatemsg db called "remind" varchar 10, set default value to 0

ver. 1.0
Drupal/Coldfusion hosting provided by: http://www.hostnexus.com/


select id
FROM privatemsg
where newmsg = 1
and remind = 0


select *
FROM privatemsg
where id = #i#


select *
FROM users
where uid = '#getmail.recipient#'



select *
FROM users
where uid = '#getmail.author#'


author error


cc = ""
bcc = ""
to = "#getyou.mail#"
from = "A New Message "
subject = "New personal message from #getauthor.name# at companyname"
username= ""
password= ""
server= "mail.domain.com">


Hi #getyou.name#

You've got a new message from #getauthor.name# on domain.com!

You have a new message: #getmail.subject#

Click here to read your message:

http://domain.com/privatemsg/view/#i#

Click here to invite a friend to join:

http://domain.com/invite/

-------------------------

We have sent you this notification to facilitate your use as a member of the domain.com service.

Copyright, 2006 domain.com. All Rights Reserved.




UPDATE privatemsg
SET remind = "1"
where id = '#i#'

update ok - #i#

Possible to pull in dynamic content via CCK?

Hi... I don't remember if I'd asked this or not... or maybe I posted it in the wrong place...
I was just wondering if it was possible to pull in dynamic content via one of the CCK custom fields.
For example, if I made a field that was a text area... would I be able to paste in some type of php code that could pull in data from a table or something like that... or like from an external text file...
Just wondering if that's possible.
Thanks.
-Jeff

userpages profile like a bio - social networking

My question is this: with the bio module, each person can post one bio and one bio only and the link is automatically included in posts. I'd like to have a userpage, not a user profile.. you know how MySpace has your account(private and standard) and then your profile(public and custom). I was thinking that the bio module already does everything.. is there a way to have the bio created by default for every account and for me to customize the bio page so that there are standard things in the page ex. user picture then let the users inject CSS?

Show a random picture and link on front page of drupal site?

Is there a way to show a random "featured" picture and link on the front page of my drupal site every time a user goes to the site?

Thanks,

-Dave

CCK vs... Webform

I started to deploy using webform but run into the issue that the forms generate very little in terms of an audit trail or workflow. Basically webform module generates an email plus a record of the form having been sent. This records is not a node, and it is incapable of having comments or views or workflows associated with it.

Re-syndicate RSS feeds?

Is there a way for me to use the aggregator module (or one of the aggregator modules) to re-syndicate RSS feeds that I put together?

That is, I would like to take 5 or 10 RSS feeds that I like, put them together into a new RSS feed (e.g. Dave's News feed") and re-syndicate that out. I would like to be able to create a couple of these.

Any suggestions on easy way to do this with the existing modules?

Thanks!

Dave

Pages

Subscribe with RSS Subscribe to RSS - General discussion