Plugin Frontend for PHPList v 2.10.4
| General Plugin info | |
|---|---|
| Author: | blvrs2 |
| Current Version: | 0.9.5 |
| Download: | NP_PHPList.zip size, 16kb |
| Code: | code |
| Demo: | - |
| Forum Thread: | NP_PHPList thread |
Note:
<?php $CONF['Self'] = 'index.php'; include('../config.php'); selectBlog('lists'); selector(); ?>
Yup, that is the same, nucleus is proposing you when you add a blog called lists.
The plugin is a replacement of the index.php / public frontend of PHPList. It uses all the data PHPList normaly is using. So to configure your frontend, just configure in PHPList a subscribtionpage, and more. In the 'edit options' of the plugin in the Nuclues admin site you can change the text that is displayed by the plugin. See the Options section for explenation.
Below is a table with an explenation of each option on the 'edit options' page of the plugin.
| Option | What it is used for |
|---|---|
| Update the plugin options on next call of this plugin. | The plugin uses this update trick to save known option values. |
| Note: Check at least the next 2 options | |
| Location path after base url http://www.yourdomain.tld/ | To build the URL's that the plugin is displaying. p.e. the `startpage` and the `unsubscribe` link |
| Full path to PHPlist location | The full path to the PHPList installation, something like /home/users/yourdomain.tld/www/lists |
| Default text to display | |
| Under construction / out of order message: | Some plugin versions don't support all the user pages of phplist. This message will be displayed when this is the case. |
| Welcome message on main page. Only used when there are 2 or more active subscribepages | |
| Text to display after checkbox for HTML-format | When on the subscribepage detail page a checkbox is defined to display. This will be the text shown next to it. |
| Text to display after checkbox for text-format | (same as above) |
| Welcome text for the unsubscribepage | |
| Text to display for unsubscribe e-mail | The label or text to display before the e-mail input field on the unsubscribe page |
| Text for the unsubscribe button | Text to display on the button from the unsubscribe page |
| Text for unsubscribe link on every page | Each NP_PHPList page has 2 links on the bottem, this is the text to display for the unsubscribe link |
| Text for startpage link on every page | same as above, but then for the startpage link |
| Warning message to display when a blacklisted user is subscribing. | |
| Goodbye message after unsubscribe, use [EMAIL] to place e-mail address | After a user unsubscribes from PHPLists, this is the message that will be displayed. USE the placeholder [EMAIL] anywhere in the message to display the users e-mail adres. |
| Thank you message on reaction of user confirmation | PHPList normaly uses the same thankyou message when a user subscribes and when a user confirms. NP_PHPList has a seperate thank you message if someone is confirming. (to edit the thankyou message after subscription, see the edit options of the subscription page in PHPList) |
| Announcement of the lists to choose from | Sentence on the subscribeform before a listing is given lists a user can subscribe to |
| Message to ask user to warn webmaster | The plugin logs errors to the Actionlog of nucleus. When that is the case, this message will be shown to the user |
| Message to warn when uid is invalid | When an invalid uid in given in the url, then this will be the message to be displayed |
| HTML message to display when confirmation failed. Use [EMAIL] to place e-mail address. | |
| Warning to display when required fields are not filled in. | Tnis message will be shown through a javascript that checks the subscribe/preference forms, when required fields are not filled in |
| Warning message when e-mail fields do not contain same address. | |
| HTML message to display when user changed it's e-mail address | |
| HTML message to show after preferences are changed. | |
| Text to display on subscribe button | |
| Text to display on button of the preference page. | |
| E-mail address of administrator to notify. | |
| Always notify admin. This overrules all notify admin options set below. | |
| Notify admin of PHPList subscribtion. | |
| Notify admin of user subscribe confirmation to PHPList. | |
| Notify admin of user profile changes in PHPList. | |
| Notify admin of user unsubscribtion of PHPList | |
| Add new list members to pre-specified list ? | Use this option to subscribe new members to a stealth list |
| Name of pre-specified list. | |
the plugin uses the PEAR::DB layer to connect to the PHPList database. PHPList and Nucleus can share the same database as long as the prefix of the tablenames are different (this is the situation with a standard installation). During development I noticed that Nucleus lost the connection to the database when PHPList is connecting to it's database. This happens when they both use their own database. The plugin detects if this is the case and will reconnect to nucleus when it ends the script and when it logs to nucleus actionlog. So anything that is called by nucleus after this plugin will work normaly.
<%if(blogsetting,bshortname,lists)%> <%PHPList()%> <%endif%>
<%if(blogsettings,bshortname,lists)%> <%if(category,catname,general)%> <%PHPList()%> <%endif%> <%if(category,catname,newsarchive)%> <%otherblog(lists,[templatename],10,newsarchive)%> <%endif%> <%endif%>