View Single Post
  #180  
Old 09-14-2003, 11:12 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wolverine
Great hack, though I am having a small problem.
The install seemed to go well but the announcement is not showing up on my forum homepage. I removed the default conditional message and replaced it with a standard text message so that it would apply to all user groups, still nothing.

Where would you suggest I begin my troubleshooting?
I am running version 2.8.0
Make sure you applied all steps correctly (Do not reapply step 1, if you already did). Especially make sure:
a) In Step 4 you applied the correct code according to your vb version
b) In STEP 3, you created the template IN ALL template sets if you have more than 1.
c) In STEP 4, you are adding the code into forum/index.php, NOT forum/admin/index.php

Quote:
Ran the install file, re-implemented all the steps and still not working in v2.3.2
I didn't test this hack with 2.3.2. I tested it with 2.3.0 though and it is working ok so I wouldn't expect any problems in 2.3.2 too. See my suggestions for Wolverine above.

To fix double options problem: (which happened because you ran the file in step 1 twice):
Edit "forum/admin/config.php", at the end file find the line ?> and before that add:
PHP Code:
$debug=1
Then close all your browser windows, open again and login into your admin cp. You'll see a new link named "Edit Settings" under "vb options", click it and scroll at the end of page. You see double "Dynamic Forum Announcements Hack" link there, remove one of them. Then edit your config.php file again and remove the line you added there.

Quote:
how hard would it be to get this working on 3.0, beta 6?
I don't know. I didn't look at it yet. As you know VB3 hacking is not allowed at the moment.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01107 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete