vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Each Announcement shows as an extra thread in Forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=40604)

MalaK_3araby 07-11-2002 01:03 AM

eXcellent .. --- INSTALLED -- thanX

Smoothie 07-11-2002 04:02 AM

In forumdisply_announcement template, I find more than one instance of this:
PHP Code:

<a href="announcement.php?s=$session[sessionhash]&forumid=$foruminfo[forumid]"

Replace all?

Xenon 07-11-2002 07:41 AM

yes, replace all

Smoothie 07-11-2002 08:56 AM

thanks..nice addition. Never could figure out why announcements were never like that in the first place. :)

X-Fan 07-12-2002 02:36 AM

Quick question - is it possible to integrate this with Xelation's "Detach Announcement" template mod from vBulletinTemplates.com?

Xenon 07-12-2002 11:49 AM

i have to say: no idea, i don't know xelations Detach template mod.

but as i know in vb nearly everything is possible, so i think you can integrate it, but i'm not sure...

TheSaint-AeD 09-29-2002 03:03 PM

Thx 4 the Hack, I searched long for this. Also imo this should be a standart Feature to vB.

themonarch 10-15-2002 04:09 PM

Most excellent hack! Thanks a bunch!

Bison 10-16-2002 01:09 AM

Good work M8! :banana:

Medivith 12-18-2002 09:50 PM

vB2.2.9

The hack works as it should, but when I click on an annoucement I get this:

Parse error: parse error in /announcement.php on line 42

Line 42 is this:
PHP Code:

WHERE startdate<='$datenow' AND enddate>='$datenow' AND $forumlist $announcementsql ORDER BY startdate DESC"); 



All times are GMT. The time now is 06:17 AM.

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.01252 seconds
  • Memory Usage 1,726KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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