PDA

View Full Version : Rating Issue


iguanairs
12-01-2011, 03:52 PM
I am running vbdynamics - brand free - multi-license latest version. When I reply to a post in one of the secondary instances and rate it, the user ends up bounced onto my forums landing page after they submit it. The post and rating go through, but shouldn't the page then return them to whatever post or category they are in?

iguanairs
12-02-2011, 08:08 AM
I can reply to entries without rating and they redirect to the proper thread in which I posted. It only redirects to my forum homepage when I rate the entry. This happens if I rate the entry from within the new reply or just on the thread page.

This issue just arose after I upgraded my forum to 4.1.8 and the latest RC build for dynamics. For some this isn't that big of an issue but the rating system plays a significant role in how I am using the different instances of dynamics. I am using both modified and unmodified versions and they both react the same way. If you have a quick fix I am not against modding files.

Our Sponsors
 

iguanairs
12-03-2011, 10:05 AM
I am still looking for some help with this.

iguanairs
12-03-2011, 05:20 PM
I have found another issue that I am being instructed has to do with vba or the dynamics script. For some very strange reason your vba index.php file is pointing to my forumhome page.

Here are my urls:

herpcenter.com
herpcenter.com/index.php
herpcenter.com/index.php?

My vbsep settings are telling all 3 of those to point to herpcenter.com as they always did in the past. Only herpcenter.com actually works though. If you append it with either version of index.php or the index.php? it immediately redirects to the forum homepage which is reptileforums.php (the original vbulletin index.php renamed).

I have gone ahead and looked at vbulletins index.php file and see that it actually calls forum.php as the forumhome page. The vbulletin index.php file for 4.1.8 contains the following:


//define('VB_RELATIVE_PATH', 'forums');


// Do not edit.
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}


/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/

/**
* Use the CMS as the default script:
*/

//require('content.php');


/**
* Use the forum as the default script:
*/

require('forum.php');


Does this help at all? I would really like to get this squared away.

In abadvanced CP I have http://www.herpcenter.com/index.php as the cmps location. I have the Script Name for Forum Home Page set to reptileforums with reptileforums.php being the renamed vbulletin index.php file. I am guessing that if we can figure out why the index files are leading to my forumhome page it may also correct the rating issue I originally posted about.

Our Sponsors
 

Brian
12-07-2011, 10:19 AM
Thank you for pointing this out. You should be able to correct the issue by looking in your forum/includes/vba_dyna_functions_saveentry.php file for this code:
eval(print_standard_redirect(ADV_DYNA_PREFIX . '_ratingadded'));


And replacing it with this:
if ($redirpage != 'post')
{
eval(print_standard_redirect(ADV_DYNA_PREFIX . '_ratingadded'));
}

iguanairs
12-07-2011, 02:59 PM
I made that change Brian and the results are the same. Upon rating anything I get bounced to the sites forums opposed to back to the location I was at.