MyBB Community Forums

Full Version: add button into showthread.php to check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

i'm using myBB and i try to complete a modification (or a plugin).

I create a table (into myBB database) where there is a variable (true or false) for every thread. For example there is the table "newtable" with the following data:

threadID:1 threadVar:true
threadID:2 threadVar:false
threadID:3 threadVar:true

i want to know if it's possible to add a button to showthread.php template and when a user (quest or member) click on it check if the threadVar is true or false (for the thread that the user read).

any help......please

*** sorry for my English!Blush
That's exactly what I need too! Who has the courage to do it?