vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=64189)

lanc3lot 01-17-2005 01:33 PM

Hmm, and please Logician(nice nick, u are from greece maybe?:D) tell us if this works with 3.0.5 :)

Thnx

yoyoyoyo 01-17-2005 03:10 PM

Quote:

Originally Posted by lanc3lot
Hmm, and please Logician(nice nick, u are from greece maybe?:D) tell us if this works with 3.0.5 :)

Thnx

works fine with 3.0.5!

T3MEDIA 01-18-2005 02:45 AM

Quote:

Originally Posted by Logician
Hack of Hack:

If you apply this modification, the popup announcement will popup once in every 12 hours:

Edit index.php, find (hack code):
PHP Code:

$dfh_announcement_popuptopaste dynamic_a($dynamic_popup); 

REPLACE IT AS:
PHP Code:

$dfh_announcement_popuptopaste dynamic_a($dynamic_popup);
if (
$bbuserinfo[lastactivity]>AND $bbuserinfo[lastactivity]>mktime (date("H")-12date("i"), date("s"), date("m"), date("d"), date("Y")))     {unset ($dfh_announcement_popuptopaste);} //popup once in every XX hours 

(Change 12 above if you want to apply a different popup duration.)

Hey bro...
how do I do a syntax for something that is null?
=="" I am not sure if "" is ok. or can I do ()

master786 01-19-2005 10:00 AM

Nice hack but its size is too much. Our forum's speed is slow after we installed this hack. Can you please tell me the easiest way how to uninstall this hack?

lanc3lot 01-20-2005 01:28 AM

Just installed:)

It works ok...

But just in case, is there any uninstall script to have?

Also, what is the "load" of page, that creates


Thanks in advance:)

Ps

A question:

In your first Hack, of the hack, u say: (at the end)
Now put
$dfh_announcement_headercode
$dfh_announcement_popup
$dfh_announcement
variable in any template you like

What do u mean with that? I must do something else, so this will work on every page?

Ps2

Is there any way, i can "change" the background color of the table of the announcement, the color of the text and the font size of the text?

I tried a code like:
Code:

<td style="background-color:#000000;color:#FF6600;font-size:9px;">
but it didnt work:( Can i do it differently?

Ps3

Something last...To add more than one announcement, i just write them under the first one?

Thnx and sorry for the q, just trying to fix it better:)

lanc3lot 01-21-2005 10:48 AM

Anybody else who use this hack, knows about that i asked?

As i think Logician is not available right now:(

Mechanical Mind 01-22-2005 02:34 PM

* clicks install *

I am looking forward to using this hack. Thanks Logician.

This may be the perfect tool to irritate "lurkers" into posting.

Plus - great instructions and thread here. This is the first hack that I have been able to successfully install.

I'll update this post when I learn how to use it... :nervous:

UPDATE

This is the best frickin' hack in modern history. I don't know what's better vBadvanced or this! Seriously!

kall 01-22-2005 08:24 PM

*bangs head on desk in frustration*

Well, I have tried to work out how to get 'Your Paid Subscription expires in X days' to display, but can't for the life of me think of what the variable might be to call. :(

Please, oh great Logician, tell me if this is even possible. :)

bigmonay2k 01-23-2005 12:41 AM

I got this... what I am doing wrong?? Fatal error: Call to undefined function: dynamic_a() in /home/gamewar2/public_html/forums/index.php on line 427

djjeffa 01-23-2005 03:43 PM

Quote:

Originally Posted by djjeffa
i upgraded to 3.0.5 and its in my admin panel but its not showing up on my index page
can I get a lil help?

?BUMP


All times are GMT. The time now is 07:42 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.01433 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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