The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
hello ,
how i get current page url without stylid=2 if it exist in the link .../index.php?styleid=2 i try this code : Code:
$url = explode('?', $vbulletin->url, 2);
// output $url[0]
--------------- Added [DATE]1415898889[/DATE] at [TIME]1415898889[/TIME] --------------- Solution : Code:
$fullurl = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$url = explode('?', $fullurl , 2);
// output $url[0]
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|