View Full Version : No Category Link in Blog-UserCP
entertain
Mon 16th Mar '09, 4:02pm
Hi,
i am an administrator but i can't see the "Category"-Link in the usercp (and also all users can't see it).
I've searched what causes this:
blog_functions.php
$show['categorylink'] = ($show['canpostitems'] AND $vbulletin->userinfo['permissions']['vbblog_general_permissions'] & $vbulletin->bf_ugp_vbblog_general_permissions['blog_cancreatecategory']);
When I remove "$show['canpostitems'] AND" it works.
Bug or feature?
Freddie Bingham
Mon 16th Mar '09, 4:09pm
That would indicate that your users do not have either permission to post blog entries or permission to view their own blog. Is this the case?
entertain
Mon 16th Mar '09, 4:53pm
No, also when I set all permissions to "Yes" the link still won't be displayed. :o
Freddie Bingham
Mon 16th Mar '09, 4:57pm
Perhaps the "Navbar: Eval Blog Link Template and Validate Styleid" plugin isn't being executed. If that isn't it, then I don't see a cause. I would have to take a look at your forum.
entertain
Mon 16th Mar '09, 5:19pm
damn - you're right. :) Thank you for your help... Sorry. :o
I disabled this plug-in because i wanted that the Blog-Links won't be displayed in the navbar...
Freddie Bingham
Mon 16th Mar '09, 5:26pm
Remove this code from the plugin
eval('$template_hook[\'navbar_buttons_left\'] .= "' . fetch_template('blog_navbar_link') . '";');
eval('$header .= "' . fetch_template('blog_navbar_link_menu') . '";');
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.