vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Guest can vote in Poll? (https://vborg.vbsupport.ru/showthread.php?t=48310)

gameplanetz 01-30-2003 05:58 AM

Guest can vote in Poll?
 
Is there any way so that guests can vote the poll in the forum without register?

Logik 01-31-2003 01:20 AM

If im not mistaking. This is how. if im wrong correct me.

Open poll.php and find:

PHP Code:

if (($bbuserinfo['userid']!=$postuser['userid'] or $count>1) and !ismoderator($foruminfo['forumid'])) {
    
show_nopermission();
  } 

and remove that. Like i said. I could be wrong.

Logician 01-31-2003 09:01 AM

Quote:

Originally posted by gameplanetz
Is there any way so that guests can vote the poll in the forum without register?
Edit forum permissions for GUEST usergroup and grant them "Can Vote in Polls" permission..

Logik 01-31-2003 08:13 PM

Oh.. Logician.. Rofl damn. I feel retarded :ox

gameplanetz 02-01-2003 04:42 AM

Oh, thanks Logician & Logik

Logik 02-01-2003 03:57 PM

YW. But do it logicians way..


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00961 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete