![]() |
How to show REQUEST URI
Hello there,
I'm interested how to show in a template my URL address (REQUEST URI) $_SERVER['SERVER_NAME'] $_SERVER['REQUEST_URI'] thanks. |
AFAIK this information is not available in predefined variables. You need to create a plugin that saves that information into variables, then register/preregister them to be available in the template.
See: https://vborg.vbsupport.ru/showthread.php?t=228078 |
I saw that code before, but i'm not able to show what i need...
|
Where exactly do you want to show it? Which template?
|
in bbcode_code
|
Plugin at hook bbcode_create
PHP Code:
HTML Code:
{vb:raw this_uri} |
Yes , is working, but if i have multiple code tags it's showing only at one ( first)
|
I can't think of a way around that atm, sorry.
|
All times are GMT. The time now is 07:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|