2017-05-09, 05:09 PM
Hi everyone,
I am using ProPortal and I want to show news at the portal site, which shall be created from specific (existing) threads all over the forum. So I wanted to add a 3rd moderator option (checkbox) which let you mark a thread as "news thread". As a result of this checkbox the value shall be written into a new (custom) field into mybb_threads, which shall be read out in another php-file (which is not a problem).
I already added the additional checkbox, but I don't know where the database action is performed (I'm searching for the php-file to include my database-field to the UPDATE-query).
The form-action is performed somewhere in "newthread.php", but I couldn't find out what function is ready doing the database update/insert.
Can someone show me, where to find the responsible SQL-query to add my checkbox?
Thank you!
cya Igel
I am using ProPortal and I want to show news at the portal site, which shall be created from specific (existing) threads all over the forum. So I wanted to add a 3rd moderator option (checkbox) which let you mark a thread as "news thread". As a result of this checkbox the value shall be written into a new (custom) field into mybb_threads, which shall be read out in another php-file (which is not a problem).
I already added the additional checkbox, but I don't know where the database action is performed (I'm searching for the php-file to include my database-field to the UPDATE-query).
The form-action is performed somewhere in "newthread.php", but I couldn't find out what function is ready doing the database update/insert.
Can someone show me, where to find the responsible SQL-query to add my checkbox?
Thank you!
cya Igel