Announcement

Collapse
No announcement yet.

variable for the current location URL (vb3)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jake Bunce
    replied
    Originally posted by ataraxia
    Is there a variable that contains the current URL?

    $URL seems to give me the previous page
    You could use a combination of PHP variables that return pieces of the URL:

    http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]

    http://www.vbulletin.com/forum/index.php?

    I don't know how reliable these variables are.

    Originally posted by ataraxia
    For that matter, is there some reference file or webpage somewhere that lists all of the "standard" vB3 variables that are found in the styles? (Not the custom variables I can create.)
    A template reference guide is in the works.

    Leave a comment:


  • ataraxia
    started a topic variable for the current location URL (vb3)

    variable for the current location URL (vb3)

    Is there a variable that contains the current URL?

    $URL seems to give me the previous page

    For that matter, is there some reference file or webpage somewhere that lists all of the "standard" vB3 variables that are found in the styles? (Not the custom variables I can create.)

    Thanks!
    Last edited by ataraxia; Sun 5 Dec '04, 11:49am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X