TinyPortal

Development => Support => Topic started by: Ricky. on March 28, 2008, 10:03:15 AM

Title: What do custom action post actually do ?
Post 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 ?
Title: Re: What do custom action post actually do ?
Post by: IchBin on March 28, 2008, 01:17:40 PM
Its a bug in TP and it doesn't work.
Title: Re: What do custom action post actually do ?
Post by: Ricky. on March 28, 2008, 11:20:53 PM
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.
Title: Re: What do custom action post actually do ?
Post by: IchBin on March 28, 2008, 11:36:45 PM

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.
Title: Re: What do custom action post actually do ?
Post by: Ricky. on March 30, 2008, 07:28:13 PM
Thanks, that was helpful.