altering the posting.php to be able to post like the phpbb2

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
tdemisar
New member
New member
Posts: 1
Joined: 23 Sep 2008, 10:15
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

altering the posting.php to be able to post like the phpbb2

Postby tdemisar » 23 Sep 2008, 13:21

Hello and nice to meet you all!



I have a challenge that troubles my mind some time now and I needed your help



I will try to be as simple as possible because my knowledge on this matters are a little bit limited



In a few words I m trying to transform the posting.php file of phpbb3 to be able to post like the phpbb2



The diference between the v2 and v3 has to do mainly with the GET and POST.Thus in phpbb2 the action url when hovering your mouse above "submit button" is ".posting.php?" while in phpbb3 its "posting.php?posting.php?mode=reply&f=35&t=5"



So my main concern is because the parameters are passed into $_GET how can I change the POST REPLY buttons to be input buttons with the form type to posting.php and fill the hidden parameters with the rest(like topic_id,forum_id,sid and such)?


thanks in advance

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: altering the posting.php to be able to post like the php

Postby igorw » 24 Sep 2008, 18:19

I wonder what is the reason why you need this?

- we're poor!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 17 guests