vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Opt-Out Forums from Get New/Get Daily (https://vborg.vbsupport.ru/showthread.php?t=91025)

firstrebel 01-13-2009 04:00 PM

Quote:

Originally Posted by kambiz (Post 1710819)
Works fine on 3.8.0.

Did you install it fresh in 3.8 or was it there before the upgrade.

Bob

kambiz 01-14-2009 06:14 AM

Quote:

Originally Posted by firstrebel (Post 1711088)
Did you install it fresh in 3.8 or was it there before the upgrade.

Bob

I've installed it on to of my site, one fresh the other one upgraded. Both are working perfect.

firstrebel 01-14-2009 09:38 AM

Mine is working OK now, just had to import the product a few times, don't know why.

Bob

dklassen 01-15-2009 12:36 AM

Not working for me.

RaceJunkie 01-22-2009 01:26 AM

I had it already on my site before upgrading and now it's not working. Darn shame too was a great mod.

RaceJunkie 01-22-2009 12:07 PM

Also if you have any forums set to No
Quote:

Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known)
They do not appear in the list of forums to exclude.

RWerksman 01-26-2009 12:43 PM

Quote:

Originally Posted by SBlueman (Post 1323718)

I opted for appending this to the end:

Code:

if ($vbulletin->userinfo['excludeforumsgnp'])
        {
            $vbulletin->GPC['exclude'] =  $vbulletin->userinfo['excludeforumsgnp'] . ',71,53';
        }
ELSE
        {
            $vbulletin->GPC['exclude'] =  "71,53";
        }

That automatically opts out of 71,53 for everyone.

Gizmo999 01-27-2009 09:22 AM

Seemed to be Ok on 3.8 until I altered the forums I wanted to search, am now getting this db error. Now can't use user cp nor can other users, anyone know how to fix this please?

Database error in vBulletin 3.8.0:

Invalid SQL:

UPDATE user
SET lastrepcheck = 1233055081
WHERE userid = 1;

MySQL Error : Unknown column 'lastrepcheck' in 'field list'
Error Number : 1054
Request Date : Tuesday, January 27th 2009 @ 11:18:01 AM
Error Date : Tuesday, January 27th 2009 @ 11:18:01 AM
Script : http://www.myforum.com/forum/usercp.php
Referrer :
IP Address : xxx.xxx.xxx.xxx
Username : Gizmo999
Classname : vB_Database
MySQL Version : 5.0.67-community-log

Gizmo999 01-29-2009 08:12 AM

Found the problem, it deleted a column called lastrepcheck in the users table...

SBlueman 01-30-2009 12:59 AM

Quote:

Originally Posted by RWerksman (Post 1725149)
I opted for appending this to the end:

Code:

if ($vbulletin->userinfo['excludeforumsgnp'])
        {
            $vbulletin->GPC['exclude'] =  $vbulletin->userinfo['excludeforumsgnp'] . ',71,53';
        }
ELSE
        {
            $vbulletin->GPC['exclude'] =  "71,53";
        }

That automatically opts out of 71,53 for everyone.

so my plugin should look like this if I want to block forum #137?
Code:

if ($vbulletin->userinfo['excludeforumsgnp'])
{
        $vbulletin->GPC['exclude'] .= ((!$vbulletin->GPC['exclude']) ? $vbulletin->userinfo['excludeforumsgnp'] : ',' . $vbulletin->userinfo['excludeforumsgnp']);
}
if ($vbulletin->userinfo['excludeforumsgnp'])
        {
            $vbulletin->GPC['exclude'] =  $vbulletin->userinfo['excludeforumsgnp'] . ',137';
        }
ELSE
        {
            $vbulletin->GPC['exclude'] =  "137";
        }



All times are GMT. The time now is 10:50 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.01198 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (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