onliniak
Forum Replies Created
-
Forum: Plugins
In reply to: [Post My CF7 Form] Default post categoriesIt’s me again,
I have the stupidest answer in the world. I chose the empty select option and wanted to map the WordPress categories (default), but the plug did not show anything. It turned out that CSP’s policy was guilty, or rather my misunderstanding of the plugin’s operation. I thought that, just like my own field, the connection will come from backfront, and it turns out that the categories are mapped live by a javascript.
So, sorry from problem and I have feature request → if possible move category mapping to backend by cron or something similar. If not possible or very specific, I understand.
Forum: Plugins
In reply to: [Post My CF7 Form] Default post categoriesStupid question → I try map manually cats with id 2,3,4 and slugs category1, category2, category3. Hook option give me cf7_2_post_filter-category :
add_filter(‘cf7_2_post_filter-category’,’filter_category’,10,3);
function filter_category($value, $post_id, $form_data){
$value = array((2),(3),(4)); // My IDs
$post_id = 1207; // Post ID
$form_data = array( //’radio name’ => ID
‘category’ => 2,
‘category2’ => 3,
‘category3’ => 4,);
};Question → How I can select category ID ?
Forum: Plugins
In reply to: [Post My CF7 Form] Default post categoriesOK … I am try another way.
1. New form.
2. Empty checkbox [checkbox checkbox-362].
3. Taxonomies → WordPress default categories.
4. Refresh permalinks.
5. Display form … with empty checkbox.
5.5. Strange … it works only with custom post, when I change to exiting post taxonomy is broken. They change to empty category with slug category.So I have simple question → how can I map checkbox/radio/select to WordPress categories like in every guest post plugin ?
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Backup problemI resolve my problem (and propably your).
You must open phpMyAdmin → sql → paste all text without DROP TABLE IF EXISTSxyz; and /*!40101 SET character_set_client = @saved_cs_client */;For example you have “DROP TABLE IF EXISTS
wp_postmeta;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = ‘utf8mb4’ */;
CREATE TABLEwp_postmeta(
meta_idbigint(20) unsigned NOT NULL AUTO_INCREMENT,
post_idbigint(20) unsigned NOT NULL DEFAULT ‘0’,
meta_keyvarchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
meta_valuelongtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (meta_id),
KEYpost_id(post_id),
KEYmeta_key(meta_key(191)),
KEYmeta_id(meta_id,post_id,meta_key),
KEYmeta_id_2(meta_id,post_id,meta_key)
) ENGINE=InnoDB AUTO_INCREMENT=115904 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;”Open sql and paste ”
CREATE TABLEwp_postmeta(
meta_idbigint(20) unsigned NOT NULL AUTO_INCREMENT,
post_idbigint(20) unsigned NOT NULL DEFAULT ‘0’,
meta_keyvarchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
meta_valuelongtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (meta_id),
KEYpost_id(post_id),
KEYmeta_key(meta_key(191)),
KEYmeta_id(meta_id,post_id,meta_key),
KEYmeta_id_2(meta_id,post_id,meta_key)
) ENGINE=InnoDB AUTO_INCREMENT=115904 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;”- This reply was modified 9 years, 3 months ago by onliniak.
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Backup problemI have problem with backup too.
1) normal backup.
ErrorSQL query:
DROP TABLE IF EXISTS
crypto_filesMySQL said: Documentation
#1046 –2) backup after delete “drop table if exist”
ErrorSQL query:
CREATE TABLE
crypto_files(
fileIDint(11) unsigned NOT NULL AUTO_INCREMENT,
fileTitlevarchar(100) NOT NULL DEFAULT ”,
activetinyint(1) NOT NULL DEFAULT ‘1’,
fileNamevarchar(100) NOT NULL DEFAULT ”,
fileSizedouble(15,0) NOT NULL DEFAULT ‘0’,
fileTexttext,
priceUSDdouble(10,2) NOT NULL DEFAULT ‘0.00’,
priceCoindouble(17,5) NOT NULL DEFAULT ‘0.00000’,
priceLabelvarchar(6) NOT NULL DEFAULT ”,
purchasesmediumint(8) NOT NULL DEFAULT ‘0’,
userFormatenum(‘MANUAL’,’COOKIE’,’SESSION’,’IPADDRESS’) NOT NULL,
expiryPeriodvarchar(15) NOT NULL DEFAULT ”,
langvarchar(2) NOT NULL DEFAULT ”,
defCoinvarchar(5) NOT NULL DEFAULT ”,
defShowtinyint(1) NOT NULL DEFAULT ‘1’,
imagevarchar(100) NOT NULL DEFAULT ”,
imageWidthsmallint(5) NOT NULL DEFAULT ‘0’,
priceShowtinyint(1) NOT NULL DEFAULT ‘1’,
paymentCntsmallint(5) NOT NULL DEFAULT ‘0’,
paymentTimedatetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’,
`u[…]MySQL said: Documentation
#1046 –3) sometimes backup work but delete one, two tables from database (wp-post and/or wp-pages)
Now I need restore backup, because I lost all post and pages from database.
- This reply was modified 9 years, 3 months ago by onliniak.
Forum: Plugins
In reply to: [BridgeDD] BridgeDD requires apc.stat set to “1”.Thank you for help
Thank you, after lattest update work/
@ Iron Dove
Try reinstall plugin or start use force ssl 😉
For me work …