hi, i have modified the phpBB2 wapgate 2.0.1 and i am trying to put on waptopic page
a messages jumpbox for going to a direct message number choosen by user;
for exemple if topic has 17 messages , writing n. 8 on it ,the user can
see message n.8
i done this:
?><input name="s" type="text" format="*n" maxlength="8" emptyok="true"/>
<anchor>vai
<go href="waptopic.php?s=$(s)&topic=$(s)&forum =$(s) "method="post">
</go>
</anchor><?
but it don't works..it shows always "Sorry, that thread does not exist."
the waptopic.php page of wapgate starts as:
require 'wapheader.php';
$topic = (empty($_GET['topic'])) ? "-1" : $_GET['topic'];
$start = (empty($_GET['s'])) ? "0" : $_GET['s'];
$forum_id = (empty($_GET['forum'])) ? "0" : $_GET['forum'];
$go = ($topic == -1) ? ("Sorry, that thread does not exist.") : ("1");
echo($header);
WHERE IS THE WRONG IN THE JUMPBOX CODE I DONE?
a messages jumpbox for going to a direct message number choosen by user;
for exemple if topic has 17 messages , writing n. 8 on it ,the user can
see message n.8
i done this:
?><input name="s" type="text" format="*n" maxlength="8" emptyok="true"/>
<anchor>vai
<go href="waptopic.php?s=$(s)&topic=$(s)&forum =$(s) "method="post">
</go>
</anchor><?
but it don't works..it shows always "Sorry, that thread does not exist."
the waptopic.php page of wapgate starts as:
require 'wapheader.php';
$topic = (empty($_GET['topic'])) ? "-1" : $_GET['topic'];
$start = (empty($_GET['s'])) ? "0" : $_GET['s'];
$forum_id = (empty($_GET['forum'])) ? "0" : $_GET['forum'];
$go = ($topic == -1) ? ("Sorry, that thread does not exist.") : ("1");
echo($header);
WHERE IS THE WRONG IN THE JUMPBOX CODE I DONE?
Comment