Quote:
Originally Posted by merk
You cant have the # character in a query string. It is a delimiter that the browser uses to scroll.
|
That's one of the reasons why I am attempting to use an external script
that and the fact htat I don't want 20 rewrites :-)
There must be a way to handle this externally? I've done it but the Phrases don't seem to show up....
Any takers?
This is how I'm going to showthread.pph script from myscript.php
PHP Code:
require_once('./global.php');
global $vbulletin;
$vbulletin->input->clean_gpc('r', 'goto', TYPE_STR);
// doing showthread.php?t=X&goto=newpost
$vbulletin->GPC['goto'] = 'newpost';
$threadid = <some real threadid here is placed as a test>;
require_once('./showthread.php');
exit;
Now -- it does work, except the PHRASES are not there (at leas tnot all of them). Only guess I've had is that global.php is being executed too early..
Any takers? Please!! :banana: