This is the official support thread for Original Poster Image.
First of all, please be nice, this is my first released plugin.
The following is no longer an issue as of version 1.2.
:>
Possible issue(s):
I was first playing around with this idea and decided to first hard-code it in and see if it even worked, it worked just fine with the code in fucntions_post.php - but I knew that it wasn't good to hard-code things in there so decided to go with a plugin.
This didn't seem to work for me, so what I was able to do was get the plugin to insert the code into the file, and remove it when the plugin is disabled.
Now, you're meant to have to CHMOD functions_post.php before activating/deactivating the plugin, but it seems to work without doing that for me.
So if you are having issues, please try changing the CHMOD setting of inc/functions_post.php to 777.
Also, once you are finished activating/deactivating the plugin, please restore the CHMOD back to what it was, probably 644.
If you're upgrading MyBB and it changes the functions_post.php file then you will have to disable and enable the plugin again to make the changes to the file yet again. This is the obvious disadvantage of editing files...
First of all, please be nice, this is my first released plugin.
The following is no longer an issue as of version 1.2.
:>
Possible issue(s):
I was first playing around with this idea and decided to first hard-code it in and see if it even worked, it worked just fine with the code in fucntions_post.php - but I knew that it wasn't good to hard-code things in there so decided to go with a plugin.
This didn't seem to work for me, so what I was able to do was get the plugin to insert the code into the file, and remove it when the plugin is disabled.
Now, you're meant to have to CHMOD functions_post.php before activating/deactivating the plugin, but it seems to work without doing that for me.
So if you are having issues, please try changing the CHMOD setting of inc/functions_post.php to 777.
Also, once you are finished activating/deactivating the plugin, please restore the CHMOD back to what it was, probably 644.
If you're upgrading MyBB and it changes the functions_post.php file then you will have to disable and enable the plugin again to make the changes to the file yet again. This is the obvious disadvantage of editing files...