PDA

View Full Version : SQL Query for forcing Allow reputation on forum for all forums


ZarporForums
12-09-2013, 02:01 PM
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/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/415447-enable-reputation-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.


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);