Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2010, 07:12 AM
sandy771 sandy771 is offline
 
Join Date: Jun 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Making blogs visible to non members/not signed in

I want to allow people to view the blogs on my CMS system (vBulletin 4) who are either not registered or are not logged in.

Is there a way of doing this?
Reply With Quote
  #2  
Old 06-09-2010, 07:22 PM
sandy771 sandy771 is offline
 
Join Date: Jun 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump

There must be someone out there clever enough to point me in the right direction...
Reply With Quote
  #3  
Old 06-10-2010, 01:15 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think by default the blogs are already viewable by Guests. If not, have you looked in the usual place - Usergroups>Usergroup Manager>Pick a group>Edit?
Reply With Quote
  #4  
Old 06-10-2010, 06:48 AM
sandy771 sandy771 is offline
 
Join Date: Jun 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not a control panel issue I am afraid.

I received this from someone at vB

Quote:
It is hard-coded into the blog.php page to not allow unregistered users to see the blog page (see around line 328
The code the seem to be referring to is:

Code:
/* Check they can view a blog, any blog */
if (!($vbulletin->userinfo['permissions']['vbblog_general_permissions'] & $vbulletin->bf_ugp_vbblog_general_permissions['blog_canviewothers']))
{
	if (!$vbulletin->userinfo['userid'] OR !($vbulletin->userinfo['permissions']['vbblog_general_permissions'] & $vbulletin->bf_ugp_vbblog_general_permissions['blog_canviewown']))
	{
		print_no_permission();
	}
}

I tried commenting it out but it made no difference, I could not log out and then go direct to the blog, nor could I hit the blog button on the front page - in both cases I was presented with a login page.

So I assume that there is something else. I am not very familair with php and not at all familair with vBulletin hacking so some pointers would be useful.
Reply With Quote
  #5  
Old 06-10-2010, 01:15 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Huh? I checked before I answered and guests can see all my blogs. Do you have a link?
Reply With Quote
  #6  
Old 06-10-2010, 01:26 PM
sandy771 sandy771 is offline
 
Join Date: Jun 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is interesting

The text of the message (email) was

It is hard-coded into the blog.php page to not allow unregistered users to see the blog page (see around line 328).+ If you want to change this, this would require modifying the code (i.e., 'hacks', plugins, or template modifications).+ We can't offer official support for code modifications or for forums running modified code

This is quite important to me as although I want the forums to be closed and for my customers only I do want to be able to blog and not have to use third party blogging software - which is why I went for vbulletin to start with.

I'll have another look and see if I can work out what is going on. I wonder whether it is because the forum is locked down that the blogs are also. If you find an answer I would of course be interested
Reply With Quote
  #7  
Old 06-10-2010, 03:38 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think they misunderstood the question. Or I am. Like I said, it's easy to make the blogs public. I'm not sure what you mean by "locked down", but yes, I could imagine that preventing the blogs from being seen.
Reply With Quote
  #8  
Old 06-10-2010, 08:31 PM
janaf janaf is offline
 
Join Date: Dec 2009
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is set in ACP - Usergroups - Usergroup Manager - Not Logged In Group- Can View Other's Blog => YES/NO

This should enable unlogged in users to see blog entries.

(But what is ACP - Blog - Blog Category Permissions for? )
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07540 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete