vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Global Threads (https://vborg.vbsupport.ru/showthread.php?t=129626)

optrex 03-10-2008 07:54 PM

vB 3.7 beta 6 is coming up with a 1064 mysql error with this hack enabled. Any fix please?

SBlueman 03-11-2008 05:02 AM

Is this modification still supported?

bobster65 03-11-2008 12:41 PM

Quote:

Originally Posted by SBlueman (Post 1462034)
Is this modification still supported?

Developer Last Online: Jul 2007

myown 04-02-2008 06:17 AM

is it possible to add more than one forum as source forum?

myown 05-01-2008 09:05 AM

until now not compatible with 3.7 GOLD

UncoderMom 05-10-2008 04:43 PM

Anyone get this working on 3.7?
Here is the error I get.
Quote:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason

, threadredirect.expires

FROM vb3_thread AS thread
LEFT JOIN vb3_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vb3_subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)

LEFT JOIN vb3_post AS post ON(post.postid = thread.firstpostid)

LEFT JOIN vb3_threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)

WHERE thread.forumid = 2
ORDER BY dateline DESC
LIMIT 2;

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 ' thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, th' at line 6
Error Number : 1064
Date : Saturday, May 10th 2008 @ 01:53:49 PM
Script :
Referrer :
IP Address :
Username :
Classname : vB_Database
MySQL Version : 4.1.22-standard

randominity 05-26-2008 05:09 AM

Sorry, been MIA again, just upgraded to 3.7, so I'll see about updating this soon :)

myown 05-26-2008 05:29 AM

that is a good news

UncoderMom 05-31-2008 07:28 PM

That is so awesome! Not having this has crippled my communication with my members! This is by far the best system! Thank you!!

UncoderMom 06-09-2008 02:38 AM

Quote:

Originally Posted by randominity (Post 1531511)
Sorry, been MIA again, just upgraded to 3.7, so I'll see about updating this soon :)


Any luck?

myown 06-23-2008 02:58 AM

still waiting

UncoderMom 07-13-2008 11:21 AM

I'm hurting with out this! ......please? :eek:

MentaL 09-23-2008 05:41 PM

waiting for this.

UncoderMom 09-29-2008 02:16 AM

Quote:

Originally Posted by MentaL (Post 1628739)
waiting for this.



Me too... LOL

Deety 11-13-2008 02:04 PM

This is a great plugin - definitely hope it will be available for 3.7. Randominity, is that still in the works? Thanks! :)

mcahill 01-30-2009 02:46 PM

The problem is a variable that isn't set called $lastpostinfo2

Find:

PHP Code:

            SELECT $votequery $previewfield
                thread
.lastpostidthread.threadidthread.postusername thread.title AS threadtitlethread.forumidpollidopenreplycountpostusernamepostuseridthread.iconid AS threadiconid,
                [
COLOR="Red"]$lastpost_info2, [/COLOR]thread.dateline, IF(views<=replycountreplycount+1views) AS viewsnotesthread.visiblestickyvotetotalthread.attach

And remove the text highlighted in red, "$lastpost_info2, " and it will work - I have it on my 3.8.1 test site and it's working fine. My version is highly customized, otherwise I'd upload it for you folks.

Just remove that bit of code. My query may be slightly different than what is in the stock plugin.

UncoderMom 01-31-2009 07:47 PM

THANK YOU!!!!!

Worked!!

UncoderMom 01-31-2009 07:57 PM

dude... I love you! *tear of happiness* LOL

Artangel 02-04-2009 05:18 AM

for 3.7.x version..

just change $lastpost_info2 into $tachy_columns, so that no database error.. if you remove $lastpost_info2, the lastpost info of your global thread will be gone.. or 01/01/1970 (date) and no last posted by...

wapsilog 02-04-2009 05:23 AM

Quote:

Originally Posted by Artangel (Post 1733841)
for 3.7.x version..

just change $lastpost_info2 into $tachy_columns, so that no database error.. if you remove $lastpost_info2, the lastpost info of your global thread will be gone.. or 01/01/1970 (date) and no last posted by...

great move... now my forum works fine with this hack!

UncoderMom 02-04-2009 10:39 AM

One thing though, now my thread says it was created in 1969. ROFL Small price to pay I guess. LOL

MentaL 09-03-2009 07:33 PM

here is the fixed version for 3.8 and so forth using the above fixes mentioned.

Lazee Wolf 12-27-2009 07:54 AM

Can anyone please tell me how to change the text of prefix? Currently it says "Global" I want it to say something like say "Exclusive"

Thanks

abdicar 06-26-2010 12:15 AM

Hello. Is there any alternative for vB 4?

lcbd 09-20-2010 02:49 AM

Are you considering upgrading this to vB 4?

adwade 10-03-2010 01:35 PM

Quote:

Originally Posted by ibuddy (Post 1389963)
how do I change the "Global:" to something else?

Quote:

Originally Posted by SBlueman (Post 1449187)
Edit the phrase $vbphrase[gt_global] from "Global:" to whatever you want. You can add html code to style it as well.

JUST FYI,
When I tried searching for $vbphrase[gt_global] (within Phrase Text and Phrase Variable Name) all I ever got was "No Phrases Matched Your Query". :(

However, when I only searched for gt_global (within Phrase Variable Name) it reported:
GLOBAL Phrases Containing 'gt_global' gt_global

so after selecting Edit, I was able to Copy Default Text and revise "Global:" to "FOR SALE:" :D

BirdOPrey5 01-31-2011 03:09 AM

FYI All-
I was given permission to continue developing this mod. I have released a VB4 compatible version here: https://vborg.vbsupport.ru/showthread.php?t=258084

BirdOPrey5 01-31-2011 11:06 PM

Today I released an updated 3.8 version as well:
https://vborg.vbsupport.ru/showthread.php?t=258109

It has all the new options my VB4 version has- You can include or exclude specific forums, you can put them above or below stickies, you can sort by last post or first post, and there is a cool like globe icon you can use. :cool:

Any new developments will be posted in that thread.

It is ESSENTIAL if you upgrade to the new version you UNINSTALL the old one first. This isn't a suggestion, this is a REQUIREMENT.


All times are GMT. The time now is 01:04 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.01313 seconds
  • Memory Usage 1,781KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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