The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Where to find (and change) {vb:raw url} ?
Hi.
Can someone please help me understand how can I change the value returned by {vb:raw url} ? Is it a function, where can I find it? |
#2
|
||||
|
||||
Can you elaborate why you would want to do that?
Other functions and mods rely on it and it just doesn't sound right to change the function instead of the return value. |
#3
|
|||
|
|||
I'm on a reverse proxy system and when I delete a post I end up with:
<input type="hidden" name="url" value="/~websitename/forum/showthread.php ... etc I want to omit the "/~websitename/forum/" part. The change would not break "Other functions and mods", would it? hmmm Of course I'm open to more elegant solutions, if any. --------------- Added [DATE]1305919982[/DATE] at [TIME]1305919982[/TIME] --------------- Here are more details: My website is located at : http://www.mydomain.com Forum, on a different server, is located at : http://www.mydomain.com/forum The forum loads correctly and works correctly via a ReWrite Proxy rule on the first server. The only problem is that when I delete a post, in the "Physically remove" screen, the hidden field <input type="hidden" name="url" has this value: /~websitename/forum/showthread.php/etc. etc. Of course I have no rule in the first server to tackle "/~websitename/forum/". I can add it, but I believe removing that part would work better. |
#4
|
||||
|
||||
I have to pass on that, I have no idea of the reverse proxy thingy, I don't even know what that exactly is.
|
#5
|
|||
|
|||
No worries Disasterpiece.
Unfortunately, I still can't figure it out. |
#6
|
|||
|
|||
Create a new plugin, and in the global_start hook mess around with $vbulletin->options['bburl'] variable. Maybe set it to ./?
|
#7
|
||||
|
||||
Why not just delete {vb:raw url} from that particular place?
p.s You've put a paid request in as well, if you still can't figure it out pm me |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|