The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to echo the URL on the page?
How can I show the URL of the page you are on somewhere on the page?
I run a forum with multiple domains and want to echo which domain each user is using on the page for them to see. Cheers |
#2
|
|||
|
|||
anyone?
|
#3
|
|||
|
|||
Even telling me it is impossible would help FFS......
|
#4
|
|||
|
|||
excellent support....
|
#5
|
||||
|
||||
In your AdminCP open up your style and go to edit templates. Put the following text in there where you want it to display:
Code:
http://$_SERVER['SERVER_NAME']$_SERVER['REQUEST_URI'] One thing you may need to be aware of is if you use mod_rewrite... Things make look a little funny. |
#6
|
|||
|
|||
Quote:
I know very little about coding at all, or I would have tried to help myself :-) Cheers for trying anyway. |
#7
|
||||
|
||||
Oh! Sorry, that was my mistake. I was using the old 3.x standard. Use this instead:
Code:
http://{vb:raw $_SERVER['SERVER_NAME']}{vb:raw $_SERVER['REQUEST_URI']} |
#8
|
|||
|
|||
Quote:
Cheers fella, cyber pint to you if there is such a thing Many Thanks for your help. |
#9
|
||||
|
||||
Glad to help. Kinda surprised it took this long for you to get a response about it, though. C'est la vie, no?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|