What is the reason that XF uses blobs instead of text?
Because i dont want to add millions of fields i put all data for my next add-on in one text_field xf_forum.xc_data;
it looks like:
When I need my values i can do it in templates with
$forum.xc_data.use_thread_icon
I can see what is happen in phpMyAdmin
I dont need to to any translation encoding, decoding, whatever.
But there must be a reason why xf uses blob instead of text?
Because i dont want to add millions of fields i put all data for my next add-on in one text_field xf_forum.xc_data;
it looks like:
Code:
{"use_thread_icon":1,"icon_list_size_x":49,"icon_list_size_y":49,"icon_top_size_x":248,"icon_top_size_y":248,"icon_where":1,"attach_icon":1}
When I need my values i can do it in templates with
$forum.xc_data.use_thread_icon
I can see what is happen in phpMyAdmin
I dont need to to any translation encoding, decoding, whatever.
But there must be a reason why xf uses blob instead of text?
Last edited: