vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > vBa Dynamics v1.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2010, 09:59 PM
iguanairs iguanairs is offline
Senior Member
 
Join Date: Mar 2004
Location: MA
Posts: 116
Default Redirect Issue

I encountered a redirect issue while adding and removing a favorite entry. If I were viewing an entry and removed it as a favorite I would get bounced back to the index page. The same were true for adding it as a favorite.

I was expecting to be returned to the location where I added/removed the entry. I wasn't expecting to be bounced to the homepage.

I opened the misc.php file, located the redirects, and appended them. This works for me, so it may work for someone else too.

Found:
Code:
		eval(print_standard_redirect(ADV_DYNA_PREFIX . '_removedfav'));
Changed to:

Code:
	        $vbulletin->url = $vba_dyna->_entry['url'];
		eval(print_standard_redirect(ADV_DYNA_PREFIX . '_removedfav'));
Found:

Code:
		eval(print_standard_redirect(ADV_DYNA_PREFIX . '_addedfav'));
Changed to:

Code:
	        $vbulletin->url = $vba_dyna->_entry['url'];
		eval(print_standard_redirect(ADV_DYNA_PREFIX . '_addedfav'));
Now when I add or remove an entry I go back where I executed the code.
__________________
Herp Center | Reptile Forums
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
301 redirect issue chabbs Troubleshooting & Problems 21 09-08-2008 03:16 PM
Redirect Troubleshooting SimvD Troubleshooting & Problems 0 06-10-2008 07:14 AM
Vba Redirect m002.p Module & Modification Discussion & Requests 0 04-08-2007 06:36 PM
301 Redirect K2_02 "How Do I..." Questions 1 03-26-2007 01:41 PM
Redirect. wishdragon Troubleshooting & Problems 1 09-27-2006 02:10 PM


All times are GMT -4. The time now is 05:01 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.