View Full Version : Where to find (and change) {vb:raw url} ?
thehawkVB
05-20-2011, 06:06 PM
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?
Disasterpiece
05-20-2011, 06:14 PM
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.
thehawkVB
05-20-2011, 06:21 PM
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 1305919982 at 1305919982 ---------------
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.
Disasterpiece
05-20-2011, 06:38 PM
I have to pass on that, I have no idea of the reverse proxy thingy, I don't even know what that exactly is.
thehawkVB
05-21-2011, 11:49 AM
No worries Disasterpiece.
Unfortunately, I still can't figure it out.
vbresults
05-21-2011, 06:03 PM
Create a new plugin, and in the global_start hook mess around with $vbulletin->options['bburl'] variable. Maybe set it to ./?
nitra1000
05-21-2011, 06:09 PM
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 :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.