An wonderful upgrade to an outstanding mod!
I have a conflict with
vBulletin-Glossary which creates the following error when viewing the VIDEO BBCode:
I noticed that there is a post here that indicates turning off cross-linking within vBulletin-Glossary will eliminate the conflict, but that feature is too valuable to lose.
Here is the code which ends in the referenced line number:
PHP Code:
/**
* Check for availability/activated vBSEO and perform url to category
*
* @author Surviver
*
* @param string entry array with category informations
* @param string Appendix to add to the url (e.g. perpage var, page var, etc)
*
* @return string url url to category, either seo-like or standard
*/
function construct_category_url(&$category, $append = '')
{
global $vbulletin;
if ($vbulletin->options['vbglossar_vbseo'] AND defined('VBSEO_ENABLED'))
{
$url = 'vbglossar.php?' . $vbulletin->session->vars['sessionurl'] . 'do=showcat&catid=' . $category['id'] . '&cattitle=' . vbseo_filter_text($category['name']) . $append;
}
else
{
$url = 'vbglossar.php?' . $vbulletin->session->vars['sessionurl'] . 'do=showcat&catid=' . $category['id'] . $append;
}
($hook = vBulletinHook::fetch_hook('vbglossar_category_url')) ? eval($hook) : false;
$category['url'] = $url;
return $url;
}
Note that I do not have vBSEO installed, but I do have
vBSEO Google/Yahoo Sitemap Generator installed. When I removed the offending lines of code I received another error from the main
vbglossar.php file which did not seem to reference vBSEO. I fear that the conflict may be deeply rooted.
Any ideas what may be causing this error and what might resolve the conflict?
If not, I can disable the VIDEO BBCode, but this results in corresponding threads created by Video Directory without a functional embedded video. This conflict was in the previous version, but not as critical since there was no thread creation feature previously. I can use
AME to remedy this if I can simply insert the original URL of the video. I found the location of the code within the
videodirectory_newthread and
videodirectory_reportthread phrases, but I was unable to modify this to insert the raw video URL. I tried variations of the
$videoinfo[url] variable, to no avail. Ideally, I would like to use all features of both mods, but alternatively I will settle for this workaround if I can get the variable to pass.