Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
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:
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...
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...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.