The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
IF URL Contains 'X' Code?
Is there a way to retrieve the URL in VB code similar to a php function that would be like:
PHP Code:
vb:if condition="$GLOBALS[forumid]== foo" But since /gallery isn't a forum and doesn't have a forum id... what should I use to find if the URL contains /gallery, any suggestions?? |
#2
|
||||
|
||||
This is still not the thread for the gallery mod, as I suggested, post it in the mods thread, you may have more luck there.
|
#3
|
||||
|
||||
Could you guys make it any more difficult? How about a link to the right forum, since you can't move the thread?
As I said in the other thread you wouldn't move, this isn't the VBULLETIN GALLERY. -- I'm not asking a complex question. All I want to know is: Is there a vb variable for the URL similar to the php function SERVER 'REQUEST_URI' (brackets removed) This isn't a request for a mod, or anything complex. It's almost a yes/no question. |
#4
|
||||
|
||||
So you want a link to the thread for the modification you are needing help with? How am I supposed to know which of the multiple gallery mods you are trying to work with.
Sure there is a similar thing in vB: Code:
<vb:if condition="$_SERVER['REQUEST_METHOD'] != 'POST'"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|