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)

Shpookdefied 01-14-2003 03:02 AM

Ok, I haven't installed it in all the template sets. :D I'm gonna go do that now, and I'll let you know how it works. Much respect for the amount of support you've given though.

w596 01-16-2003 06:09 PM

Another AWESOME hack from Logician. :D ;)

Thanks,
w596

Logikos 01-17-2003 01:42 AM

Ok i have installed this hack EXACTLY as instructed.

and im getting this error when trying to load my site




Quote:

Parse error: parse error in /home/hazelboy/public_html/Forums/admin/functions.php on line 855

Fatal error: Call to undefined function: vbdate() in /home/hazelboy/public_html/Forums/admin/sessions.php on line 400

Note: I have installed this on every style.

Any help is greatly appreciated, as this would be a GREAT hack to install.

-Nem

Logician 01-17-2003 10:54 AM

Quote:

Originally posted by []\[]emesis
Ok i have installed this hack EXACTLY as instructed.

and im getting this error when trying to load my site

Your problem is related to STEP 2. Check very carefully, you applied it correctly.

BTW.
Quote:

before ?> add:
means "add one line above ?>", not append.

So after installation if your last line of functions.php became like this:
PHP Code:

// Logician Dynamic Forum Announcements Hack ?> 

This is wrong. It should be like this:
PHP Code:

// Logician Dynamic Forum Announcements Hack 
?> 

More info can be found here

Hope this helps..

Shpookdefied 01-18-2003 06:11 AM

lol Me and Nemesis got it working, Logician. We just installed all the hacks on our PC vbulletin, then uploaded the .php files. Works great, and I love this hack. Thanks!

Buddha 01-30-2003 03:18 PM

logician, i've got a quick question for you. i installed your hack sometime ago, and i love it. i would have loved a nav link instead as well, instead of digging for it in the options, but i did make it bigger, and i'm trying to add a nav link under the announcements that will go to the options page, and i'd like it to go to that section (like an anchored link). it's not working though... keeping in mind that i'm not a coder.

PHP Code:

makenavoption("Dynamic Announcements","options.php?#settinggroup42"); 

i tried adding the session hash to that statement, but it still won't jump to that section of the page, it just goes to the top of the page.

any thoughts?

also, will it interfere with the hack if i add comments to add names in between the statements, so i know who they pertain to?

thanks.

Logician 01-31-2003 08:53 AM

Quote:

i'm trying to add a nav link under the announcements that will go to the options page, and i'd like it to go to that section
Try adding this:
PHP Code:

$options .= "<a href=\"options.php?t=0&s=$session[sessionhash]#settinggroup34\">Dynamic Announcements</a><br>"

;)

Quote:

will it interfere with the hack if i add comments to add names in between the statements
Yep it will..

Buddha 01-31-2003 05:21 PM

hey, thanks a lot... works like a charm... makes it a lot easier to pop to that section and make constant announcements.

thank you.

Bison 02-02-2003 06:31 PM

Thsi is one of the finest hacks available! ;)

SpeedStreet 02-11-2003 07:44 PM

Logician,

GREAT Hack! Only problem I am having, is that if I try entering in HTML code, it will not parse it. I only see my code on the page.

Is there a workaround for this?


All times are GMT. The time now is 01:14 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.01256 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_php_printable
  • (5)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