Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Getting forum url?
Hey, whats the best way to get forums url in php?
Thanks Aidan
Thanks Aidan
0
Best Answer
-
Todd Vanilla StaffI'd do this:
$Url = Url('/', TRUE);
The first parameter is the path you want and the second parameter tells the function to include the domain. There is another similar function:$Url = ExternalUrl('/');
This function is used in emails and whatnot and is useful if you are embedding your forum.0
Answers