Quote:
Originally Posted by Melissa Miller
Thank you so much for this. I plan on making a donation.
My only issue is my banner image does not take you to my home page like it does everywhere else. It takes you to the groups home page.
And my forums link in my nav bar doesnt work. It tries to go to groups/index.php instead of just /index.php. Same thing with my chat and journal links in my nav bar.
|
Take a look in the functions_grps.php in the /forums/include directory. Find this code:
PHP Code:
$template = str_replace(
array(
// navbar replacements
'register.php',
'profile.php',
'usercp.php',
'faq.php',
'calendar',
'memberlist.php',
'search.php',
'profile.php',
'private.php',
'online.php',
'subscription.php',
'login.php',
'forumdisplay.php',
'member.php',
'ushop.php',
//' class="navbar"><a href="index.php" accesskey="1">',
$vbulletin->options['bbtitle'],
// footer replacements
'sendmessage.php',
'admincp/index.php',
'modcp/index.php',
'archive/index.php',
// headinclude replacements
'<script type="text/javascript" src="clientscript',
// other replacements
'arcade.php',
($hook = vBulletinHook::fetch_hook('grps_rewrite_links_find')) ? eval($hook) : false
),
array(
// navbar links
$vbulletin->options['bburl'] . '/register.php',
$vbulletin->options['bburl'] . '/profile.php',
$vbulletin->options['bburl'] . '/usercp.php',
$vbulletin->options['bburl'] . '/faq.php',
$vbulletin->options['bburl'] . '/calendar',
$vbulletin->options['bburl'] . '/memberlist.php',
$vbulletin->options['bburl'] . '/search.php',
$vbulletin->options['bburl'] . '/profile.php',
$vbulletin->options['bburl'] . '/private.php',
$vbulletin->options['bburl'] . '/online.php',
$vbulletin->options['bburl'] . '/subscription.php',
$vbulletin->options['bburl'] . '/login.php',
$vbulletin->options['bburl'] . '/forumdisplay.php',
$vbulletin->options['bburl'] . '/member.php',
$vbulletin->options['bburl'] . '/ushop.php',
//' class="navbar"><a href="' . $vbulletin->options['bburl'] . '/index.php" accesskey="1">',
$vbulletin->options['hometitle'] . ' Groups',
// footer replacements
$vbulletin->options['bburl'] . '/sendmessage.php',
$vbulletin->options['bburl'] . '/admincp/index.php',
$vbulletin->options['bburl'] . '/modcp/index.php',
$vbulletin->options['bburl'] . '/archive/index.php',
// headinclude replacements
'<script type="text/javascript" src="' . $vbulletin->options['bburl'] . '/clientscript',
// other replacements
$vbulletin->options['bburl'] . 'arcade.php',
($hook = vBulletinHook::fetch_hook('grps_rewrite_links_replace')) ? eval($hook) : false
),
$template);
The first array is what your links might be. The second array is what those links will be replaced with. Delete or add any replacements as needed.
All of my links are hard links, so I basically deleted everything except the hook. But that was just in MY case. Yours may be different.