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
PHP Code:
[url="ewow.php?do=viewapplication&id={vb:raw userid}"]{vb:rawphrase ewow_app_application}[/url]
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 [DATE]1265724736[/DATE] at [TIME]1265724736[/TIME] ---------------
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
PHP Code:
$localdomain = $vbulletin->options['bburl'];
$templater->register('domain', $localdomain);
and then my link in my template is now
PHP Code:
[url="{vb:raw domain}/ewow.php?do=viewapplication&id={vb:raw userid}"]{vb:rawphrase ewow_app_application}[/url]
Well.. tx for letting me post threads.. lol..
/facepalm