The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to hide link parameters in address bar?
I know this is possible for some pages but was wondering if it is possible for vBulletin. I want the address bar to always show my homepage root (i.e. http://www.page.com) no matter what or where the user is clicked. Is this possible and how?
On the other hand if a user clicks a link that passes some request parameters and then refresh the page the parameters will be sent again and the action repeated. Is there a way to somehow prevent this in vBulletin? |
#2
|
|||
|
|||
i have just the soloution for you give me two minutes to dig it out my friend
|
#3
|
||||
|
||||
yay.. thank you very much!
|
#4
|
|||
|
|||
If i understood what you were saying correctly here is the code you need to use
$remove = "index.php"; $mod_dir = str_replace($remove,$replace,$galleryUrl); $next_dir = str_replace($mod_dir,$mod_dir.'thumbs/',$mod_dir); $dir = str_replace($next_dir,'/home/ghanson3/public_html/'.$next_dir, $next_dir); |
#5
|
||||
|
||||
I'm not really sure where I have to put this code..?
|
#6
|
||||
|
||||
I believe you create a hook with the data above and use the "global_start" hook.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|