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_id
bigint(20) unsigned NOT NULL AUTO_INCREMENT,
post_id
bigint(20) unsigned NOT NULL DEFAULT ‘0’,
meta_key
varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
meta_value
longtext 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_id
bigint(20) unsigned NOT NULL AUTO_INCREMENT,
post_id
bigint(20) unsigned NOT NULL DEFAULT ‘0’,
meta_key
varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
meta_value
longtext 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 7 years, 9 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_files
MySQL said: Documentation
#1046 –2) backup after delete “drop table if exist”
ErrorSQL query:
CREATE TABLE
crypto_files
(
fileID
int(11) unsigned NOT NULL AUTO_INCREMENT,
fileTitle
varchar(100) NOT NULL DEFAULT ”,
active
tinyint(1) NOT NULL DEFAULT ‘1’,
fileName
varchar(100) NOT NULL DEFAULT ”,
fileSize
double(15,0) NOT NULL DEFAULT ‘0’,
fileText
text,
priceUSD
double(10,2) NOT NULL DEFAULT ‘0.00’,
priceCoin
double(17,5) NOT NULL DEFAULT ‘0.00000’,
priceLabel
varchar(6) NOT NULL DEFAULT ”,
purchases
mediumint(8) NOT NULL DEFAULT ‘0’,
userFormat
enum(‘MANUAL’,’COOKIE’,’SESSION’,’IPADDRESS’) NOT NULL,
expiryPeriod
varchar(15) NOT NULL DEFAULT ”,
lang
varchar(2) NOT NULL DEFAULT ”,
defCoin
varchar(5) NOT NULL DEFAULT ”,
defShow
tinyint(1) NOT NULL DEFAULT ‘1’,
image
varchar(100) NOT NULL DEFAULT ”,
imageWidth
smallint(5) NOT NULL DEFAULT ‘0’,
priceShow
tinyint(1) NOT NULL DEFAULT ‘1’,
paymentCnt
smallint(5) NOT NULL DEFAULT ‘0’,
paymentTime
datetime 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 7 years, 9 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 …