vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=97073)

dreck 09-29-2005 04:23 PM

Nice hack, installed on 3.5.0 gold no problems. :banana:

Thanks.

*install*

utw-Mephisto 09-29-2005 05:11 PM

Just wondering, I don't see in the screenshots to turn it actually off ? Do I have to remove the text to disable it ?

Just wondering about events I would like to announce in a popup which I use several time .. I just want to avoid typing it everytime (or copy / paste etc.) ...

Vizionz 09-29-2005 05:24 PM

if you dont want nothing to show up yeah just remove the text in the fields and nothing will show up or just disable the plugin till u need it then reable it

utw-Mephisto 09-29-2005 05:42 PM

I was afraid you'd say that ;)

Logician 09-29-2005 06:53 PM

Quote:

Originally Posted by utw-Mephisto
Just wondering, I don't see in the screenshots to turn it actually off ? Do I have to remove the text to disable it ?

Just wondering about events I would like to announce in a popup which I use several time .. I just want to avoid typing it everytime (or copy / paste etc.) ...

If you don't want to remove and readd the text, put it inside a wrong conditional :

[[(1==0)]]
My text that I don't want to reinsert everytime
[[/(1==0)]]

So when you want to enable it you can remove conditional tags and it is on.

SirJonathan 09-29-2005 07:46 PM

Just wanted to say.. AWESOME!.. Thanks! :) Love this hack!

utw-Mephisto 09-29-2005 07:52 PM

Quote:

Originally Posted by SirJonathan
Just wanted to say.. AWESOME!.. Thanks! :) Love this hack!

I must 2nd that :) Works like a charm ..

SirJonathan 09-29-2005 08:29 PM

Hey there!

As I'm re-installing the mod I've been studying the conditionals and I came up with a conditional which I couldn't seem to make work. Is there anyway I could have a message show if a user hasn't posted in a certain forum? So, if user has no posts in (insert forum ID), a message will display?

Would this be possible? :)

Thanks!

-Jonathan

bang 09-29-2005 08:42 PM

I have the vBShout hack installed, and the accouncement box appears under the shoutbox. is there a way to move it directly under the navbar, above the shoutbox?

Vizionz 09-29-2005 08:44 PM

you have to edit the template for the pop up in your style

dfh_announcement_popup

Code:

<DIV ID="ANNLAYER" STYLE="background-color: black; position: absolute; margin-left:255; margin-right:255; margin-top:354; margin-bottom:50; top: 341px; bottom: 120px; left: 130px; right: 5px; padding: 1px; overflow: auto; border-color: 000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;">


All times are GMT. The time now is 02:55 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.01398 seconds
  • Memory Usage 1,735KB
  • 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_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