Plugin Installation

  1. Copy the entire /subscribe2/ directory into your /wp-content/plugins/ directory.
  2. Activate the plugin.
  3. Click the “Settings” admin menu link, and select “Subscribe2”.
  4. Configure the options to taste, including the email template and any categories which should be excluded from notification
  5. Click the “Tools” admin menu link, and select “Subscribers”.
  6. Manually subscribe people as you see fit.
  7. Create a [WordPress Page](http://codex.wordpress.org/Pages) to display the subscription form. When creating the page, you may click the “S2” button on the QuickBar to automatically insert the subscribe2 token. Or, if you prefer, you may manually insert the subscribe2 token:
    <!--subscribe2-->
    ***Ensure the token is on a line by itself and that it has a blank line above and below.***
    This token will automatically be replaced by dynamic subscription information and will display all forms and messages as necessary.
  8. In the WordPress "Settings" area for Subscribe2 select the page name in the "Appearance" section that of the WordPress page created in step 7.

Updated: 25 March 2010

228 thoughts on “Plugin Installation

  1. Hi! Would love some documentation or some idea of how upgrading works. Using S2 2.1.5 on WP 1.5.3, upgraded WP to 2.0.3 (doing a test run). Oddly, contrary to what I’ve read, the plugin still works, but would like to consider upgrading to the most recent version.
    (Searching the WP forums for “upgrade subscribe” only gives me a listing of plugins that work with WP2.0…)

    thnx!

  2. Boris,
    The Latest version of the plugin (2.2.x) all contain an upgrade function that automatically upgrades many aspects of the plugin functionality.

    To ensure a successful upgrade you should deactivated the current version, delete it via FTP, upload the new verion and then activate the newly uploaded plugin.

  3. Hi wud luv to know if its possible to customise emails that are generated to confirm Subscription and Unsubscription. I tried changing text of in subscribe2.php function reset() … just capitalised for to FOR …

    update_option(‘s2_confirm_email’, “In order to confirm your request FOR BLOGNAME, …

    and added

    if (‘add’ == $what) {
    $body = str_replace(“FOR”, “to receive emails for new articles posted on”, $body);
    } elseif (‘del’ == $what) {
    $body = str_replace(“FOR”, “to unsubscribe from receiving emails from”, $body);
    }
    after following lines
    $body = $this->substitute(get_option(‘s2_confirm_email’));
    $body = str_replace(“LINK”, $link, $body);

    but nothing happnd.
    pls help … thnx & regrds

  4. Nims,
    All three email templates can be amended from the Admin area of your blog under Options -> Subscribe2.

    You’ll see templates for New Post, (Un)Subscribe and Reminder Emails.

  5. I am sorry to bother. After searching for quite a while (maybe did’nt know, what exactly to look for), I still couldn’t find out (even after some trial&error) where to put the localization files.
    Can you give me a hint?🙂

  6. I see. Okay, this is, what I tried first, beacause it made sense, but I did not realise it is the correct way, because it did not work correctly:
    Some phrases in the subscription-options in the admin-panel and the per-user-profiles are translated, but the majority isn’t. The widget (whis is very practical) stays completely unchanged – and that is why I thougt, I missed the correct method.
    Now I guess, the German localization is simply out-of-date …

  7. The translations are all out of date – sorry about that.

    Still waiting for Matt (from WordPress) to grant me access to the dev.wp-plugins.org site so I can start updating the files😦

    I have French and Italian translations ready to go – anyone want to update the other files or provide new ones?

    Contact me and I’ll let you know where to email them – cheers!

  8. I think I found an error. subscribe2.php:1608, the preg_replace call strips the tags. But the placeholder always wants to be inside a tag. The two things together mean that the PHP, when rendered, creates mark-up like this:
    please subscribe to our list
    blah blah subscribe2 stuff without tags around it
    more of my own stuff

    I fixed the error by prepending and appending opener/closer tags, i.e.,
    preg_replace call to preg_replace(‘|(\n)*(\n)*|’, ” . $this->s2form . ”, $content);

  9. Oh, great, the comment field strips tags. Let’s try that again. Apologies in advance if the code doesn’t work out again, but I think you can figure out the syntax from what I’m trying to say.

    I think I found an error. subscribe2.php:1608, the preg_replace call strips the <p> tags. But the placeholder always wants to be inside a <p> tag. The two things together mean that the PHP, when rendered, creates mark-up like this:
    <p>please subscribe to our list</p>
    blah blah subscribe2 stuff without tags around it
    <p>more of my own stuff</p>

    I fixed the error by prepending and appending opener/closer <p> tags, i.e.,
    preg_replace(parameter unchanged, ‘<p>’ . $this->s2form . ‘<p>’, $content);

  10. Jack,

    Normally I’d agree with you but in this instance it will produce invalid XHTML markup.

    The reason is that the Subscrib2 marker is replaced with valid HTML markup to produce a form – not text with no markup. What is actually produced by the preg_replace call is:
    <p>please subscribe to out list</p>
    <form>Form Details</form>
    <p>more of my own stuff</p>

    I hope that makes sense!

  11. OK, that makes sense for the case when S2 is expecting a new e-mail address to add to the subscriber list. In that case, it wraps its output in form tags, as defined in load_strings. But in all the other cases in load_strings, S2 output is not wrapped in any tags… and then we get the case I described above.

  12. Jack,

    Quite right and I realised this after your first post. I’ve fixed this by wrapping all the output strings in <p> tags.

    This will be in the next release of the plugin.

  13. Jack,

    I’ll look into it for you depending on time. Yeah, I know it doesn’t take long to make a diff but I’ll have to post it up somewhere etc etc so I may just release 2.6 sooner! Keep an eye on this site🙂

  14. Hi I’m using this great plugin, unfortunatelly, it doesn’t send any email to my suscribers, or for example if I suscribe, it says : You will recieve the confirmation mail.

    But this never arrives, something to solve the problem ?

  15. Roger,
    Do any emails arrive if users register through the normal WordPress process?

    The fact that no emails are sent at all would indicate that you can’t send email via php on your hosting server. This can be confirmed by the email, or lack of, from a normal blog registration.

    If it doesn’t work at all you will need to contact your host to find an emailing solution for your site.

  16. Hi,

    When someone create an account in my site, I recieve an email indicating that the user is registered.

    Then I understand that the email system is working good.

  17. I don’t understand step 10 of the install. Are you saying that I make a customer page, ie “page-subscribe.php”, and that the only code in that page is the definition of S2PAGE on line 43. If yes, can you suggest how to define S2PAGE. Thank you.

  18. Kurt,

    S2PAGE should be defined as 0 in the original file you downloaded.

    Once you’ve created a WP page at step 9 it will be assigned a page_id number by wordpress. You need to enter this number instead of the 0 to define S2PAGE.

    I may have confused things by stating “step 8” when it should be “step 9” – I’ve corrected the post.

  19. Ah, I understand now. Thanks for the update. Anyway, the cnfirmation screen was going to the subscription page I made. I have another question: when sending mail to subscribers in HTML format, is is possible to use a customised HTML document? Or is it possible to send a mail using the “Send mail to…” function. I have tried to paste an HTML template, but it is only received as text. Thanks. Kurt

  20. I have one more question. Do you know if there is a limit to the number of subscribers that can be added or sent to? Kurt

  21. Kurt,

    There is no limit in Subscribe2 but there may be limits set on the hosting server both in terms of direct email limits imposed on the server (as with DreamHost) or down to processing power before the php reaches a timeout.

    That having been said I’ve never had any complaints about the plugin coping with numbers of subscribers.

  22. Roger,

    Are you using any other plugins? Specifically ones that alter the WordPress email functions?

    Try disabling all your plugins and checking again. If it works re-activate a plugin at a time until it breaks again and you’ve found the cuplrit. If deactivating all the plugins makes no difference try upgrading WordPress to 2.04, re-uploading the plugin and trying again.

  23. Hi Admin,

    thanks for your answers, I’m using these plugins :

    – Gravatars2 (2.5.0) to show the garvatar
    – Limit Categories (1.5.2)
    – PJW Mime Config (0.9)
    – WP – PostRatings (1.02)
    – WP – PostRatings (1.02)
    – Role Manager (1.4.4)
    – Top10 (1.5)
    – VideoPop (1.3)

    none of these plugins except SUSCIBER2 uses any mail function and unfortunatelly, I can’t upgrade to WP 2.04.

    any last chance ?

  24. When sending mail to subscribers in HTML format, is it possible to use a customised HTML document? Or is it possible to send an HTML page pasted into the “Send mail to…” function. I have tried to paste an HTML template, but it is only received as text.

  25. Kurt,
    The Options screen allows you to customise the details sent in the emails but the HTML email simply sends the formatted content of the post amde on the site – if you used bold, italic and link tags these are used in the email.

    Pasting an HTML template into the options screen won’t work as it is the same template that is used for plain text emails.

  26. Roger,
    Do you mean that the plugin doesn’t work as expected or that the plugin has worked but your emails are still not being sent?

    The SMTP plugin is still a beta so there are probably a few things to iron out yet. In fact there is a bug reporting version to help the author iron out the kinks!

  27. in admin > options > subscribe2 > is see only a few options:

    -Admin Tools
    –Subscribe Addresses
    –Send email to all subscribers

    -Subscribers
    –Confirmed Subscribers
    –Uncomfirmed Subscribers

    and i have the same menu at the manage menu. but there is named as ‘subscribe’

    it`s that ok ? shouldn`t be more ?

  28. Hi and thanks for this fine plug. However i’m having trouble in 2 points:

    > Registered on the left, confirmed in the middle, unconfirmed on the right
    i only see the list of registered users, which are my authors that have been registered automatically. But i do not see the options to move or delete subscribers.

    Second, whereever i put the german translation ( /plugins/ or /plugins/subscribe2/ ) I still get to see the english version.

    I’m using 2.0.5 with the newest release of subscribe2.

    (I’ll be afk for 3 days now, so please don’t feel pushed to answer immediately ;o)

  29. BluEyez,

    Subscribe2 adds a few submenus into WordPress:

    Write -> Subscribers
    Manage -> Subscribers
    Options -> Subscribe2
    Users -> Supscriptions

    Each of these sections allows you to perform different tasks.

  30. Marco,

    You can’t move or delete Registered users – only public subscribers. Registered users manage their own subscriptions.

    To get the german translations you need to upload the translation MO file to /plugins/subscribe2 and also ensure you have made the correct settings in wp-config.php – the config file for WordPress.

  31. Thanks a lot. I did exactly what you suggest before asking here, so i made my changes directly in the plug, now. Maybe the backend just hasn’t been translated, yet. If I’d be able to find a [b]working[/b] po-editor for MacOS, i’d be able correct that in no time.

  32. Sorry, I forgot: I’d like to suggest to add ‘s2’ to all the links in the backend, as it’s a bit hard to guess, if a link is for ‘subscribe to comments’ or ‘subscribe2’.

  33. My last topic, i promise:

    is there a way to disable the mail content options, so that the plug will always send the excerpt only?

  34. Marco ,

    POEdit is not very stable on OSX is it😦

    I’ll have a think about the menu names but I don’t want to make them any longer – we’ll see though as I need to avoid confusion!

    The only way to ensure all users get excerpts is to only allow public subscribers so turn off registrations in WordPress.

  35. Hi,

    Totally new to wordpress and subscribe2 and PHP. Tried to follow all the previous versions but couldn’t work out what was what so downloaded latest version.

    Okay, downloaded, extracted, uploaded, activated. Clicked options, and subscribe2. Here is where I am lost. The link I provide for the confirmation email? under link it says “the generated link to confirm a request
    (only used in the confirmation email template)” What is the link meant to be? Sorry that is so basic a question. But I don’t think I’m getting this right.

    I created a wordpress page and called it subscribe. The id was 12.

    So, on the subscribe2.php page (I don’t know any php) do I change the define “define(‘S2PAGE’, ’12’); What is the S2page? Where do I find it? Do I create it? Tried to work out what Kurt meant above but couldn’t…

    Sorry this is very, very basic. But it looks such a good plug-in.

    I’d really appreciate your help if possible. Thanks.

  36. CerebralJam,

    Welcome to WordPress (and Subscribe2). You seem to be doing pretty well so far by the way so don’t give up yet…

    Under Options -> Subscribe2 you’ve found the email templates. On the right there are details of some key words that are replaced in the Template before actual emails are sent. In the subscriptio email the work LINK is replaced autoatically with the subscription link for your blog. A similar process applies to the other key words.

    You are quite right that you need to edit the plugin code to define S2PAGE as 12. S2PAGE is just a variable used by the plugin, by defining it as 12 you will be pointing the plugin to the subscription page you created in WordPress.

  37. Hi, thamks for this great plugin. I installed on my Wp cms followin the 10 steps, but when i paste the line in a wp page i created, nothing happens. I use de MK2 template. Do u have some idea on what i do strong?

    Thank you, sorry for my bad English.

  38. Hi.
    After installing sunscribe2 plugin, I get this error everytime I make a new post in wp205 (s2 ver 228):

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SELECT * FROM wp_post2cat WHERE post_id =

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/virtual/wp-includes/wp-db.php:102) in /usr/www/virtual/wp-admin/post.php on line 60

  39. Samson,

    This is stringe – especially as Subscribe2 does not execute any SQL queries on the post2cat WordPress database.

    Is this a fresh install of WP 2.0.5 or an upgrade?

  40. It is a fresh install of 2.05 and I have 2 sites with the same error😦

    The 1 site also comes with an sql error when adding new categories

  41. Samson,

    The issue you have adding new categories is a known issue, it will be fixed in the next release.

    In relation to your main problem – do you have other plugins active? If you deactivate these does the problem disappear?

  42. Samson,

    I’c certainly take a look but it appears that the code download for Subscriber-Only has not been available since October ’06!

    If the plugin is just one file any chance you can email it to me (provided that’s within the licence).

  43. Hi and thanks for the great plugin.

    When activating the plugin in WP CP, I’m getting this error –

    Fatal error: Call to undefined function: get_categories() in /home/blogish/domains/gunav.co.il/public_html/wp-content/plugins/subscribe2/subscribe2.php on line 942

    Any idea what might cause that?

    Thanks!

  44. Jack,

    You don’t say what version you are using. I thought I’d fixed this in a recent release. Please try the latest version and report back if the issue recurs.

  45. When subscribers are imported, is it possible to include their name as well as their email address? Thansks

  46. Wendy,

    Registered subscribers (those who register with you WP blog and also ask for eamils in their Profile) have a name that could be included, public subscribers don’t so it would be difficult to implement.

  47. Thank you for your reply. If I wanted to import a list of subscribers that I already have say in csv format, can these include names and how do I do it?

    Thanks

  48. Wendy,

    The esiest way would be to have a list of CSV containing only email addresses. Copy and paste this list in the Manage -> Subscribers in the box under Subscribe Addresses and click subscribe.

    These email addresses would then be added as public subscribers.

    If you really want the names adding too, you’ll have to add them manually one at a time uning Users -> Authors & Users (this is part of the WordPress core) and then Bulk Manage the subscriptions in Manage -> Subscribers.

  49. What’s the preferred way of temporarily suspending subscribe2 so that minor changes to posts don’t generate emails? Is it OK to simply deactivate the plugin, edit the post, then reactivate the plugin?

    Many thanks.

  50. Phil,

    Edits to published posts should not generate new notifications. Deactivation is the best way to temporarily suspend Subscribe2 if you need to though.

  51. Hi,

    Great plugin. Any ideas on hoe to apply some CSS to the subscribe form, to make it look like the other forms on the site. I have looked in ‘subscribe2.php’ but it is a little tough for me to spot.

    Cheers,
    /J

  52. Jason,

    I suspect that you already have your CSS defined in a style sheet for you theme. You can apply this to the form by editing the $this->form definition.

    Bascially you need to add a wrapper using DIV or whatever other HTML code you are using around the defined form.

  53. Hello,

    I am oh-so close to getting this great plugin to work, and I’me xcited ebcause ever since I switched to WordPress my subscribers have been update-free and they’re beginning to get restless.

    My problem: when I hit the S2 icon to insert the form in the “Subscribe” page I created, nothing happens. If I paste the text into the code section, still no form appears.

    Any advice? Am I doing something wrong? I must be, but can’t figure out what.

    Also, the page I created is called “Subscribe” and doesn’t have a separate number that I can input into line 43, as near as I can tell.

    Any advice would be greatly appreciated.

    Thanks!

  54. Jeremy,

    Can you make sure that the token is on a line by itself with a blank line above and below. See if that works.

    If you also view your pages in WordPress admin under Manage->Pages you’ll see the number you need in the ID column.

  55. Hi!

    I’m quite new to blogs and PHP but feel I’m getting the hang of this as I’ve got my blog up and running and for the most happy with the results. I resently came across your plug-in and wanted to incorporate it but can’t seem to get it working.

    I get the following error:

    Fatal error: Cannot redeclare s2init() (previously declared in ../wp-content/plugins/subscribe2/subscribe2.php:64) in ../wp-content/plugins/subscribe2/subscribe2.php on line 63

    when I look at these lines it has this:

    63. function s2init() {
    64. global $subscribe2;

    I can’t seem to make heads ot tails of this message, can you help?
    And sorry if this has been addressed before but couldn’t find it.

    cheers
    Peter

  56. I think I figured it out… but would still appreciate your feedback!

    I was doing my tests while logged into my blog (admin account) while loading and refreshing the page (for subscribe2) “notifications” and everytime I hit the “profile” link at the end of this line:

    You may manage your subscription options from your profile.

    I would receive the error I previously posted.

    So I decided to test it on my other system that wasn’t logged into my blog and it works fine! I then went back to the original system logging out and it works.

    Perhaps you could add something that redirects the admin account to manages options or something, just a thought.

    cheers
    Peter

  57. Peter,

    I think the problem may have been caused by browser caching. Redirecting admin level users to options may not be popular on blogs with more than one admin user although I’ll consider you suggestion if it proves popular with other users.

  58. Hi,

    I just finished the install of Subscribe2 (version 2.3.0), I’m really excited about using this plugin, however I’m stuck.
    I am using WP 2.1.2, and I’ve created a page titled “Subscribe”, modified the Subscribe2.php with the ID of the page, but when I click on the Subscription page all I see is in the body.

    Maybe I missed how to add the token, but I don’t see any button labeled “S2” when creating a page. I simply pasted the into the content section of the page.

    What else do I need to do?
    Did I miss something with .htaccess?

    Any help would be greatly appreciated!
    Thanks in advance,

    Mike

  59. ok that didnt work. This is what is missing from the above post “…all I see is /* “” */ in the body.”

  60. Mike,

    Sorry about your comment difficulties but WordPress.com strips certain tags from posts, the best bet is to use &lt; and &gt; respectively for < and > in your comments.

    Anyway, in answer to your problem, make sure you have the token on it’s own line with a blank line either side and the dynamic output should appear. Also make sure you have the token right – check the readme file.

  61. Hi,

    Ok so I went back in and tried several different things.

    I have a new page, created from the “Manage -Pages” admin panel. The title is Subsribe.
    In the content I have only one line of code, the token : <!–subscribe2–>

    It still doesnt work. Did I miss something?
    Thank you so much for your help.

    Michael

  62. Mike,

    I’ve had a look at your page – you need to enter the token without escaping the characters on your website. The token should not show up in web browsers if you have entered it correctly and things don’t work for whatever reason. Copy an paste the token from the readme file or somewhere on this site if you are stuck.

    The tip I gave about using &lt; etc was for making comments on this site.

  63. That part I do understand. I simply copied the token from the readme, and pasted it into the content of the page described, and it displays as you see it. I did not comment out the code for the page I am using.

    Any other reason the code could be displaying improperly?

    Not sure what else to do!

  64. Mike,

    Not sure what has happened when you’ve cut and paste then as the code in your page is as follows:

    &lt;!& #8211;subscribe2& #8211;&gt;

    Try manually entering the token or flipping to the normal editor (not rich text) and entering the token there.

    If you can’t get things working trying these let me have your admin login details (via email) and I’ll fix it for you; but the problem is absolutely in the token entry on your page.

  65. Thank you!! I got it.

    The page editor kept formatting it that way, so I finally just opened the page in dreamweaver and manually edited the code, and now it works.

    ok, so one more question.
    Can I make the process of signing up easier, by simply having that subscribe token in the sidebar, or header of my blog? Or does it have to reside within a created page?

    Thank you so much for all your help, sometimes one line of code can take two seconds to screw up, and a week to figure out.

  66. Mike,

    Glad it’s working!🙂

    You can certainly get the form in the sidebar – use the widget or read through the posts on here about how to hack your own theme.

  67. Great plug-in. One problem. I only see myself (admin) as people on the Manage>>Subscribers page?

  68. Jason,

    In the Manage->Subscribers page there is a filter for the different subscriber types with a drop down list. Change this drop down and click on the Filter button so see other subscriber types.

  69. Hi. I selected “All Subscribers (2)” which only shows, obviously, 2 subscribers. I have 6 users registered on the site.

    Yesterday, when I first wrote, I only had one, myself, showing up. Now, when I logged in as my wife, she now all of a sudden shows up. Does it have something to do with logging in, or do they have to at least subscribe to one category before they show up in that control panel?

    I’d like to be able to subscribe all users to one category, but until I can get them all to show up, it’s going to be difficult. When I had my blog setup through the 1and1 control panel, they had subscribe2 default-ly installed, and it worked as expected. I re-did the site, because it went down for a couple days, and did my own manual install of WordPress. Then I installed this plug-in several days later, when I got my bearings.

  70. Ah, I’m not sure this makes a difference, but it appears I’m using WP 2.1.2, and I just noticed that you have a Subscribe2.3 out. Could this possibly be my issue? I downloaded the version connected to this page.

  71. Jason,

    You need to be using the Subscribe 2.3.x branch of code if you are using WordPress 2.1.x.

    You can bulk manage subscriptions for registered users in Manage -> Subscribers with the Bulk Management pane at the bottom of the window. Select you category with the tick box and click subscribe – done!

  72. Hmm…did the upgrade, still not seeing all my registered users in the bulk upgrade, even when I select all registered users, and filter…

  73. First of all thanks for the plugin, and now here is my problem.

    I don’t see the form display on my page. Here are all the details:

    -Wordpress 2.1 & Subscribe2 2.2.14
    -Line on subscribe2.php: define(‘S2PAGE’, ‘1088’)
    -Code on my page: <!–subscribe2–>
    -Code on my browser:
    <div class="post" id="post-1088">
    <div class="entry">
    <p>
    <!–subscribe2–>
    </p>
    </div>
    </div>

    The plugin is activated and I have followed all the steps as you say, do you know where is the problem?

  74. I have the same issue as Mike and Alberto — no form shows on my page. After reviewing and trying the tips on this page, I was still nowhere — I checked the solution that worked for Mike, but I am working with the RT editor turned off. I tried to put a blank line before and after it, but it kept defaulting back to the first line, once I saved the page.

    Finally I found the solution:

    <p>
     
    <!–subscribe2–>
     
    &/p>

    This seems to have stopped the editor from scooching my token back to the first line, and allowed the token to be read correctly. BTW, I am using WP 2.0.2 and S2 v.2.2.14

    I hope this helps someone!🙂 Thanks for all the great instructions and assistance. It allowed me to find the answer without asking the question!🙂

  75. oh my — code turned out a mess!! Sorry….it’s late and my brain is foggy. What that all means is a paragraph tag, then blank line, then token, then blank line, then close paragraph tag. And there are two – – in my token….I guess the comment field is stripping one, or turning the two into an emdash. oh well….I think you get the idea, and again, hopefully it will help someone else.🙂

  76. I have discovered something wierd…. the ONLY category I enabled for subscriptions now has a broken page template. I was working on page templates just before I started with S2, and that particular template was working perfectly.

    After playing with S2 and getting it to work, I went to the theme editor and saw that the title of the template was a mess.

    So I visited the template itself, and discovered ALL white space had been removed. I started putting back in the white space, and got it appearing correctly again….BUT when I visit that particular category, instead of using the template, it is using the default template.

    I have checked the page itself, and it is still assigned to the correct template. Any guess as to why this would happen? Anything I have missed checking?

    Thanks…

  77. Marci,

    No idea why this would happen as Subscribe2 doesn’t permanently alter theme templates in any way so it would have amended your files.

    Does this problem resolve when you deactivate Subscribe2?

  78. Hey thanks for fixing my messy code…now maybe you will want to delete my last post as well…..!! I did try deactivating S2 but it wasn’t that at all. I’ll spare you all the gory details, but suffice it to say the problem was a false alarm.

    The page template with no white space was real (still no idea what caused that) but the alleged problem of using the default template instead of the assigned template was not really happening, it just seemed that way — depends on which link I follow — and has absolutely NOTHING to do with S2!!! So my apologies for jumping to what seemed like an obvious conclusion at the time. GREAT plug in, I just love it. Meets my needs perfectly.🙂

  79. I was having the same problem that Marci and Alberto were having and voila! Thanks for the quick fix, it was the last thing I needed to finish up the site! Cheers to Subscribe2 and Kudos to you🙂

  80. Hi,

    that plugins is exactly that what we are looking for, but we got some problems here using it. After download, install and activate it, we put this token into a page of the wp blog (not the Blogpage itself, another site on the wp blog with different content). But the only thing thats happens is “You may manage your subscription options from your profile.” What does this mean? I think everything is configured like the Readme tells us. In subscripe2.php in line 43 the Domain to the site was filled in..

    Do you have an idea where to search for the problem?

    Regards ,44

  81. ForFour,

    That means it’s working exactly right🙂

    Try logging out as admin and you’ll see the form that would allow new visitors to sign up.

  82. Regarding step 3, does “Copy the entire /subscribe2/ directory into your /wp-content/plugins/ directory” refer to the “subscribe2” folder (lowercase “s”) within the “Subscribe2” (uppercase “S”) folder? Or does it refer to the “Subscribe2” folder itself, containing the “subscribe2” folder buttonsnap.php and “ReadMe” file?

  83. The link to download this pluggin from this page is broken.

    I got it from the codex though, and I installed it, activated, selected my options, and everything seemed find until I went to write the page. I have no “S2” button on the quick bar. So I just typed the code in, but when I view the page I do not have a form or anything.

    The page I am trying to get the form to display is: http://johnderrick.com/?page_id=19

    It is very late here and I need to get to bed, so hopefully I did not do something silly. 🙂

    Thank you for your reply,
    John Derrick

  84. I have 2.04 and downloaded the correct link, but it is not working on my site.

    I went to write the page. I have no “S2″ button on the quick bar. So I just typed the code in, but when I view the page I do not have a form or anything.

    The page I am trying to get the form to display is: http://johnderrick.com/?page_id=19

  85. John,

    The form is showing up just fine for me. It is because you are logged in that you can’t see it but you should see a link telling you to manage your subscriptions in your profile. This will change to the sign up form if you logged out.

  86. Ha ha ha… yes, you are correct. It does show up when I am not logged in. I thought it was going to put something at the bottom of each post that asked to be subscribed, but I am assuming now I just need to ad a perma link to the page I created.

    Thanks!

  87. Hi,

    I keep on getting this error everytime i go to users->subscription

    HERES THE ERROE MESSAGE:
    Fatal error: Cannot redeclare class s2class in /home/content/a/s/i/asiapayph/html/wp-content/plugins/subscribe2/subscribe2.php on line 57

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    DESC

    Warning: Invalid argument supplied for foreach() in /home/content/a/s/i/asiapayph/html/wp-admin/upgrade-functions.php on line 618

    WordPress database error: [Incorrect table name ”]
    ALTER TABLE “ ADD `date` DATE DEFAULT ‘2007-05-22’ NOT NULL AFTER `active`;

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    DESC

    Warning: Invalid argument supplied for foreach() in /home/content/a/s/i/asiapayph/html/wp-admin/upgrade-functions.php on line 627

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE email=’andrian.lee@asiapay.com” at line 1]
    SELECT active FROM WHERE email=’andrian.lee@asiapay.com’

    please help, thanks.

  88. hi,

    my wordpress version is 2.2 and subscribe2 version is 2.2.18

    the subscribe2 is working already🙂 i just deleted and uploaded it again using FTP. I have one question regarding subscription by category. Can the subscribers choose the categories they want to receive updates on? Is there a way where in a form theres a checklist of the categories? thanks

  89. Charro,

    Subscribe 2.2.18 is for WordPress 2.0.x. You need to download Subscribe 2.3.4 or wait for 2.3.5 which I’m hoping to release later today.

    Registered subscriber can choose which categories they subscribe to by loggin in and navigating to Users->Subscriptions.

  90. I’m struggling with steps 9 and 10. I can’t find the quickbar and I don’t see where to manually enter in the token. Sorry, this is my first blog and I’m a complete noob.

  91. James,

    If you’ve managed to get the subscribe2 token into the WordPress page you created things should actually be working now.

    For completeness it is worthwhile editing the code of subscribe2.php, finding the line (near the tope) that defines S@PAGE and changing the number from 0 to the ID of the page you created with the token.

    This final step isn’t absolutely necessary but it can fix some potential future issues before they occur.

  92. Greetings! I have read through all the comments and am still having a problem that has been raised several times.

    I have the plug-in installed and have created a page for “subscribe” and have changed the page number in the subscribe2.php code to my correct page number (ID). I do not have the S2 button and thus, am stuck at trying to enter the token. I have entered the token manually several time (ensuring that the code was entered correctly and even copying code from dreamweaver). However, the message on my page that I get is:

    You may manage your subscription options from your profile.

    I have viewed source from some other sites and copied that into my Subscribe Page as code. I can get the correct form with the radio buttons to subscribe or unsubscribe. However, the issue is when I enter an email address and click send, the page reloads with a blank form and nothing happens (no email is added and no confirmation given). I have checked this being logged in and out of my admin pannel.

    Any ideas what could be wrong? Thanks so much for your help!!!
    Lara

  93. Lara,

    THanks for being so detailed in your first post – I’m please to say that the plugin is working perfectly. To see the form you are expecting to see you simply need to log out of WordPress. What you are seeing is the dynamic form entry for users who are already registered and logged in.

  94. Brilliant! Wish I could have figured that out about an hour ago🙂.
    Thanks so much for your quick help – looking forward to using this great plug-in. And thanks for keeping the support going!
    Lara

    PS- Max is adorable!

  95. Hi and thank you for this great plugin!!
    I’ve got a question regarding the subscribe/unsubscribe radio buttons.
    Is it possible to create two individual pages i.e. subscribe and unsubscribe to replace the radio buttons? The reason I’m asking is that some folks have written to me saying they’ve unsubscribed from my blog but are still receiving updates. I’m guessing that they’ve checked the wrong radio button. I’d really like to separate the pages in order to make the whole process ‘idiot proof’.

    Thanks in advance for any assistance.

  96. John,

    You know what they say about “idiot proofing” something; no sooner do you apply the solution than someone invents an improved idiot!!🙂

    I’m happy to point you in the right direction but won’t be making changes to the core code for this.

    You can make this change by editing the code – look for where $this->form is defined; edit this to be your subscribe form and then create a new variabe ($this->form2 maybe) as the unsubscribe form.

    Finally, you’ll need to make some changes to the filter function so that the correct form is used on your 2 pages. Maybe think about using 2 tokens.

    An alternative approach would be to make the form itself bigger with a subscribe section and an unsubscribe section but keeping one form.

  97. As many have said before me – thank you so much for the quick response!

    I’ll edit the code as suggested – fingers crossed!!

    Thanks again.
    ~John

  98. Version 3.6
    I get the

    Fatal error: Call to undefined function: get_categories() in /home/virtual/site82/fst/var/www/html/wp-content/plugins/subscribe2/subscribe2.php on line 866

    throughout my site. Saw that someone asked about it a while back but they didn’t answer your follow-up question. Any help? Thanks!

  99. I have downloaded and installed the plugin, however, when I go to step 8 (Create Page), the s2 icon shows up on the editor toolbar, but I can’t click or type in the entry/text field, and clicking on the icon yields nothing.
    When I tab from the “page title” field to go to the text area, I get an error message that says, “an editor instance must be focused before using this command”.

    Gotta admit, this one stumps me…

  100. S-,

    What plugin and WordPress versions? Also, have you cleared out your browser cache after the upgrade – the TinyMCE editor does need a gentle nudge quite often.

  101. I’ve done my best to not replicate questions for which there are answers… I’m running the plug-in version 3.7 on WP 2.2.2. Installation went well (note to the cut-and-paste problems with the token, if you click on the ‘code’ view of the page and paste the token in it will render properly in the ‘visual’ view of your page; no need to use dreamweaver). edited the s2page with the page ID.

    Three problems: (1) the S2 token in the toolbar attempts to load and then disappears; the graphic for the placeholder is broken, and I get a long string of code under the ‘Save’ button that begins with

    %3C%3Fphp%0Arequire_once%28%27admin.php%27%29%3B%0A%0A@header%28%27Conten…

    But this doesn’t affect the subscribe page from actually working. The second problem is responding to the confirmation email for either subscribing or unsubscribing – the link in the email simply takes me to an index page of my wordpress directory. The email address sits in the unconfirmed list on the ‘manage subscriptions’ page (or fails to unsubscribe if going the other way).

    The final problem is that it seems that the email i sent out to the 22 subscribers didn’t actually reach anyone far as I can tell – the two personal address I had on it did not receive the email. This may be related to the problems above so I’m not bother with it till the others are resolved.

    I’ve deactivated all other plugins, changes permalink structure, and still no joy. Any suggestions?

  102. Barak,

    Taking your 3 problems in order:

    1/ I think this is something to d with file encoding on uploading to your server. You need to check what character encoding the file is saved in and what the server can read.

    2/ This is because you have moved the index.php file into the root. Things to try are:
    Copy index.php back into your WordPress folder
    Check your setting is Options -> General for your WordPress and Blog address
    Edit the subscribe2.php code at line 497 to hard code your site address

    3/ If no emails are being sent you need to check this with your host. They can access the server logs and tell you why they were blocked.

  103. Ahh, you are benevolent as you are wise. I deleted the “wordpress” directory from the email link and it loaded up the subscription confirmation page immediately – so that’s the problem. I’m afraid my PHP is nill and my sundry and perverse attempts at changing line 497 all but failed till I finally managed what appears to be the correct code:

    Original: $link = get_option(‘siteurl’) . “/?s2=”;
    New: $link = (‘http://www.continentaldrift.net’) . “/?s2=”;

    This generates an address with domain.com/?s2= instead of domain.com/wordpress/?s2=

    I will tackle the other two problems in the coming days. Thanks so much for your assistance and your consistent and timely support through these comments. It’s much appreciated.

    Barak

  104. Barak,

    If that code is working for you then great but you could just as easily use:

    $link = “http://www.continentaldrift.net/?s2=”;

    Can you tell me, under Options -> General what entries do you have for:
    WordPress address (URI):
    Blog address (URI):

  105. I swapped out the code you suggested – probably better to use the right code just in case.

    My links are
    Wordpress Address: http://www.continentaldrift.net/wordpress
    Blog Address: http://www.continentaldrift.net

    The email issue is resolved – I think it was just the the complication of having my index.php in the root folder. The string of code showing up below the save button was the result of something odd going on with the wp-admin/upload.php which I fixed by re-uploading the upload.php.

    So the only issue left is the s2 token in the toolbar doesn’t load. but i can paste it in manually. Oddly, I’m using the “Collapsible More Link” plugin which puts a token in the toolbar and it stopped showing up in the toolbar the same time the upload.php issue surfaced. When I fixed the upload.php problem it showed back up in the toolbar. But the S2 token didn’t….

    anyway, no biggie. Thanks for your help.

  106. Barak,

    Can you try the following for me – based on what you’ve said I may have a more sensible fix.

    Change that $link line to:

    $link = get_option(‘home’) . “/?s2=”;

    Note, the original was:

    $link = get_option(’siteurl’) . “/?s2=”;

    By changing the WordPress database value that is accessed this may fix the issue once and for all! I hope🙂

  107. I just can’t get this to work…

    S2 3.7 w WP2.2.2 with latest widget plugin

    I am using permalinks with name (second option in WP)

    I created a page and the ID is 104, pageslug is ‘subscribe’ so page is http://www.artbymichaelking.com/subscribe. I edited the subscribe2.php to read:
    define(‘S2PAGE’, ‘104’);

    I plugged in the token into the page as you can see and it doesn’t work.

    The S2 token does not show up in my toolbar.

    The S2 widget does not display properly in my sidebar. It just shows the title. No textbox for email address and I assume there is suppose to be a submit button as well.

    Any ideas what is wrong?

  108. ok, i basically figured out what was wrong. I deactivated the WP e-Commerce plugin I use and the subscribe widget shows in the sidebar. The page never shows properly though.

    http://www.instinct.co.nz/e-commerce

    No idea what is going on. Too bad as I need to keep the e-commerce plugin.

    if you can figure out why and end up fixing it I will be back.

    Cheers,

    Mike

  109. Michael,

    The Widget and Page Form are both dynamic – they won’t display the form if you are logged in.

    As you no appear to have taken down the subscribe page I can’t look at what you had done. Try re-activating the plugins and logging out to see what it looks like.

    Also, to give me a bit of a chance to help you out don’t take the pages down within 4 hours when it takes the planet 24 to spin around once🙂

  110. True. But I did get a chance to see what it was like once I deactivated the e-commerce plugin. If I was logged in I saw the text as in the area of teh subscribe box. If I logged out I saw the subscribe box and radio options. When I reactivated e-commerce, it all disappeared.

    If it will help I can reinstall S2 for you to have a look at it when e-commerce is running as well. Let me know.

  111. Michael,

    It would be very helpful if you reinstalled S2. It’ll save me having to install and configure another plugin to see what happens when they interact.

    My guess is that e-Commerce adds a filter to the_content in WordPress. My plugin does the same. They should play nicely if coded well. I’ll need to see what the page looks like before I can look into the code.

  112. Michael,

    It looks like the conflict is stopping the preg_replace in my code from working. I’ve had a quick look at the e-commerce plugin but it’s a very complicated plugin with 60 files and folders at the root level!

    Perhaps you could ask the author of e-commerce to have a look at the functions they are adding into the_content and see if they can fix or suggest a fix for me! The code they would look at in my plugin is in the subscribe2.php file in a function called filter – and that’s it!

  113. Michael,

    Just occurred to me; on lines 2628, 2645 (comment out) and 2649 the e-commerce plugin uses add_action to hook into the_content when they should be add_filter. Try changing them over and see if that fixes things. (It might not but it’s my first and only suggestion at this point!)

    Although looking deeper, the function that’s added there doesn’t even take the content as an input and therefore does not return it! That’s probably what’s breaking things – I think it’s time for you to speak to the author of the other plugin. This post might help you.

  114. Ok that works to an extent. However I lose my ‘shopping cart’ drop down window and there is no way to checkout or change the contents of the shopping cart.🙂 hehe

    hmmm

    I left the add_filter stuff and took out the two comments and it puts the drop down shopping cart into the area to subscribe.🙂 too funny. here is a screenshot for you.


    I replaced the code back to the way it was just so the website looks ok.

    Any ideas?

  115. oh interesting. I notice that the ‘shopping cart’ stays in the subscribe to blog area on the gallery page, but not any of the others.

  116. Michael,

    Your problem appears in the SideBar widget, you could fix this by changing the following line in the Wdiget code:

    $content = apply_filters('the_content', '<!--subscribe2-->');

    To:

    $content = s2class::filter('<!--subscribe2-->');

    But, this won’t impact on your WordPress page. Have you got that working okay?

  117. hello,

    I tried to create a WordPress Page and put in the subscribtion form. But on the QuickBar, the image for “S2” button is missing. Aon the QuickBar to automatically insert the subscribe2 token. Or, if you prefer, you may manually insert the subscribe2 token:

    to automatically insert the subscribe2 token. Or, if you prefer, you may manually insert the subscribe2 token:

  118. Hello,

    please delete my last question. I didn’t finish it yet.

    I tried to create a WPress Page to display the subscription form. But the “S2” button image is missing on the QuickBar, and even after I click on it, a broken image apperaed in the edit window. And nothing showed up in the page when I published it. Could you please help me?

    Lina

  119. Hello,

    one more question. Can I create a “subscription success” page that liks to the “LINK” in the confirmation email?

    Right now, the “LINK” points to anypage in my blog. Thank you for help!

    Lina

  120. Lina,

    The S2 button does cause problems because of the browser cache. The best way around this is to simply enter the token manually.

    Make sure you specify the S2PAGE variable in the code and the LINK will direct the user to a confirmation page automatically.

  121. Hello,

    thank you for your reply!

    How can I specify the S2PAGE Variabel? which code I should change? Should I just replace with the page ID of “confirmation page”? Thank you!

    Lina

  122. Lina,

    Your WordPress page will have an ID that you can see in Manage->Pages.

    In the subscribe2.php file look for the line near the top that says:


    define(S2PAGE, '0');

    Simply change the 0 to the ID number of your page.

  123. Hello, Admin

    I am sorry that I didn’t specify my questions clearly.

    I want to link the “LINK” in the confirmation email to a “subscription success” page I created by myself.

    To achieve this, should I first create a “subscription success” page? And then change the code in Subscribe2.php and

    direct the “LINK” to this page? Which code I should chagne in Subscribe2.php? Should I just replace the code with the

    Page ID of the “subcription success”page I created?

    Also, my blog is in Chinese. How can I change the wording on the form, like “subscribe”, “unsubscribe”, “send” into

    Chinese?

    Thank you very much

  124. Lina,

    You need to translate the string in Subscribe2 into Chinese.

    The subscribe2.pot file is your template, use a program like POEdit to create your subscribe2-zh_ZH.mo file. Load this into the same folder as subscribe2.php.

    You don’t need to create a custom “subscription success” page, the process above will sort all this out for you.

  125. Hello – Since I upgraded to the latest version of this plugin and WP 2.3, my registered users do not seem to receive notification emails.

    The admin account do though!

    I use my own ISP to send email (using SMTP protocol) and I have checked and my registered users are all subscribed to all categories.

    I could not find the DREAMHOST variable to try to reduce the # of users in BCC. Does it still exist in the new version of the plugin?

    Any idea what else could be wrong?

    FYI – my users do receive WP emails (such as for new user registration or resetting their password) without problem.

    Many Thanks,
    David

  126. I’ve done a bit of research on my own.

    The ‘Mail all subscribers’ option was giving me the same result, i.e. as a admin i was receiving two emails but my subscribers did not get any.

    I changed the BCCLIMIT to 5 – same behaviour.

    I then change the code so that CC is used instead of BCC. I have 18 registered users. I received only 4 emails in total. For each of them the email was sent to the admin email address and only one subscriber email address was in CC for each email i received!

    The strange thing is that before I upgrade to 4.0 I never had a problem however I think i was using a two yers old version which did not use BCC.

    David

  127. David,

    As long as I’ve been using Subscribe2 it had used BCC headers as CC allows your subscribers to see each others email addresses.

    If this isn’t an issue for you then great otherwise you need to check your server sendmail settings.

  128. Just checked my old notification emails and obviously you are right!😉
    I never realised it.

    I have asked my ISP to confirm if they have changed anything but I doubt it.

    Thanks for your help.

  129. Hello – I’m going ot try to troubleshoot a bit more in depth what is happening to me with this excellent plugin.

    Would you be able to let me know how I could include in the body of the email that is being sent the details of the header generated?

    I just want to make sure that header is correct.

    Thanks.

  130. Zoltan,

    Copy the required mo file to the same folder as Subscribe2.php and make sure you have told WordPress to use language file in wp-config.php and you’ll see translated strings!

  131. After a user subscribes and clicks on the provided link to confirm his subscription the page the user is directed to is a screwed up version of what the page should look like. I really don’t know how to explain it so I’ll just let you try and see what I mean

    Link: http://www.nazur.net/commodities

    Subscribing works fine and subscribers get emails perfectly. It’s just when they click on the link instead of seeing the text inside the page’s template it looks like it somehow alters the template.

  132. Musk,

    I have had a brief look at your site – where is the WordPress page to handle your subscriptions? I can’t see it easily. Also, if you are talking about page titles being altered – this is a known issue and is discussed here.

  133. I’m just finding my way around WordPress and plug-ins and widgets, so excuse what may seem a basic question, but…

    As a first step to installing Subscribe2 I’m following 9. on the installation notes, which says: ‘In the subscribe.2php file define S2 PAGE to point at your WordPress page created in step 8.’

    I’ve opened subscribe2.php and don’t have a clue what to change. I’ve just noticed that at the head of this page it says the line is no.43, but that doesn’t match with my file. The nearest guess I can make is a couple of lines down.

    I’ve changed this from
    define (‘S2PATH’, trailingslashit(dirname(__FILE__))); to
    define (‘S2PATH’, trailingslashit(dirname(48)));

    48 being my WordPress page number. But having previewed the page, I’m pretty sure that I’m floundering around in the dark here. Can you cast a little light in my direction?

    Also, I’m assuming that once I get this sorted, it will create a subscription page which I can then link to. And that the other option is to have a ‘subscribe’ form on the side bar. And to create this I need a widget.

    Is this right? And if I have the widget, can I forget about the subscription page? Or do I need both?

    Don’t groan too loudly :o)

    Thanks,

  134. David,

    You’ve scrolled down to far, look a few lines higher up and you’ll see the following on line 40 of the code:


    define('S2PAGE', '0');

    Change this to:

    define('S2PAGE', '48');

  135. Many thanks,

    I’m slowly getting there :o)

    Is there any way of changing the tag between the field and button to give a bit more space?

    David

  136. PS. I put in a line break tag between ‘tag’ and ‘between’ in the above post, but it must have interpreted this as html and stripped it out.

    I know it’s possible to style a br tag to make it not show (as in ‘display: none;’). I tried styling the br with padding and margins, but that didn’t have any effect.

  137. David,

    If you want to add line breaks add them to the string defined as $this->form in the load_strings function or play around with your CSS styling.

  138. I’m doing the installation and have two questions. The term “quickbar” is something I’m unfamiliar with and as such can’t find the “S2” button anywhere.

    Secondly, line 43 of what?

    # Define S2PAGE on line 43 to the page number of the page you created in step 9.

    Regards,

    John Wade
    http://www.johnwade.ca

  139. John Wade,

    The QuickBar is the name used in WordPress for the formatting button strip at the top of the Visual Text Editor when you write a post or a page. The S2 button should appear as a yellow button at the end of the strip. (This works more reliably in WordPress 2.5)

    You define S2PAGE on line 43 of the code in the Subscribe2.php file.

  140. I have WordPress version 2.3.3 and subscribe2 version 4.4. I keep getting these three messages at the bottom of admin pages:

    Warning: upgrade(/home/content/m/a/r/markdeviny/html/wp-content/plugins/include/options.php): failed to open stream: No such file or directory in /home/content/m/a/r/markdeviny/html/wp-content/plugins/subscribe2.php on line 198

    Warning: upgrade(/home/content/m/a/r/markdeviny/html/wp-content/plugins/include/options.php): failed to open stream: No such file or directory in /home/content/m/a/r/markdeviny/html/wp-content/plugins/subscribe2.php on line 198

    Fatal error: upgrade(): Failed opening required ‘/home/content/m/a/r/markdeviny/html/wp-content/plugins/include/options.php’ (include_path=’.:/usr/local/lib/php’) in /home/content/m/a/r/markdeviny/html/wp-content/plugins/subscribe2.php on line 198

    Any ideas? I’m relatively new to the whole process of developing a website. I’m doing quite well but this issue seems over my head.

    sincerely,
    Mark

  141. Mark,

    You need to upload the entire subscrbe2 folder, not just the php file. The warning is telling you that options.php in the include folder is missing. I would therefore assume that you have not uploaded the include folder.

  142. Okay, here is what I’ve tried so far:

    A.
    1. Downlaoded subscribe2 onto desktop.
    2. uploaded it to my file manager on godaddy.com
    3. unzipped it in the file manager
    4. logged in to WordPress and couldn’t see the plugin

    So then I tried:

    B.
    1. unzipping it on my desktop
    2. uploaded each and every file into the file manager individually
    3. logged in to WordPress and activated the plugin
    4. I immediatley get the three error messages

    I am still able to use the plugin when I do the B option, but I’m not quite sure if it’s operating correctly. The three messages still display everytime I login in to admin, so I’m assuming that the program isn’t working to it’s full potential. Both times I make sure I upload the buttonsnap.php by itslef and then upload the rest after – still no change. AND I make sure that the options.php file is showing in the file manager, but I still get the messages. -?-

    Mark

  143. Mark,

    You need to retain the plugin folder structure when you upload the files. If the files are in all the right places then it may be a permissions issue.

  144. Hello,
    many thanks for this great plugin.
    How to use the token anywhere in the site (= how to embedd it in tag div or span)? I would like to have the subscribe form already in my header and not force people to click on a link to get the subscribe page. I also don´t want it on the sidebar widget.

    I tryed something like

    in my header.php, but it does not work.

    Of course I am not an expert of php and I am probably doing some basic mistakes..

    many thanks!
    Alex

  145. Alex,

    Sorry but subscribe2 is not supported outside of posts/pages and the sidebar. Placing the token elsewhere will not call the plugin and therefore won’t work.

    Either use the plugin as it is designed to work or find someone to hack this functionality for you.

  146. Hi
    how can i iincluse subcribe form in home page. is not working on home page side bar

  147. Vinay,

    The Subscribe2 token needs to be contained in post or page content to be replaced, you can’t just add it into your HTML or templates.

    Try using the SideBar Widget.

  148. Hi,

    this plugin works fine, but after confirmation it is redirected to a page that display message “You have successfully subscribed!” but in this all links of templet are replaced by name Subscription Confirmation”
    here is the link “http://www.dyna-bi.com/?s2=1729690ded89e9944701f309b5e2a99136”

  149. I just upgraded to WordPress 2.5, downloaded your plugin 4.5, and installed it as directed. When I went to active it, I got the messge: Plugin could not be activated because it triggered a fatal error.

    Thoughts?

  150. Brady,

    There seem to be quite a few conflicts between plugins using buttonsnap.php to insert buttons in the toolbar on the Write->Post screen. I’m working on a fix for the next version. In the meantime try deactivating some plugins and see if you can narrow it down and get the latest versions of the plugins affected.

  151. Hello again,

    1) is it possible to sent HTML emails to all subscribers (also to users not registered yet)? I would find useful because my blog is an image based one..

    2) is it possible to also notify each new comment? If not, I would suggest to introduce this feature in future versions as “full subscription”

    Many thanks again for the great job, Alex

  152. Alex,

    1) not by default, if you are prepared to pay $40 I’ll email you the amended code.

    2) It is possible with the Subscribe-to-comments plugin but not with Subscribe2.

  153. hi, i’ve WP 2.5.1 I’ve created a page but i don’t understand how I see the number of that page (the ID) in manage->page i don’t see the number of the page….

  154. Gian Paolo,

    In Manage->Page click on the Page Title. In the page that loads the ID number will be at the end URL in the address bar of your browser.

  155. Hi, in my WP 2.5 installation, the theme i’m using says it has no defined sidebars. How do I manually add the subscribe form to my sidebar?

    I’ve tried adding $content = apply_filters(‘the_content’, ”);
    echo $content; as in your previous post but that does not work. Any advice would be greatly appreciated.

  156. Justin,

    The code you should be using is:


    $content = apply_filters(’the_content’, '<!--subscribe2-->');
    echo $content;

    Make sure it inside some php tags. The other alternative is to widget enable your theme – check here for information – it’s quite easy really.

  157. hi Mark,
    I noticed HTML mails cannot manage to embedd youtube videos..why?
    (I jus copy&pasted the youtube code)

  158. Alex,

    I can’t think why this would be the case. Are you using per-post or digest emails? Does the same happen if you send via Write->Mail Subscribers?

  159. Hi, can you explain what exactly the PHP statement should be to include the Subscribe 2 module on a page other than one build within WP’s “Page” structure. I want to add the module to my index page. The index page does not have a sidebar (by design). I see the command above, and you mentioned to be sure to put it into a PHP statement, but I have no idea how to do this, and this isn’t working:

    <?php $content = apply_filters(‘the_content’, ‘@gt;!–subscribe2–<); echo $content; ?>

    Thank you for your help!

  160. scratch that last comment, there was an apostrophe missing in your example above that fixed everything.

  161. i read all the 201 comments and i still can’t figure out why my form is not showing.
    i created a new page, i inserted the code on a separate line and with one line above and one line below empty.
    i added on line 40 (not 43) the id of my page which is 105, but when i click on the page there is nothing!
    http://www.noiduepercaso.com/notifiche/
    do you have any ideas?
    i am using WP 2.5.1

  162. Maurizio,

    I’ve looked at your page source and the token is not correct. You HTML source contains:

    <!--–subscribe2-–-->

    Too many dashes. The token should be:

    <!--subscribe2-->

  163. ok right now it is like that (with no *)

    but once it is saved the to P’s are put on the same line as the token… any clue?

  164. there is no way for me to make the “subscribe” token appear alone on a line with nothing else on top or on the bottom since the editor keeps doing its way

    it’d be nice to know how i can accomplish such a thing, i am going crazy over it!

  165. it is now with only 2 dashes at the beginning and 2 dashes at the end although i can’t make it on a single line because the editor keeps adding a BR and/or a P on the same line

  166. I got thru steps 1 – 6 but am having trouble with step 7 and 8. If the quickbar is under the Write -> Pages -> Visual tab (where Bold, Italics, etc are) there is no S2 token when I get there. How do I find the token?

    Also there is no subscribe.php page on my Theme Editor. There is a subscribe2.php in my plugin editor though. Is that the correct one?

  167. Hi, I’ve used this great plug-in successfully on other Blogs but am having trouble getting it to work properly in a new 2.5.1 installtion.

    Firstly the token doesn’t appear to work if placed on a page, only in a post, but when subscribers click on the confirmation link in the email it takes them to a “Not Found – Sorry, but you are looking for something that isn’t here.” error.

    Any advice would be gratefully received. Thanks.

  168. Another Ben,

    The token works fine for me in a WordPress page. What versions are you running and where can I see your site with the page in question?

  169. FYI, in case you don;t know, this comment system allows you to post standard URLs but not WP URLs with the extra bits at the end.

  170. Another Ben,

    Having had a look at your site there are some aspects of the form that are being added but any HTML is being stripped out. As you say I think it may be something to do with your theme. Try reverting to the default theme and see if it works. If it does you’ll have to debug your theme.

  171. Hey there, great plugin. Is there a way to remove some options for the users (e.g. not able to chose between “excerpt” and “full” post) in future releases?
    also, i can disable the “Show the Subscribe2 button on the Write toolbar?” option in the admin menu, but the link still shows up in the write toolbar.
    thanks!

  172. Creasy,

    There is currently no way to remove options for users, I may look at this for a future version.

    If you have disable the Show S2 button and it’s still there try refreshing your browsers cache.

  173. Hi,

    First of all thanks for your work on this great plugin.

    Secondly, how can I add a line of text to my widget saying “Submit your email address to be alerted to new postings”

    I’ve tried adding it in subscribe2widget.php but my PHP isn’t so good😦

  174. I also meant to add I’d like the text to appear underneath the radio buttons.

    And one final question – In Firefox the unsubscribe radio button is on the same line as the subscribe text and radio button, but the unsubscribe text is on the following line – is it possible for me to add a tag somewhere to move them onto separate lines?

    So presently it’s

    O Subscribe O
    Unsubscribe

    and I want it to be

    O Subscribe
    O Unsubscribe

    Thanks again🙂

  175. Cormacpmaher

    Both of your issues would be fixed by amending the form code in the plugin. Near the top look for the load_strings() function. In this finction I declare $this->form. Change this to include your new wording and some <br /> tags to set your layout how you like.

  176. Hi,
    I love the widget but am having problems if i want to remove them from my subscriber list. The red crosses won’t do anything when click on them nor the green arrow. Is there something i am majorly missing with these features. Is their another way to remove subscribers?
    thanks

  177. Nik,

    I’ll bet you aren’t using the latest version and that you are using IE. Upgrade and your issue will be resolved or change to using a different web browser.

  178. Thanks for that. Will do. Can you tell me what version is the latest just to make sure i have the latest.
    Thanks

Comments are closed.