Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
Widget: PHPlist subscribe to newsletter Details »»
Widget: PHPlist subscribe to newsletter
Version: 1.00, by we_are_borg we_are_borg is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.1 Rating:
Released: 01-19-2010 Last Update: Never Installs: 11
Uses Plugins
Re-useable Code Translations Is in Beta Stage  
No support by the author.

There was some discussion about phplist intergration into vBulletin 4.x the first one was a full intergration of PHPList into vBulletin but it never made it.

This widget makes it posible to subscribe to the PHPList system without linking to it. At the moment you still transfer to the PHPList system after sign-up this is normal behavior of the system.

To make the Widget do the following:

01. Create New Widget
02. Widget Type = Static HTML
03. Title = <your own choice>
04. Description = <your own choice>
05. Save
06. Configure the new widget
07. Copy and Paste code here below
Code:
			<script language="Javascript" type="text/javascript">
var fieldstocheck = new Array();
fieldnames = new Array();
function checkform() {
for (i=0;i<fieldstocheck.length;i++) {
if (eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].value") == "") {
alert("Please enter your "+fieldnames[i]);
eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].focus()");
return false;
}
}
return true;
}
function addFieldToCheck(value,name) {
fieldstocheck[fieldstocheck.length] = value;
fieldnames[fieldnames.length] = name;
}
</script>
<form method="post" action="http://www.XXXXXXXXXXX.XXX/maillist/?p=subscribe" name="subscribeform">Email:<br>
<input type="text" name="email" value = "Email Address" size="50"><br>
<script language="Javascript" type="text/javascript">addFieldToCheck("email","Email Address");</script>
<input type="hidden" name="list[X]" value="signup" /> 
<center><input type="submit" name="subscribe" value="Subscribe" onClick="return checkform();">
</center>
</form>
08. Change the "http://www.XXXXXXXXXXX.XXX/maillist/?p=subscribe" line to what is the url and directory to your PHPList.
09. Change the "name="list[X]" line where X is is the number of the mailing list.
10. Login to your PHPList admin section
11. Go to configure
12. The following line "if there is only one visible list, should it be hidden in the page and automatically subscribe users who sign up (0/1)" must be TRUE
13. Go to subscribe pages
14. Edit "HTML Email choice" set it to Don't offer choice you can choose HTML or TEXT
15. Place the widget on the frontpage trough the Layout Manager
16. Done

Limits of this widget:

There are a few limits one big advantage is that you can only have one PHPList where you make contact to. The other is that you need to either make the choice of TEXT or HTML for the people atm they can't choose. The major drawback is that email is not verifyt by a second email adress to type in. Its only a widget but the code works everywhere that has HTML enabled.

The normal workings of the PHPList like sending a email for control is still working with this system.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kushal

Comments
  #2  
Old 01-20-2010, 05:54 PM
we_are_borg we_are_borg is offline
 
Join Date: Jul 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To Do:

1. Let people give a choice for HTML or Tekst
2. Spam prevention
3. Multiple newsletters support.
Reply With Quote
  #3  
Old 01-20-2010, 06:20 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx man

BRB
Reply With Quote
  #4  
Old 01-21-2010, 05:47 AM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting...I'm using vbgeeks' newsletter script but I'm going to look into phplist.
Reply With Quote
  #5  
Old 01-21-2010, 09:55 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this sends out emails to what's new on the forum like posts and threads? Well to those that subscribe that is?
Reply With Quote
  #6  
Old 01-21-2010, 12:34 PM
we_are_borg we_are_borg is offline
 
Join Date: Jul 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
So this sends out emails to what's new on the forum like posts and threads? Well to those that subscribe that is?
No its does not PHPList does not take topics or anything else from the forum, you need to create that all by your self. The one that AzzidReign said vBGeek that one does support what you say. But the build in and as far as i know the vBGeek one does npot support bounces and that is a must to prevent negative points in other mail systems.
Reply With Quote
  #7  
Old 09-05-2010, 11:44 PM
mathias mathias is offline
 
Join Date: Feb 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so does this only adds new users or my whole member list?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05043 seconds
  • Memory Usage 2,271KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete