vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Permissions Based on Post Count (https://vborg.vbsupport.ru/showthread.php?t=233979)

jakarta 04-01-2010 08:35 AM

Database error in vBulletin 4.0.2:

Invalid SQL:
UPDATE forum SET
title_clean = 'thread',
title = 'thread',
description_clean = '',
description = '',
link = '',
displayorder = 1,
parentid = -1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options - 8192, options),
options = IF(options & 4, options - 4, options),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options - 64, options),
options = IF(options & 128, options - 128, options),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options - 1024, options),
options = IF(options & 2048, options - 2048, options),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
options = IF(options & 131072, options - 131072, options),
styleid = 0,
imageprefix = '',
password = '',
accessf_nb = 0,
accesst_nb = 0,
create_nb = 0,
reply_nb = 0,
linkview_nb = 0,
linkpost_nb = 0
WHERE forumid = 10;

i can't edit forum manager ... and got that eror .. after i disable this mods i can edit forum manager too ...

am i wrong ..

P.s
i use kbank product too and i dont get that eror ...

Valter 04-01-2010 08:55 AM

Try to Uninstall/Re-install/Re-set options.

GiaoThong 04-01-2010 10:15 AM

Great tool. Installed. Thanks

haidm 04-01-2010 11:30 AM

Thanks for great mod which I really want. Installed.

Neptun 04-11-2010 02:33 PM

is there a possibility to get options for the CMS - to read articles for example and something else ?! that would be great

fluidswork 04-12-2010 03:46 AM

Great

Legende 04-13-2010 06:28 PM

Is there a way to just disallow viewing images?

zelnik 04-14-2010 02:50 PM

BUG REPORT FOR VB4.0.3:

When this addon is enabled it throws up a SQL DB error when you try to change yes/no to the following Forum option:

Forum is Open (Set this to 'No' to prevent any new posts being made in this forum)

It's definitely this addon as it works fine if you disable the addon!

guvner 04-15-2010 06:00 PM

I also found that any change to my forums through the Forum Manager resulted in the "Unknown column 'accessf_nb' in 'field list'" database error.

However, as suggested by Valter above, I uninstalled the mod - reinstalled it and redid my settings and all's well.

@Valter - just one suggestion/request.

I use your advanced forum permissions mod to restrict access to my classifieds sections (minimum post count of 10) and and your advanced forum rules mod to force people to be aware that they must use the templates provided when placing an ad.

Just now when testing the new install with a dummy user, I first had to read then agree to the classifieds rules - then after I'd agreed to them I was hit with with notice that I didn't have enough posts to use the classifieds.

If I were a standard user that would have irritated me (a lot) - is there any way to make the permissions mod execute before the rules mod?

Thanks for your work - very cool mods. :up:

Mike

Valter 04-15-2010 09:21 PM

Change plugin execution order.

Example:
- Advanced Permissions = 5
- Rules = 6


All times are GMT. The time now is 05:12 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.01375 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete