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 - CES Intelligent Announcement Query (https://vborg.vbsupport.ru/showthread.php?t=137175)

thincom2000 01-24-2007 11:40 PM

Version 1.0.1 was just uploaded. This contains instructions for an updated file edit that will do this check faster, and if someone is foolish enough to uninstall this product, announcements will now work without undoing the file edits.

stomph 01-25-2007 05:58 AM

Thanks for this hack!

There's a ) missing on line 477 in forumdisplay:
if ($announce_exists OR (!is_array($announces)))

adhari_com 01-25-2007 06:34 AM

Thanx for the great effort,
Although I think eliminating a single query would be replaced with the query calling the hook and also executing itself!

Just an opinion.

thincom2000 01-25-2007 04:51 PM

You are correct that the hooks creates a new query. However this is an additional query in the AdminCP Announcements page, and not one users would experience on your forumdisplay.

I would not have released this if it was that pointless.

Quote:

Originally Posted by stomph (Post 1166865)
There's a ) missing on line 477 in forumdisplay:
if ($announce_exists OR (!is_array($announces)))

I have updated the installation instructions with the missing parenthesis. Thanks!

TheFrienzNet 01-28-2007 09:07 PM

As much as I love your other hacks, I love this one too;however, there is a bug once again. Global announcements do not show up.

Get Shorty 01-28-2007 09:44 PM

Quote:

Originally Posted by TheFrienzNet (Post 1169292)
As much as I love your other hacks, I love this one too;however, there is a bug once again. Global announcements do not show up.

I don't use global announcements. Is that the only bug we're aware of?

I may install this one too...

thincom2000 01-28-2007 09:55 PM

Global Announcements fixed.

Get Shorty 01-28-2007 10:13 PM

Sweet. Installing...


All times are GMT. The time now is 04:16 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.01012 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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