The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
I saw that code before, but i'm not able to show what i need...
|
#4
|
||||
|
||||
Where exactly do you want to show it? Which template?
|
#5
|
|||
|
|||
in bbcode_code
|
#6
|
||||
|
||||
Plugin at hook bbcode_create
PHP Code:
HTML Code:
{vb:raw this_uri} |
#7
|
|||
|
|||
Yes , is working, but if i have multiple code tags it's showing only at one ( first)
|
#8
|
||||
|
||||
I can't think of a way around that atm, sorry.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|