I noticed in 5.4, 5.5, 5.6 when you view a members profile in the custom menu the blog link is:
5.4, 5.5:
5.6:PHP Code:$ret .= MenuItem( _t("_blog"), 'blog.php?owner=' . $p_arr['ID'], '', '_blog.gif', '_blank' );
when it should be:PHP Code:$ret .= ( $oTemplConfig -> bEnableBlog ) ? MenuItem( _t("_blog"), 'blog.php?owner=' . $p_arr['ID'], '', '_blog.gif', '_blank' ) : '';
5.4,5.5:
5.6:PHP Code:$ret .= MenuItem( _t("_blog"), 'blog.php?owner=' . $p_arr['ID'] . '&show=blog&blogID=' . $p_arr['ID'], '', '_blog.gif' );
file: templates/your_temp/scripts/menu_design.phpPHP Code:$ret .= ( $oTemplConfig -> bEnableBlog ) ? MenuItem( _t("_blog"), 'blog.php?owner=' . $p_arr['ID'] . '&show=blog&blogID=' . $p_arr['ID'], '', '_blog.gif' );
It's in function CustomMenuFuncProfile & function CustomMenuFuncProfile2
this mod is for CustomMenuFuncProfile, it's slightly different for CustomMenuFuncProfile2...
Note these links I took out after '_blog.gif' ', '_blank' so it doesn't pop up in another window.
Tested on 5.4 and 5.5, haven't tested it on 5.6 yet.
I think i'm gonna overhaul the whole thing soon...lol


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks