Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 03-18-2003, 07:21 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:15 PM filburt1 said this in Post #10


What the lady said.

BTW, templates are never the solution for denying permissions. All they can do is remove the interface but people can still send the actual data.
If they can't see the polloption, they can't use it.
Reply With Quote
  #12  
Old 03-18-2003, 07:28 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:15 PM filburt1 said this in Post #10
[B]

What the lady said.
The posted request was not turn polls off per usergroup basis but per forum basis. It can not be done by default vb permissions..

Quote:
BTW, templates are never the solution for denying permissions. All they can do is remove the interface but people can still send the actual data.
Obviously.. But provided solution will do the trick:
1- Only 0.01% people would be able to pass it through by coding a script that can HTTP_POST poll data to your server
2- Even a script that can HTTP_POST poll data will not help them because poll is created only if post is hidden in database and they can not make it hidden even with the script they will code.

Besides what if they can? Does it help them to bypass our solution? No! they'll be able to post a poll to a unallowed forum and get a good old BAN in return..

Quote:
By the way, what does this mean? "latter"
hehe it means latter is true. That is:
you have to do the "$forumid==38 OR $forumid==41 OR $forumid==112" way..
Reply With Quote
  #13  
Old 03-18-2003, 08:54 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician, yes it can be turned off per forum per usergroup. You can enable it all over the board for usergroup x but turn it off for that usergroup in forum 3. All you have to do is use the custom settings for the usergroup in that forum.

Amy
Reply With Quote
  #14  
Old 03-18-2003, 09:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy, I originally wanted to turn it off per forum, not per usergroup.

It is a lot easier and faster to do it the template way instead of having to go through each forum and set it. In the beginning, I just wanted to turn it off for all forums except 1. Then, with Logician's reminder, I decided to turn it off for all forums but that one and leave it on only for the Admin board-wide. This way is faster and a heck of a lot easier, especially if I ever wanted to change it for any reason. Thank you, Logician.
Reply With Quote
  #15  
Old 03-18-2003, 09:19 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are correct, Boofo. The template way is much easier. I just felt compelled to point out that it could be done without a hack just in case somebody came along later who didn't have Logician's hack installed.

Of course, I probably would have done it the lazy way with a query in phpmyadmin.

Amy
Reply With Quote
  #16  
Old 03-18-2003, 09:46 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought of that, too, but extra queries is not the way to go, for me, anyway. I have enough of those already. And thanks to Logician, I can't get much lazier than I already am since using his hack.
Reply With Quote
  #17  
Old 03-18-2003, 09:52 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy means to run 1 query in phpmyadmin to set usergroup permissions for the relevant forums, not add queries to your forum.
Reply With Quote
  #18  
Old 03-18-2003, 09:55 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops! Sorry, Amy. My bad.
Reply With Quote
  #19  
Old 03-18-2003, 10:24 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:54 AM amykhar said this in Post #13
Logician, yes it can be turned off per forum per usergroup. You can enable it all over the board for usergroup x but turn it off for that usergroup in forum 3. All you have to do is use the custom settings for the usergroup in that forum.
You are absolutely right, my apologies..
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:10 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.04718 seconds
  • Memory Usage 2,243KB
  • 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
  • (5)bbcode_quote
  • (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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete