Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2005, 11:41 AM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Guest priviledges

Hi, I have been advised to come to you for something I need my brand new VB board to do !!!

I desperately need unregistered guests to have the ability to upload images into thier posts ( and preferably have access to smilies and the wysiwyg as well )

I guess I can imagine all sorts of security reasons why this should not come as standard but it is something I really need.

Any ideas anyone ? ( it will need to be VERY simple to do )

regards.
Graham
Reply With Quote
  #2  
Old 01-02-2005, 12:03 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There does not appear to be an easy way to do this.
Reply With Quote
  #3  
Old 01-02-2005, 12:23 PM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that sounds ominous Gotta have it somehow

Graham
Reply With Quote
  #4  
Old 01-02-2005, 01:37 PM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would it be in the permissions section of admincp?
Reply With Quote
  #5  
Old 01-02-2005, 02:58 PM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fraid not. I have tried messing with all the permissions and then posted on the VB forum. They say it is not possible and I should ask here for a hack/mod.

It seems strange to me that this shouldn't be an option but it is going to cause me a lot of problems with the way I need to have the board set up.

Graham
Reply With Quote
  #6  
Old 01-03-2005, 07:27 AM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So what are we saying here ?

That this is not possible ?
That this is to difficult for me to do ?
That this is to complicated for a freebe ?
That I need to pay someone to do it ?

I know nothing about PHP but it really doesn't sound as if it should be to difficult to extend this to guests....

or maybe there is some other way around this.

I have the board set up so that guests CANNOT register. there is nowhere for them to do so.

I have another site that has a paid members section and they are automatically registered as members of the forum which gives them access to a members section on the forum that guests cannot get into.

I guess I could set that up through user groups but many guests who visit the forum may have something they could contribute but they wont jump through hoops to be able to do it.

Giving guests the ability to post pictures through the attachment manager would be the ideal solution.

Graham
Reply With Quote
  #7  
Old 01-03-2005, 11:17 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The ability to change the option is not displayed in ACP. Technically you could go into the database and change it, or alter the ACP code to allow the option to be shown. However, without looking at the actual code, I don't know if setting the permissions in this manner would allow it to work for userid zero - which is what all guests are.

My guess is it would seriously break something.
Reply With Quote
  #8  
Old 01-03-2005, 11:01 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this can be done relitivly easilly. though what other effects it would have i don't know... personally, in your case i'd have them sign up to post and create a special usergroup for the privilaged members for access to the extra forums.

however if you insist on doing this: (i'm hoping you have phpmyadmin or a simlar thing installed...) find the `usergroup` table. the usergroup you need to edit is group 1 find the forum permissions coloum edit the value in there to be the current value + 8192

again, i'd recormend against doing this, since there must be a reason vb didn't allow this option in the first place...

another option might be to create a 'guest' account so they can login with the username guest and password 'password' for example, but you'd need a hack so they can't use the usercp...
Reply With Quote
  #9  
Old 01-04-2005, 04:31 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup, this can be done, but not via phpmyadmin.

if you look at the code bits of newattachment.php, it doesn't allow guest attachment at all.
Code:
if (!$bbuserinfo['userid']) // Guests can not post attachments
{
	print_no_permission();
}
Reply With Quote
  #10  
Old 01-04-2005, 05:28 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it worked here https://vborg.vbsupport.ru/showthread.php?p=589643 , but don't know if that's what you'r looking 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 07:05 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.04346 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete