vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Allow members to edit polls? (https://vborg.vbsupport.ru/showthread.php?t=269878)

Spacehopper 09-08-2011 09:50 AM

Allow members to edit polls?
 
Often in my forum a poll needs to be deleted then then entered again with new options.

For example, at the moment they are watching "Big Brother" on TV and discussing it on a Big Brother thread, every week it a poll needs to be "who do you want evicted this week" but they can't change the poll at all.

On my old forum users could delete their own poll and make a new one, is there a way I can enable this or do I need to find a mod?

bremereric 09-08-2011 06:16 PM

Admincp

Under Usergroups > Usergroup Manager > Registered Users...if yes to Can Post a Poll they should be able to edit them.

Spacehopper 09-08-2011 08:45 PM

cheers, but they have no problem posting polls, but I have had a look and I can't see how they would edit them.

bremereric 09-08-2011 08:57 PM

Quote:

Originally Posted by pregnancyforum (Post 2243599)
cheers, but they have no problem posting polls, but I have had a look and I can't see how they would edit them.

I have added a registered user...a moderator and a super moderator sign on for myself..It helps with trouble shooting issues such as you are explaining.

--------------- Added [DATE]1315520162[/DATE] at [TIME]1315520162[/TIME] ---------------

Quote:

Originally Posted by bremereric (Post 2243605)
I have added a registered user...a moderator and a super moderator sign on for myself..It helps with trouble shooting issues such as you are explaining.

Okay I did a test for you. A registered user can post a poll but cannot edit it or delete it. A moderator or above can on my site.

Spacehopper 09-11-2011 06:44 PM

Ah what a pain, thanks for testing it out for me.

I need to get around it, do you think its possible? My members will HATE this. :(

bremereric 09-12-2011 02:45 AM

Quote:

Originally Posted by pregnancyforum (Post 2244645)
Ah what a pain, thanks for testing it out for me.

I need to get around it, do you think its possible? My members will HATE this. :(

Assign a moderator to each forum to help out...that's the quickest Idea I have for you..or if a member requests a change have them contact a moderator with the things are required for change...sorry for the facts but they are what they are. :D

HMBeaty 09-12-2011 02:49 AM

Quote:

Originally Posted by pregnancyforum (Post 2244645)
Ah what a pain, thanks for testing it out for me.

I need to get around it, do you think its possible? My members will HATE this. :(

Try this, in poll.php, find:
PHP Code:

    if ($vbulletin->userinfo['userid'] != $threadinfo['postuserid'] AND !can_moderate($foruminfo['forumid'], 'caneditpoll'))
    {
        
print_no_permission();
    } 

Replace with:
PHP Code:

    if ($vbulletin->userinfo['userid'] != $threadinfo['postuserid'], 'caneditpoll'))
    {
        
print_no_permission();
    } 

(This is untested)

Spacehopper 09-12-2011 07:01 PM

thanks, that didn't work though.

This is really annoying, why on earth can't I allow my user to edit polls?? It seems like a really silly thing not to allow!

bremereric 09-14-2011 02:24 AM

I would go to modification requests and ask someone to make a mod for you. If you have no replies in a reasonable time offer up 50 bucks for someone to write a hack for you. I paid for graphic help and didn't look back.

Spacehopper 09-17-2011 03:39 PM

Thanks I think I will look into that, cheers


All times are GMT. The time now is 06:21 AM.

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.01121 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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