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)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=43194)

Logician 08-31-2003 10:10 PM

Are you trying to include:
a) dynamic announcement in a non-vb page?
b) a html page inside a webtemplate?
c) the announcement in a webtemplate?

lasto 09-01-2003 07:52 AM

installed and works fine

/me clicks install

lasto 09-01-2003 08:29 AM

one thing is smilies etc supposed to show up in this box as when i do one the announcement shows up but the smilie i entered shows as text.

any idea why cause the hack works fine besides that.

Logician 09-01-2003 09:02 AM

Searched thread? I believe somebody else had a similiar problem and it is likely that I had provided a solution. I think...

Wolverine 09-09-2003 09:12 PM

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

robinsf 09-14-2003 12:10 AM

Quote:

Originally Posted by Logician
for 3.0? This hack is not coded for vb 3.0.

If you meant 2.3.0, first reapply hack steps accept running install file and it should work. And if it does not, run the install file too.

Ran the install file, re-implemented all the steps and still not working in v2.3.2

robinsf 09-14-2003 12:11 AM

Forgot to add... I now have 2 copies of the DFA option in admin cp.

EchoHype.com 09-14-2003 12:30 AM

logician- how hard would it be to get this working on 3.0, beta 6?

Logician 09-14-2003 11:12 AM

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.

Wolverine 09-21-2003 02:26 PM

Thanks a bunch! I did indeed manage to add the code to index.php in the admin folder by mistake. Works great now, thanks a ton :)


All times are GMT. The time now is 03:38 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.01378 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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