Vaupell
02-09-2010, 12:02 PM
Working on a mod, that creates a new thread,
and it works fine, i make the thread via a template installed.
Now i want to incoorperate a link via this method,
and i cant use html cause its a thread/post, well i could
but if its installed on a forum that disallow html it wont work..
so no html..
this is the link i got im my template im trying to get working.
EDIT : OMG had to put it in PHP BB, cause using the CODE around it, still makes it run bbcodes
{vb:rawphrase ewow_app_application} (ewow.php?do=viewapplication&id={vb:raw userid})
Link is posted fine..
But the link when clicking it tryes to open ewow.php as a website itself,
thats wrong, it should only open "local" tryed adding ./ infront but nope..
Any ideas how to use the bb url code as local link ?
--------------- Added 1265724736 at 1265724736 ---------------
As usual,, solved after posting..
was looking at this issue for 15mins, couldnt figure it out..
posted the thread,, looked at it,, then DOOOOHHH
bburl from vbulletin settings. omfg..
made a var in the phpfile calling bburl
$localdomain = $vbulletin->options['bburl'];
$templater->register('domain', $localdomain);
and then my link in my template is now
{vb:rawphrase ewow_app_application} ({vb:raw domain}/ewow.php?do=viewapplication&id={vb:raw userid})
Well.. tx for letting me post threads.. lol..
/facepalm
and it works fine, i make the thread via a template installed.
Now i want to incoorperate a link via this method,
and i cant use html cause its a thread/post, well i could
but if its installed on a forum that disallow html it wont work..
so no html..
this is the link i got im my template im trying to get working.
EDIT : OMG had to put it in PHP BB, cause using the CODE around it, still makes it run bbcodes
{vb:rawphrase ewow_app_application} (ewow.php?do=viewapplication&id={vb:raw userid})
Link is posted fine..
But the link when clicking it tryes to open ewow.php as a website itself,
thats wrong, it should only open "local" tryed adding ./ infront but nope..
Any ideas how to use the bb url code as local link ?
--------------- Added 1265724736 at 1265724736 ---------------
As usual,, solved after posting..
was looking at this issue for 15mins, couldnt figure it out..
posted the thread,, looked at it,, then DOOOOHHH
bburl from vbulletin settings. omfg..
made a var in the phpfile calling bburl
$localdomain = $vbulletin->options['bburl'];
$templater->register('domain', $localdomain);
and then my link in my template is now
{vb:rawphrase ewow_app_application} ({vb:raw domain}/ewow.php?do=viewapplication&id={vb:raw userid})
Well.. tx for letting me post threads.. lol..
/facepalm