vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   SQL Query for forcing Allow reputation on forum for all forums (https://vborg.vbsupport.ru/showthread.php?t=305645)

ZarporForums 12-09-2013 02:01 PM

SQL Query for forcing Allow reputation on forum for all forums
 
Hi everyone,

Does anyone know a query I could use to change this forum permission for all forums? I'd rather not change them manually and dont want to risk changing them with the forum duplication due to some of the forums being certain usergroup-based only. Unless you know of a safer/more practical way of doing it!

Just for reference, I mean this:
https://vborg.vbsupport.ru/external/2013/12/27.png

Lynne 12-09-2013 05:40 PM

A quick search on vb.com turns up - http://www.vbulletin.com/forum/forum...for-all-forums

ZarporForums 12-10-2013 01:04 AM

Thanks!

ZarporForums 12-11-2013 01:34 PM

Hi!
When using that SQL query, I get the following response.

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '+ 2097152 WHERE NOT(options & 2097152)' at line 1
Just a heads up, currently running 4.2.1

mokujin 12-11-2013 02:25 PM

I found myself there (at vb.com thread) @.@

The query should be: (?)
UPDATE forum SET options = options + 2097152 WHERE NOT(options & 2097152);


All times are GMT. The time now is 06:29 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.01048 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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