Plugin Author
Malcolm
(@malcolm-oph)
The ticket type is, as you say, currently limited to 10 characters, and is “hard-coded” with a PHP constant (STAGESHOW_PRICETYPE_TEXTLEN). At present the only way to customise this value, and thus change the length of the ticket type, is to change the definition in stageshow_dbase_api.php.
I intend to recode this constant definition (and any other similar ones) so it can be re-defined in wp-config.php, and will add the modification to the next release.
The Box Office output is sorted by Show Name, then Performance Date/Time and then by Ticket Type. Is this what you were referring to? If your site is “public” perhaps you could email a link and I’ll have a look 🙂
Plugin Author
Malcolm
(@malcolm-oph)
To change the maximum length of the Ticket Type entry:
Update plugin to version 2.5.3.1
Add the following entry to your wp-config.php
define(‘STAGESHOW_PRICETYPE_TEXTLEN’, NN);
where NN is the maximum number of characters allowed.
Note: Changes to CSS may be required to adjust the formatting of Box-Office and Admin pages.
Does this still work? After saving the ticket type it crops the end.
Plugin Author
Malcolm
(@malcolm-oph)
Yes, It does still work.
Note that you will need to Deactivate and then Activate the plugin before using it, so the definition of the entry in the Database Table is updated.
Sorry I never responded to this. I found another way around it, though I don’t recall what that was. It was a one-time event months ago.
Thanks, though!