Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Making your plugins 4.7-aware
IIRC, prefs_id
field has been removed at some point (may be even in 4.6).
Offline
#14 2018-03-16 19:43:02
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Making your plugins 4.7-aware
Thanks, Oleg. I’ve removed all n instances of the code in question and all errors are gone now. Yet, the plugin still isn’t working (doesn’t write altered prefs to the DB). Will have to wait until it gets a final repair.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Making your plugins 4.7-aware
uli wrote #310035:
I’ve removed all n instances of the code in question and all errors are gone now. Yet, the plugin still isn’t working (doesn’t write altered prefs to the DB). Will have to wait until it gets a final repair.
Weird, I don’t see in the code what (after prefs_id
is removed) could be wrong.
Offline
#16 2018-03-16 23:38:44
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Making your plugins 4.7-aware
etc wrote #310046:
Weird, I don’t see in the code what (after
prefs_id
is removed) could be wrong.
I appreciate very much that you looked into the code.
When you try to change e.g. the paths to mysql/mysqldump, do they get stored in your installation? Mine are “reset” on saving.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Making your plugins 4.7-aware
uli wrote #310047:
I appreciate very much that you looked into the code.
When you try to change e.g. the paths to mysql/mysqldump, do they get stored in your installation? Mine are “reset” on saving.
^^ bug confirmed. Also the “save” button in the “DB Backup” page reads save_button
.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Making your plugins 4.7-aware
This works on 4.7 for me:
# Name: rss_admin_db_manager v4.4.1
# Type: Admin/Public plugin
# Database management system.
# Author: Rob Sable
# URL: http://www.wilshireone.com/
# Recommended load order: 5
# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................
YToxMTp7czo0OiJuYW1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BoY2VsbCgiSW5kZXggVXNh
Z2UiKS4NCiAgICAgICAgaGNlbGwoIlRvdGFsIFVzYWdlIikuDQogICAgICAgIGhjZWxsKCJP
dmVyaGVhZCIpLg0KICAgICAgICAvL2hjZWxsKCJPcHRpbWl6ZSIpLg0KICAgICAgICBoY2Vs
bCgiRXJyTm8iKS4NCiAgICAgICAgaGNlbGwoIlJlcGFpciIpLg0KICAgICAgICBoY2VsbCgi
QmFja3VwIikuDQogICAgICAgIGhjZWxsKCJEcm9wIikNCiAgICApOw0KDQogICAgICAgIGlm
KHZlcnNpb25fY29tcGFyZSgkc3FsdmVyc2lvblsndmVyc2lvbiddLCAnMy4yMycsICc+PScp
KSB7DQogICAgICAgICAgICAkbm8gPSAwOw0KICAgICAgICAgICAgJHJvd191c2FnZSA9IDA7
DQogICAgICAgICAgICAkZGF0YV91c2FnZSA9IDA7DQogICAgICAgICAgICAkaW5kZXhfdXNh
Z2UgPSAgMDsNCiAgICAgICAgICAgICRvdmVyaGVhZF91c2FnZSA9IDA7DQogICAgICAgICAg
ICAkYWxsdGFicyA9IGFycmF5KCk7DQoNCiAgICAgICAgICAgICR0YWJsZXNzdGF0dXMgPSBn
ZXRSb3dzKCJTSE9XIFRBQkxFIFNUQVRVUyIpOw0KICAgICAgICAgICAgZm9yZWFjaCgkdGFi
bGVzc3RhdHVzIGFzICAkdGFibGVzdGF0dXMpIHsNCiAgICAgICAgICAgICAgICBleHRyYWN0
KCR0YWJsZXN0YXR1cyk7DQoNCiAgICAgICAgICAgICAgICAkcSA9ICJTSE9XIEtFWVMgRlJP
TSBgIi4kTmFtZS4iYCI7DQogICAgICAgICAgICAgICAgc2FmZV9xdWVyeSgkcSk7DQogICAg
ICAgICAgICAgICAgJG15c3FsRXJybm8gPSBteXNxbGlfZXJybm8oJERCLT5saW5rKTsNCiAg
ICAgICAgICAgICAgICAkYWxsdGFic1tdID0gJE5hbWU7DQoNCiAgICAgICAgICAgICAgICAk
Y29sb3IgPSAoJG15c3FsRXJybm8gIT0gMCkgPyAnIHN0eWxlPSJjb2xvcjojRDEwMDAwOyIn
IDogJyBzdHlsZT0iY29sb3I6IzRCOUYwMDsiJzsNCiAgICAgICAgICAgICAgICAkY29sb3Iy
ID0gKCREYXRhX2ZyZWUgPiAwKSA/ICcgc3R5bGU9ImNvbG9yOiNEMTAwMDA7IicgOiAnIHN0
eWxlPSJjb2xvcjojNEI5RjAwOyInOw0KICAgICAgICAgICAgICAgICRzdHlsZSA9ICgkbm8l
MiA9PSAwKSA/ICcgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNlZWU7IicgOiAnJzsNCg0K
ICAgICAgICAgICAgICAgICRubysrOw0KICAgICAgICAgICAgICAgICRyb3dfdXNhZ2UgKz0g
JFJvd3M7DQogICAgICAgICAgICAgICAgJGRhdGFfdXNhZ2UgKz0gJERhdGFfbGVuZ3RoOw0K
ICAgICAgICAgICAgICAgICRpbmRleF91c2FnZSArPSAgJEluZGV4X2xlbmd0aDsNCiAgICAg
ICAgICAgICAgICAkb3ZlcmhlYWRfdXNhZ2UgKz0gJERhdGFfZnJlZTsNCg0KICAgICAgICAg
ICAgICAgIGVjaG8NCiAgICAgICAgICAgICAgICB0cigNCiAgICAgICAgICAgICAgICAgICAg
dGQoJG5vKS4NCiAgICAgICAgICAgICAgICAgICAgdGQoaHJlZigkTmFtZSwgImluZGV4LnBo
cD9ldmVudD1yc3Nfc3FsX3J1biZhbXA7dG49Ii4kTmFtZSkpLg0KICAgICAgICAgICAgICAg
ICAgICB0ZCgiICIuJFJvd3MpLg0KICAgICAgICAgICAgICAgICAgICB0ZChwcmV0dHlGaWxl
U2l6ZSgkRGF0YV9sZW5ndGgpKS4NCiAgICAgICAgICAgICAgICAgICAgdGQocHJldHR5Rmls
ZVNpemUoJEluZGV4X2xlbmd0aCkpLg0KICAgICAgICAgICAgICAgICAgICB0ZChwcmV0dHlG
aWxlU2l6ZSgkRGF0YV9sZW5ndGggKyAkSW5kZXhfbGVuZ3RoKSkuDQogICAgICAgICAgICAg
ICAgICAgIHRkYShwcmV0dHlGaWxlU2l6ZSgkRGF0YV9mcmVlKSwgJGNvbG9yMikuDQogICAg
ICAgICAgICAgICAgICAgIHRkYSgiICIuJG15c3FsRXJybm8sICRjb2xvcikuDQogICAgICAg
ICAgICAgICAgICAgIHRkKGhyZWYoIlJlcGFpciIsICJpbmRleC5waHA/ZXZlbnQ9cnNzX2Ri
X21hbiZhbXA7cmVwX3RhYmxlPSIuJE5hbWUpKS4NCiAgICAgICAgICAgICAgICAgICAgdGQo
aHJlZigiQmFja3VwIiwgImluZGV4LnBocD9ldmVudD1yc3NfZGJfYmsmYW1wO2JrPTEmYW1w
O2JrX3RhYmxlPSIuJE5hbWUpLg0KICAgICAgICAgICAgICAgICAgICAnPHRkPjxhIGhyZWY9
ImluZGV4LnBocD9ldmVudD1yc3NfZGJfbWFuJmFtcDtkcm9wX3RhYmxlPScuJE5hbWUuJyIg
IG9uY2xpY2s9InJldHVybiB2ZXJpZnkoXCcnLmdUeHQoJ2FyZV95b3Vfc3VyZScpLidcJyki
PkRyb3A8L2E+PC90ZD4nKSwgJHN0eWxlDQogICAgICAgICAgICAgICAgKTsNCiAgICAgICAg
ICAgIH0NCg0KICAgICAgICAgICAgZWNobw0KICAgICAgICAgICAgdHIoDQogICAgICAgICAg
ICAgICAgaGNlbGwoIlRvdGFsIikuDQogICAgICAgICAgICAgICAgaGNlbGwoJG5vLiIgVGFi
bGVzIikuDQogICAgICAgICAgICAgICAgaGNlbGwobnVtYmVyX2Zvcm1hdCgkcm93X3VzYWdl
KSkuDQogICAgICAgICAgICAgICAgaGNlbGwocHJldHR5RmlsZVNpemUoJGRhdGFfdXNhZ2Up
KS4NCiAgICAgICAgICAgICAgICBoY2VsbChwcmV0dHlGaWxlU2l6ZSgkaW5kZXhfdXNhZ2Up
KS4NCiAgICAgICAgICAgICAgICBoY2VsbChwcmV0dHlGaWxlU2l6ZSgkZGF0YV91c2FnZSAr
ICRpbmRleF91c2FnZSkpL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gICAgICAgICAgICAgJHJzZFtdID0NCiAgICAg
ICAgICAgICAgJzxkaXYgY2xhc3M9InNjcm9sbFdyYXBwZXIiPicuc3RhcnRUYWJsZSgnbGlz
dCcsICcnLCAnc2Nyb2xsYWJsZScpLg0KICAgICAgICAgICAgICAnPHRoZWFkPicudHIoJGhl
YWRlcnMpLic8L3RoZWFkPjx0Ym9keT4nOw0KDQogICAgICAgICAgICAgIHdoaWxlICgkYSA9
IG15c3FsaV9mZXRjaF9hc3NvYygkcnVuX3F1ZXJ5KSkgJG91dFtdID0gJGE7DQogICAgICAg
ICAgICAgIG15c3FsaV9mcmVlX3Jlc3VsdCgkcnVuX3F1ZXJ5KTsNCg0KICAgICAgICAgICAg
ICBmb3JlYWNoICgkb3V0IGFzICRiKSB7DQogICAgICAgICAgICAgICAgJGRhdGEgPSAiIjsN
CiAgICAgICAgICAgICAgICBmb3JlYWNoICgkYiBhcyAkZikgew0KICAgICAgICAgICAgICAg
ICAgJGRhdGEuPXRkKCRmKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAg
JHJzZFtdID0gdHIoJGRhdGEpOw0KICAgICAgICAgICAgICB9DQoNCiAgICAgICAgICAgICAg
JHJzZFtdID0gJzwvdGJvZHk+Jy5lbmRUYWJsZSgpLic8L2Rpdj4nLmJyOw0KICAgICAgICAg
ICAgICAkb3V0ID0gYXJyYXkoKTsNCiAgICAgICAgICAgIH0gZWxzZSB7DQogICAgICAgICAg
ICAgICR0ZXh0IC49IGdyYWYobXlzcWxpX2Vycm9yKCREQi0+bGluayksICcgc3R5bGU9ImNv
bG9yOiNEMTAwMDA7IicpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICR0ZXh0IC49IGdy
YWYoJHNxbF9xdWVyeSwgJyBzdHlsZT0iY29sb3I6I0QxMDAwMDsiJyk7DQogICAgICAgICAg
JHRvdGFscXVlcnljb3VudCsrOw0KICAgICAgICB9IGVsc2VpZiAocHJlZ19tYXRjaCgiL15c
XHMqK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C9saT4KCQk8bGk+SGVpa2tpIFlsPC9wPiI7
czozOiJtZDUiO3M6MzI6IjZlOTdjZDNmNzRhNGExOTMwODJmNzU4Y2YxMzY2MGU3Ijt9
Offline
Re: Making your plugins 4.7-aware
etc wrote #310057:
This works on 4.7 for me:
# Name: rss_admin_db_manager v4.4.1...
Confirmed. It works for me too now. Thanks so much Oleg.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#20 2018-03-17 12:40:12
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Making your plugins 4.7-aware
Yay, prefs are saved, and the backups are correctly created, not just pseudo ones in 20b-sizes. Thank you very much, Oleg, for fixing this super-important plugin! :))
I noticed one thing, though, and I can’t tell if I had that already. On the Diagnostics panel, and only there, when Debug mode is on I get an error, twice:
Notice "Undefined index: success"
in /Users/Uli/Sites/txp470-dev/textpattern/include/txp_diag.php at line 173.
textpattern/include/txp_diag.php:173 adminErrorHandler()
textpattern/include/txp_diag.php:499 diag_msg_wrap()
textpattern/include/txp_diag.php:66 doDiagnostics()
textpattern/index.php:252 include()
Do you guys get this, too, with rss_admin_db_manager installed?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Making your plugins 4.7-aware
Uli, are you sure you have the latest greatest dev? We had this error in the first beta, but it should be patched now.
Offline
#22 2018-03-17 14:22:28
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Making your plugins 4.7-aware
etc wrote #310076:
Uli, are you sure you have the latest greatest dev? We had this error in the first beta, but it should be patched now.
I just downloaded and installed the beta yesterday. Now with the latest nightly the errors are gone. Thanks!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Making your plugins 4.7-aware
Hi, I’m wondering if there is a kind a good practice or convention for naming plugin related global attributes? I know the txp-
prefix is reserved but how should we avoid clashes between two plugins with same global attribute names?
Thanks.
Last edited by NicolasGraph (2018-07-13 07:51:43)
Offline
Re: Making your plugins 4.7-aware
NicolasGraph wrote #313010:
Hi, I’m wondering if there is a kind a good practice or convention for naming plugin related global attributes? I know the
txp-
prefix is reserved but how should we avoid clashes between two plugins with same global attribute names?
I guess the same convention applies that for the tags: you should prefix them, but you don’t have to. The parser does not care, fwiw.
Offline