![]() |
newsletter / mailing list system
This hack allows user to opt-in to mailing lists which you, or a marketing colleague (with appropiate permissions) can create and send mail to. It uses code from the email.php script in the admin section but adds the flexibility of multiple mailing lists which users can opt-in and opt-out of.
Changes made: 1) New directory (called newsletter:) which can be accessed by poduct managers etc so non-admins can use the functionality 2) Changes to usergroup.php in the admin section allow you to assign newsletter priveleges to a user group from the admin CP 3) Changes to user options allow members to subscribe or unsubscribe to various mailing lists. All necessary code and a fairly involved readme are included as attachments. You'll need direct access to your DB for this one, as you'll be setting up a couple of new tables. I hope you find this helpful, and please don't hesitate to contact me via email (PM may take a while as I'm not here that regularly) if I can help at all. I'll do my best to offer support for the hack as quickly as possible. Cheers, Alex PS .zip file is posted further down in the thread [EDIT] If a user has permission to "cansendALLnewsletters" they will also need the lower permission of "cansendnewsletter". This is not given automatically. I suppose its a bug, but its no big deal.. [/EDIT] [EDIT] Instead of uploading the new full version of usergroup.php as instructed in the readme, follow the instructions in the usergroup_changes.txt file to alter this file. With the long SQL queries, make sure that no variable names span a line break - this will cause a DB error. [/edit] |
some piccies to prove it works :bunny:
|
.
|
Please remove usergroup.php from the zip file and instead provide instructions to hack it. :) (it's against the rules to post full files of vB)
|
Nice Hack Man! Nice idea! Will install right now!
|
You will also need to remove adminfunctions.php, functions.php and global.php from the sub-zip file. Sorry.
|
sorted. That readme's getting a bit lardy though (:
PS Chen - interesting one here - I had to repost the attachment in a different post, because when I re-posted it on the top post, it reverted to the older version. Try it - doesn't matter if you rename, it still gives the older version (even if you delete the file first then re-edit & re-attach) vB bug? |
Not a vB bug, you have to a) select 'use new attachment' and/or b) refresh your cache (with .jpg sometimes)
|
I selected "use new attachment" but the old one still appeared..
it could be our proxy cache at work though - I'll run some tests at home on localhost next week to see if I can recreate it. |
I have seen many threads where people ignore this rule and still posts PHP files from Vbulletin. Maybe you guys need another mod, like *cough* me *cough*
j/k, hahahahhahaha.....hah....^_^' |
All times are GMT. The time now is 03:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|