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)
-   -   New Posting Features - Global Threads: The Next Generation for VB4 by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=279156)

John Lester 06-28-2012 12:54 PM

Yea I've been toying with it on the test site and I'll get it how I want it sooner or later :D

ericwirtanen 07-05-2012 03:17 PM

Database error in 4.20

Quote:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT COUNT(*) AS threads

FROM thread AS thread

/*
WHERE thread.forumid = 2
AND sticky = 0

AND visible IN (0,1,2)


AND lastpost >= 1338912865
*/ WHERE forumid IN (2) AND sticky = 0 AND visible IN (0,1,2) AND lastpost >= 1338912865OR bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)


AND lastpost >= 1338912865;

MySQL Error : 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 'bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)
' at line 13
Error Number : 1064
Request Date : Thursday, July 5th 2012 @ 04:14:25 PM
Error Date : Thursday, July 5th 2012 @ 04:14:26 PM
Script : http://www.nohomers.net/forumdisplay.php?2
Referrer : http://www.nohomers.net/forum.php
IP Address : 75.67.142.68
Username : eric
Classname : vB_Database
MySQL Version : 5.5.20-55

BirdOPrey5 07-05-2012 04:47 PM

Do you get that error repeatedly or just once?

I see the problem is there is no space between the number and the "OR" :

1338912865OR bop_global = 1

But it works with everyone else's...

In any case please go to the Admin CP -> Plugins & Products -> Plugin Manager

Edit the plugin: Get Global Threads Count [OK]

Find the line:

Code:

    $hook_query_where .= "OR bop_global = 1
and change it to:

Code:

    $hook_query_where .= "  OR bop_global = 1
I will put this fix into the next version, but I have a number of people using the free and paid versions and both have this exact code without errors. Weird.

wilford brimley 08-28-2012 06:50 AM

when replying from a normal forum while using the simple postbit mod in the target forum it still shows the avatar. probably a postbit edit i made.

BirdOPrey5 08-29-2012 04:47 PM

I'm not sure how that is possible... Once you click on a thread title you are brought into the thread- the thread is always in its native forum.

Crimdog 11-19-2012 09:37 PM

Installed this mod after migrating from VB3 to VB4 for a test site. Only thing we noticed was that the global threads we used were no longer "stuck" at the top as a global thread. They were still tagged as a global thread, but somewhere within each section.

I had to make the global thread a "sticky" in order for it to be the top thread in each section.

In addition, it broke my administration section where I have three sub-forums. Broke, meaning none of the threads will display in an administration section. You can however click on the latest thread link in the forum section and be taken directly to the thread.

Any ideas where I need to look? This mod is absolutely a requirement.

BirdOPrey5 11-21-2012 10:37 AM

This mod is not an upgrade from the VB3 version, it is a new mod- they work differently. The VB3 version requires a separate forum for Global Threads, this mod doesn't.

As for how any section "broke" I can only guess the issue is with the automatic template edits- I would suggest you try it of the default style and see if it works. If it does try disabling use of the icon and/or prefix in the mod options.

Crimdog 11-26-2012 12:32 AM

Thanks.

Igor.Gabrielan 01-14-2013 04:06 PM

Possible with your mod to place a thread in several, but not all forums?


This is described for example here.

Alan_SP 01-14-2013 07:46 PM

As it is described in first post (it's a good thing to read at least first post of a thread. I see you're quite new here, this is your first post):

Quote:

The GOLD version has all the features of the FREE version but 2 additional options:
1) You may choose specific users (by userid) to give Make Global Thread permissions.
2) You may select or restrict Global Threads to specific forums.
So yes, with paid version you can define in which forums thread appears.


All times are GMT. The time now is 12:51 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.01324 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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