Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: soo_txp_obj: OOP library for plugin development
When you say Preferences tab do you mean Admin->Preferences or multidoc plugin preferences (i.e., clicking the Options link in the plugin list)? I’ve been assuming the former, but want to be sure we’re talking about the same thing.
Edit: also, what version of soo_plugin_pref?
Last edited by jsoo (2009-10-24 20:29:32)
Code is topiary
Offline
Re: soo_txp_obj: OOP library for plugin development
Yes, Admin -> Preferences.
soo_plugin_pref: Version 0.2.2.
Offline
Re: soo_txp_obj: OOP library for plugin development
Grasping at straws, perhaps, but could you post all the fields for your multidoc prefs on both sites. That is, the output from this query:
select * from txp_prefs where name like 'soo_multidoc%'
Code is topiary
Offline
Re: soo_txp_obj: OOP library for plugin development
Hi Jeff,
on both sites it returns an empty set.
And I’ve a few more notes to share.
On remote server:
- soo_txp_obj (installed on database) and soo_multidoc not installed => Admin -> Preferences renders fine
- soo_txp_obj (installed on filesystem) and soo_multidoc not installed => Admin -> Preferences renders blank
- soo_txp_obj (installed on database) and soo_multidoc installed (on filesystem) => Admin -> Preferences renders blank
So, soo_txp_obj on filesystem triggers the blank page. But blank page is also being triggered by soo_multidoc when soo_txp_obj is on the database.
Offline
Re: soo_txp_obj: OOP library for plugin development
BTW, I’m using the ied_plugin_composer to check which plugins are installed on the plugin cache dir and to generate the “hard-file” version of plugins installed on the database (which I remove after generating the “hard-file” version).
But it seems that ied_plugin_composer doesn’t show the “Options” link on soo_multidoc (and not sure if it would show or any other plugin that enables the “Options” link), the one that would appear on a database installation of the same plugin.
Edit: it doesn’t show the “Options” link even if follow this steps:
1) re-install soo_plugin_prefs (after removing soo_multidoc)
2) active it
3) install soo_multidoc
4) active it.
The “Options” link isn’t there.
Last edited by maniqui (2009-10-24 22:26:52)
Offline
Re: soo_txp_obj: OOP library for plugin development
What’s the point in this OOP library again? Wasn’t it supposed to make everything easier, even if it were at the expense of plugin speed?
Last edited by TheEric (2009-10-24 23:43:14)
Offline
Re: soo_txp_obj: OOP library for plugin development
Just emailed you a request to send me those files (the versions generated by ied_plugin_composer). You could also download the source files from github and try those:
http://github.com/jsoo/Multidoc/blob/dev/soo_multidoc.php
http://github.com/jsoo/soo_txp_obj/blob/master/soo_txp_obj.php
Code is topiary
Offline
Re: soo_txp_obj: OOP library for plugin development
TheEric wrote:
What’s the point in this OOP library again? Wasn’t it supposed to make everything easier, even if it were at the expense of plugin speed?
Didn’t know that open source / freetime hobby needs a reason. If jsoo wants to develop and use thing called soo_txp_obj, then let him. Ok?
Offline
Re: soo_txp_obj: OOP library for plugin development
My hosting provider just updated to PHP 8.0, and now I get this:
Fatal error: Uncaught Error: Class “soo_html_table_component” not found in myserverpath/textpattern/plugins/soo_txp_obj/soo_txp_obj.php:1394 Stack trace: #0 myserverpath/textpattern/lib/txplib_misc.php(1153): include_once() #1 myserverpath/textpattern/lib/txplib_misc.php(1175): load_plugin(‘soo_txp_obj’) #2 myserverpath/textpattern/plugins/soo_image/soo_image.php(3): require_plugin(‘soo_txp_obj’) #3 myserverpath/textpattern/lib/txplib_misc.php(1479): include(‘/customers/4/e/…’) #4 myserverpath/textpattern/index.php(210): load_plugins(1) #5 {main} thrown in myserverpath/textpattern/plugins/soo_txp_obj/soo_txp_obj.php on line 1394
I’ve been happily using soo_image and soo_txp_obj for all my image displaying needs for an absolute donkey’s. Is there a way to fix it for PHP 8.0, or must I change my ways?
Offline
#25 2025-05-29 05:15:52
- craigdrown
- Member
- Registered: 2006-01-02
- Posts: 21
Re: soo_txp_obj: OOP library for plugin development
soo_txp_obj has been updated to v 1.1.3 that has PHP 8 compatibility
New version at http://ipsedixit.net/txp/56/download-soo_txp_obj (Github not updated AFAICS)
Thanks Jeff!
Offline
Re: soo_txp_obj: OOP library for plugin development
This thing is still around?
Offline
Re: soo_txp_obj: OOP library for plugin development
TheEric wrote #340791:
This thing is still around?
Evidently, if you follow the link. It works … also on the current PHP 8.4. True, subsequent developments to textpattern’s own tags have made plugins like soo_images that use this library mostly redundant, but for those upgrading older sites and not wanting to change their templates, it’s good that it still works.
TXP Builders – finely-crafted code, design and txp
Offline