steve92
Forum Replies Created
-
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] Code for unsubscribeWhere I put this code?
function bitly_keyword( $string, $token = 'PUT YOUR API TOKEN HERE') { global $mysubscribe2; $link = $mysubscribe2->get_tracking_link( $mysubscribe2->permalink ); $bitlydata = wp_remote_get('https://api-ssl.bitly.com/v3/shorten?access_token=' . $token . '&longUrl=' . urlencode($link)); $data = json_decode( wp_remote_retrieve_body( $bitlydata ) ); if ( 'ok' === strtolower($data->status_txt) && 200 === (int)$data->status_code ) { $bitlylink = '<a>data->url . '">' . $data->data->url . '</a>'; } else { $bitlylink = '<a href="' . $link . '">' . $link . '</a>'; } return str_replace('{BITLYLINK}', $bitlylink, $string); } add_filter('s2_custom_keywords', 'bitly_keyword');I think you can put a default code like {unsubscribe}
I clicked that button, but nothing changes.
Which page may be broken?
If I change so, the home shows again ERR_TOO_MANY_REDIRECTS
Now everything works in https, but I must to put these codes in config.php if I remove them, ERR_TOO_MANY_REDIRECTS appears. I have emptied all the caches.
define('WP_HOME','http://albenessereblog.altervista.org'); define('WP_SITEURL','http://albenessereblog.altervista.org');Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeErrore sul database di WordPress: [Table ‘my_benessereblog.wp_subscribe_reloaded_subscribers’ doesn’t exist]
SELECT meta_id, REPLACE(meta_key, ‘_stcr@_’, ”) AS email, post_id, SUBSTRING(meta_value, 1, 19) AS dt, SUBSTRING(meta_value, 21) AS status, srs.subscriber_unique_id AS email_key FROM wp_postmeta INNER JOIN wp_subscribe_reloaded_subscribers srs ON ( REPLACE(meta_key, ‘_stcr@_’, ”) = srs.subscriber_email ) WHERE meta_key LIKE ‘\_stcr@\_%’ AND SUBSTRING(meta_key, 8) LIKE ‘%@%’ ORDER BY dt DESC LIMIT 0,1000Errore sul database di WordPress: [Table ‘my_benessereblog.wp_subscribe_reloaded_subscribers’ doesn’t exist]
SELECT meta_id, REPLACE(meta_key, ‘_stcr@_’, ”) AS email, post_id, SUBSTRING(meta_value, 1, 19) AS dt, SUBSTRING(meta_value, 21) AS status, srs.subscriber_unique_id AS email_key FROM wp_postmeta INNER JOIN wp_subscribe_reloaded_subscribers srs ON ( REPLACE(meta_key, ‘_stcr@_’, ”) = srs.subscriber_email ) WHERE meta_key LIKE ‘\_stcr@\_%’ AND SUBSTRING(meta_key, 8) LIKE ‘%@%’ ORDER BY dt ASC LIMIT 0,18446744073709551610- This reply was modified 7 years, 2 months ago by steve92.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeForum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeIn the wp-content folder no there is debug.log file.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeIf I put this in config.php, no show errors
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’,0);If put only this define(‘WP_DEBUG’, true); show this:
The plugin generated 2108 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.What I do:

.htaccess
# BEGIN WPSuperCache # END WPSuperCache # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeI have other info: I activated debug in config.php and when I activate your plugin shows this message:
The plugin generated 313 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.Your plugin is good, but I don’t know what happened, I must to put this code in the config.php if I don’t put it shows error 404
define('WP_HOME','http://albenessereblog.altervista.org'); define('WP_SITEURL','http://albenessereblog.altervista.org');Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeYou must to be familiar with Altervista. You have 2 options:
Create the site as Alterblog (WordPress is already installed, but you don’t have access to the database), or as Altersito, here you must to download and install WordPress and you have full access to the database.However, I’m doing the tests myself. The databases are v.5.5.5, v.5.6.33 and v.5.6.35. What doesn’t work is v.5.6.33, but even the other site that works has the same version.
I don’t think the problem is the database version.
I like your plugin, I translated it into Italian, but there are entries in English that need to be translated into files to translate them. I use Loco Translation.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Does not work with Semicolon themeI did further tests and the situation becomes more mysterious:
As I was telling you, I created a site-test on Altervista and the database does created your plugin table.
Then I created another site-test but this time the table was not created in the database.I think that WordPress does not install correctly, but shows no errors. Usually I use FileZilla to upload files to the server.
- This reply was modified 7 years, 2 months ago by steve92.
