The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Scenario:
User clicks a link on the site and is taken to a new page, not the planned one, and is provided with a link to return to where he was planning on going. Can I add something somewhere (like in global.php) to grab this? I tried HTTP something or other but it didn't seem to grab the place where I originally planned on going. For example, a user is in forum 12 and clicks on a link to a thread but instead gets taken to this different page and then is given a link to go to the thread from the new page. I'm pretty set for the rest of the code I think, I just can't get the location for the place to redirect to~ |
#2
|
|||
|
|||
![]()
bump - anyone know?
![]() |
#3
|
||||
|
||||
![]()
Umm is this vB or not?
|
#4
|
|||
|
|||
![]()
Well, er, yes.
![]() Not that it'd have to be right, or is there something vB specific for it? |
#5
|
||||
|
||||
![]()
Um well if you know how to get the user back to where they should be going use:
PHP Code:
|
#6
|
|||
|
|||
![]() Quote:
header functions cuse error (headers allready sent) vb have a functions for header redirect that dosent couse and error exec_header_redirect($url) should work better. |
#7
|
|||
|
|||
![]()
Nah, I actually need the url of where their comming FROM before I can send them there, which was my problem.
![]() I think I'm going to end up doing it a different way though -- instead of everywhere, only have this happen in the forumhome/index page(s). Thanks for the input though~ |
#8
|
||||
|
||||
![]()
You'll need to modify sessions.php to include a new sessionvar then
![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|