vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Does anyone know where to find... (https://vborg.vbsupport.ru/showthread.php?t=35115)

Massiel 02-16-2002 08:52 AM

a php script for a newsletter? I want to add the newsletter feature to my site, but I don't know how to do it or where to find a good script, does anyone have any suggestions?

Lesane 02-16-2002 09:06 AM

1 Attachment(s)
I'm using this simple newsletter on my site @ lesane-crooks.com.

To install:

Edit letter.php and letter.html and then upload all the 3 files and point the users to the letter.html and voila.

If you are searching more advanched newsletters then you should check here.

Massiel 02-16-2002 09:29 AM

Thank you so much Lesane, that was great info! I am going to look into it and see how I go... :D

Massiel 02-16-2002 02:01 PM

I took a look at the newsletter you are using Lesane, what is the subscribers.txt for? Where do you get to type the actual newsletter? I am not familiar with how newsletters works at all... thanks in advance :)

Lesane 02-17-2002 10:34 AM

subscribers.txt is the file that holds all the subscribers, all the emails.

When you opened letter.php then by the config you had the option to enter your own password. If you filled there for example vbulletin then you can reach the field where you have 2 type the newsletter like this:

letter.php?pw=vbulletin

After that you come to a page where you can type the subject and the body of the newsletter.

Good luck ;)

Massiel 02-17-2002 01:29 PM

Lesane I was just trying it.... It is really cool, however I get the following messages after subscribing

Warning: fopen("subscribers.txt","a+") - Permission denied in /home/bigjozzy/public_html/newsletter/letter.php on line 82

Warning: Supplied argument is not a valid File-Handle resource in /home/bigjozzy/public_html/newsletter/letter.php on line 84

Warning: Supplied argument is not a valid File-Handle resource in /home/bigjozzy/public_html/newsletter/letter.php on line 85

Thank you for subscribing to the mailing list, a confirmation email is on his way! administrator@dietsupporters.com

I checked the subscribers.txt after subscribing 2 email addresses and nothing was there.... I also tried sending a newsletter and it said it sent it but I did not get anything hehe

Any ideas of what is wrong?

Lesane 02-17-2002 01:37 PM

i forgot to say that you have to chmod the file subscribers.txt to 777. :o

If you are using wsftp then you can chmod subscribers.txt by right click on the file and choose for "chmod(UNIX)" and there you select everything and click on ok.

Chmod to 777 means that you give permissions to write to the file, if u didnt do that u receive errors like u had below.

Massiel 02-17-2002 01:42 PM

Thank you Lesane!! works like a charm, thanks for your patience and kindness! :D

Lesane 02-17-2002 02:03 PM

Your welcome :D


All times are GMT. The time now is 04:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01847 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete