這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

yPHPlista

外掛說明

yPHPlista is a new plugin I wrote because I was unsatisfied with current ones integrating phplist with wordpress. this plugin does it best, and it does it with style. both ajax (“same page”) signup and gracefully degrading JS so your users can visit their normal subscription page.

For more information visit http://social-ink.net or http://www.social-ink.net/blog/yphplista-an-ajax-wordpress-plugin-for-phplist-integration

Please note, as with every plugin or theme modification, you should do a backup of your files beforehand. Although we’ve tested this across many installs, we are not responsible for anything it does to your system and do not guarantee support.

螢幕擷圖

  • yCyclista options page.

安裝方式

  1. Upload yphplista directory to your ‘/wp-content/plugins/’ directory
  2. Activate the yPHPlista plugin through the ‘Plugins’ page in WordPress
  3. Set it up with your PHPlist settings.
  4. Add a new page or post to your wordpress and type in the [yphplista] shortcode wherever you want the signup box to appear.
  5. NEW: you can now add yPHPLista as a widget if your theme is widgetized through your backend.
  6. NEW: if you’re keen on editing your theme, use the function alone (for use with default backend options) or (eg )
  7. That’s all – yPHPlista will take care of the rest.

常見問題集

Can I choose different names, ids, subscribe pages?

Now you can: To use an alternate subscribe “page” use the shortcode with temple_id, like [yphplista template_id=3]. To use an alternate list use the shortcode with listname AND listnum, like [yphplista linstame=”secondlist” listnum=3]. To use as a function, use (eg )

What about validation/authorization/spam prevention

At the current time yPHPLista does not validate email addresses, nor does it employ any spam prevention techniques like reCAPTCHA, etc. If you need this functionality, be in touch for personalized support. note: PHPList has some built in validation (eg it won’t accept .ocm domains for example) but again that’s not part of the plugin.

It’s not working!

Wow, that’s broad. Have you correctly set up PHPList, created a list, and a subscribe page? All of these things are NOT under the purview of this plugin; basically make sure everything’s running well on that side before you attempt to use this.

I have PHPList setup but it’s still not working!

Have you created a subscribe page, and entered the correct settings in the plugin settings page? Remember, each subscribe page has an “id” (the default is 1) and we need to make sure they’re created in order to use this plugin.

Also note two major caveats: WP doesn’t allow you to use AJAX cross-server; that is, you can’t have your wp install at “http://mywp.com” and your newsletter at “http://mynews.com/newsletter” and expect it to work flawlessly. this is for security reasons. also note that if there are two instances of phplist on the same page, one MIGHT fail (not sure), so make sure to triple test multiple loops or queries. this is because phplist requires certain naming conventions for its form elements that sometimes won’t interact perfectly with jquery…

But seriously, it isn’t working, even if i get a green successful box…

That green box (success) and red box (failure) can report false results. Try disabling javascript on your browser and navigating to your page, and subscribing. Does it take you to the “subscribe” page that you set up through phplist? if so, the problem is with the plugin and i’d love if you commented in the plugin homepage. if it doesnt work, then you entered your settings incorrectly or have set up phplist incorrectly.

Can I change how things look?

Certainly. CSS is your best friend. everything is id’d and class’d

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈yPHPlista〉的開發相關工作。

參與者

將〈yPHPlista〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Added backend function

1.1

  • Added multiple list support, widgetization, and fixed some minor bugs

1.0

  • First version released.