TinyPortal
Development => Support => Topic started by: Ricky. on March 28, 2008, 10:03:15 AM
I created a central block and wanted it to appear only when people are starting new new thread / post.
So I choose custom action post as that is what I think will make it appear only when ppl are doing new posts.
Here is screenshot :
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg30.picoodle.com%2Fimg%2Fimg30%2F4%2F3%2F28%2Ff_whtthispostm_f3a2455.jpg&hash=ff3678009d98de2dd315599d1678d84420ab17f5)
But It is not visible anywhere.. not even when starting post.
... what this POST action actually do ? .. is it something related to "POST and GET" method thing ?
Its a bug in TP and it doesn't work.
so .. any idea to show a block only on Posting page ?
I want to remind of some necessary rule to users when the start a new thread / post.
if (isset($_GET['action']) && $_GET['action']=='post')
echo ' all the code you want inbetween these two single quotes that you want to show up on the post page';
Make sure you choose not to show the block title/frame or it will show empty unless you are on the post page.
Thanks, that was helpful.