Results 1 to 4 of 4

Thread: Automated Welcome Message in member's inbox.

  1. #1
    bigal0228's Avatar
    Join Date
    Sep 2007
    Posts
    409
    Blog Entries
    1

    Default Automated Welcome Message in member's inbox.

    I'd like to create a nice "Welcome to our site" welcome message that ONLY goes to a member's inbox. This way, when a new member first logs in, they will have a message waiting with the welcome and some basic site info, upload a photo reminder, and assorted tips and hints for the site. I've looked around a bit but cannot find any way to do just THIS. Anyone know of any mods or done this themsleves?
    If at first you don't succeed, go to a forum and ask like hell. (Using Joomla 1.5.18, JomSocial 1.6.12, Fully Customized)
    <div>

<a href="http://www.fancamtastic.com/?idAff=5"><img src="http://www.fancamtastic.com/media/images/banners/Banner6.gif" width="445" height="49" border="0"></a><br />
<a href="http://www.fancamtastic.com/?idAff=5"></a>

</div>

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I would say something like this in the join form:

    Code:
    $result = db_res( "INSERT INTO `Messages` ( `Date`, `Sender`, `Recipient`, `Text`, `Subject`, `New` ) VALUES ( NOW(), {$member['ID']}, {$recipient['ID']}, '$message_text', '$message_subject', '1' )" );
    with $message_text and $message_subject coming from a GlParam, Sender being an admin type user, and Recipient being the person who just joined - would be not difficult to do.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3
    bigal0228's Avatar
    Join Date
    Sep 2007
    Posts
    409
    Blog Entries
    1

    Default Partial success!

    Okay, using the code you mentioned, I've been able to set up the Join Form with it, and added the strings to the GlParams table. At this point, I've elliminated any database query errors that were getting returned. So now, I get a successful join, the messages table is being updated, but with empty fields, the from and to are both 0, and I get several repetitions of this. I can manually change the sender to one of the admin IDs but the recipient ID is the problem. As well, the message is empty, so I'm guessing the message needs to be in a language key that is referenced by the GlParams? Anywho, thanks for the info Smoge, it's gotten me started in the right direction. I've seen several similar posts over on Expertzz asking for this same feature, so I want to try to get it worked out for myself and possibly as a freebie. I would have thought that for a dating community site, this would have been something that they would have offered anyway, you want to make your new members feel warm and fuzzy, and give em some info about your site.
    If at first you don't succeed, go to a forum and ask like hell. (Using Joomla 1.5.18, JomSocial 1.6.12, Fully Customized)
    <div>

<a href="http://www.fancamtastic.com/?idAff=5"><img src="http://www.fancamtastic.com/media/images/banners/Banner6.gif" width="445" height="49" border="0"></a><br />
<a href="http://www.fancamtastic.com/?idAff=5"></a>

</div>

  4. #4
    i2server's Avatar
    Join Date
    Aug 2010
    Posts
    21

    Default

    Quote Originally Posted by Smoge View Post
    I would say something like this in the join form:

    Code:
    $result = db_res( "INSERT INTO `Messages` ( `Date`, `Sender`, `Recipient`, `Text`, `Subject`, `New` ) VALUES ( NOW(), {$member['ID']}, {$recipient['ID']}, '$message_text', '$message_subject', '1' )" );
    with $message_text and $message_subject coming from a GlParam, Sender being an admin type user, and Recipient being the person who just joined - would be not difficult to do.

    Smoge
    how ican insert this code?
    and wher?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to attach file (photo) in dolphin inbox message
    By midori in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 04-22-2009, 10:44 PM
  2. We are glad to inform you that a member has sent you a message
    By Smoge in forum Bugs Dolphin 6.03 CLEAN
    Replies: 2
    Last Post: 12-21-2007, 09:52 AM
  3. Inbox, Outbox, New Message in Custom Menu
    By mwep in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 6
    Last Post: 04-02-2007, 10:15 PM
  4. Welcome New Member Message
    By Tee in forum Wishlist
    Replies: 1
    Last Post: 10-15-2005, 12:21 AM
  5. new message gif in the inbox
    By mike12345 in forum Wishlist
    Replies: 0
    Last Post: 05-30-2005, 06:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •