Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0

    Smile Send Announcement Module v0.2

    Send Announcement v0.2
    Credit goes to Vinoth for creaing it and Kbeeveer46 for making a module of it; am posting on behalf of them. Original thread having detailed discussion located in General help is at http://www.pligg.com/forum/showthread.php?t=4337

    Changes:
    1] New version of Send Announcement to use $db global - so no more opening and editing files for DB values.

    2] Also the empty subject and message were displaying a {#Pligg_...#} messages- fo now we have hard-coded to use English text strings.

    New version available from http://www.pligg.com/forum/attachmen...1&d=1172063361

    Note to Kbeeveer46 - please review it and integrate with trunk version in the SVN.
    Attached Files Attached Files

  2. #2
    Constant Pligger savant's Avatar
    Joined
    Apr 2006
    Posts
    1,181
    Thanks
    Received:0
    Given: 0
    hi

    this module is only to be used by the admin right?

    Currently there is no method checking the user level of the current user.

    force_authentication();
    $canIhaveAccess = 0;
    $canIhaveAccess = $canIhaveAccess + checklevel('god');
    you can add this at the top of sendannouncement_showpage()

    if $canihaveaccess != 1 then the user is not god, so display a sendannouncement_error.tpl

  3. #3
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0
    hi savant,

    Thanks for noting it m8, I will try to add this too, that it doesnot gets into wrong hands other than god and come up with a better release tomorrow. Did you find any other problems? Should you - please do report in here that we can try to fix it.

    Thanks for the code too.

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    version 2 has been commited to the SVN and savant's authentication code was also added.

  5. #5
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0
    Wow and thanks.

  6. #6
    Constant Pligger/Coder nzbullet's Avatar
    Joined
    Jun 2007
    Posts
    115
    Thanks
    Received:0
    Given: 0
    Can you put html into the "message" field, so that the e-mail that gets sent will have your site logo, background, styles etc??

  7. #7
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Thanks
    Received:0
    Given: 0
    Sure you can - feel free to play with it - I have had success sending html e-mails.

  8. #8
    Constant Pligger/Coder nzbullet's Avatar
    Joined
    Jun 2007
    Posts
    115
    Thanks
    Received:0
    Given: 0

    HTML in email

    Quote Originally Posted by dollars5 View Post
    Sure you can - feel free to play with it - I have had success sending html e-mails.
    Hi dollars,

    Did you have to edit anything to get it to send html. I have just tried and I just get the the source and not the images. This is what the received email looks like:

    <img src ="http://www.linka.co.nz/files/linkaemail.png">

    Hey everyone,

    Have you been to <a href="http://www.linka.co.nz">Linka</a> lately? We have had a complete makeover!

    With new features such as the Video Category and the Video Walls and a great new look we are sure you will love it.

    Come and have a look.

  9. #9
    Pligg Developer/Coder/Designer ChuckRoast's Avatar
    Joined
    Dec 2005
    Location
    Pliggville USA
    Posts
    9,118
    Thanks
    Received:396
    Given: 73
    Version
    SVN Build
    Site
    http://Pligg.com/chuckroast
    hi linka

    Most email software now has images off by default. Google and Yahoo and both prime examples. So even if you do get it to send out the image, it's the email client on the other end that will still cause headaches. I would recommend sticking to text only.
    Help Keep ChuckRoast Home
    Today's Pligg Blog Post


  10. #10
    Constant Pligger/Coder nzbullet's Avatar
    Joined
    Jun 2007
    Posts
    115
    Thanks
    Received:0
    Given: 0
    Thanks Chuckroast,

    What about hyperlinks though? it wouldn't even accept those?

Page 1 of 3 123 LastLast

Similar Threads

  1. Send Announcement and Revenue sharing module does not work
    By afidegnum in forum Questions & Comments
    Replies: 0
    Last Post: 05-08-2011, 02:49 AM
  2. Send Announcement Module v0.2
    By kosta in forum Questions & Comments
    Replies: 0
    Last Post: 10-11-2010, 02:54 AM
  3. Limiting the number of emails in send announcement module
    By Thana in forum Questions & Comments
    Replies: 1
    Last Post: 08-18-2009, 09:24 AM
  4. Spam in Sending email using Send Announcement Module v0.2
    By Thana in forum Questions & Comments
    Replies: 1
    Last Post: 01-02-2009, 05:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg