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)

Logician 10-28-2005 07:50 PM

Quote:

Originally Posted by TitanJeff
Love this hack but wanted to ask if the color red can be changed on the pop up. Also, I have a spacing issue with it on the front page with more space above it than below. I'd like it to be even if possible. http://www.gotitans.com/goForum/

Thanks for a great addition to my forum!

Edit template "dfh_announcement_popup" and you'll see the part that says "background-color: red;". Your other spacing problem can adjusted by playing the style code in the same line.

ggiersdorf 10-31-2005 02:34 PM

GREAT MOD WOW! thanks but I have one question can I some how change the timing between postings for groups? Like the Guest one I want Every time they visit the home page, but Only want to send a message to Admins every 24 hours say etc, etc

can the interval be added into the condition statements?

Thanks in Advance

secret1980 11-01-2005 04:07 AM

is it possible to bring the pop up in the middle of the page ?? it comes in the middle for opera & firefox but it comes in the left side for IE.

btw great hack :D clicked install :D

phonexpo 11-03-2005 06:09 PM

Installed, thanks ;-)

kushtiUK 11-04-2005 10:36 AM

Quote:

Originally Posted by breaume
For all you VBA CMPS users I have this working on the CMPS home Page. Here is what I did. I am no coder but it works on my site. I also add step 2 to forum display and showthread.

1. in the Plugin System -> Plugin Manager
move Dynamic Forum Home Announcement Hack by Logician from forumhome_complete to Global_start hook location

2. edit adv_portal template just the same as in the forumhome template.
Replace
Code:

</head>
<body>
$header
$navbar

with
Code:

$dfh_announcement_headercode
</head>
<body>
$dfh_announcement_popup
$header
$navbar
$dfh_announcement

3. ADmincp -> VBA CMPS -> Default Settings -> Portal Output Global Variables

Add the following
dfh_announcement
dfh_announcement_popup
dfh_announcement_headercode

and Save :)

I have tried this by following all your instructions but it does not show on my main page - has anyone else found this problem?

dreck 11-04-2005 02:13 PM

Quote:

Originally Posted by breaume
For all you VBA CMPS users I have this working on the CMPS home Page. Here is what I did. I am no coder but it works on my site. I also add step 2 to forum display and showthread.

1. in the Plugin System -> Plugin Manager
move Dynamic Forum Home Announcement Hack by Logician from forumhome_complete to Global_start hook location

2. edit adv_portal template just the same as in the forumhome template.
Replace
Code:

</head>
<body>
$header
$navbar

with
Code:

$dfh_announcement_headercode
</head>
<body>
$dfh_announcement_popup
$header
$navbar
$dfh_announcement

3. ADmincp -> VBA CMPS -> Default Settings -> Portal Output Global Variables

Add the following
dfh_announcement
dfh_announcement_popup
dfh_announcement_headercode

and Save :)

Very nice!!
I love having the forum display and showthread.

Thanks, dreck

blue6995 11-04-2005 08:21 PM

I can get the Forum Home Table Announcement to appear but I can't get the pop-up announcement to work!

Living in music 11-05-2005 10:25 AM

Hi! Anyone can help me to do this? When users enter and login to forum homepage,popup will appear but only one time.Users won't see popup again when they're back to forum homepage.This will help to avoid reading popup a lot of time which users usually feel displeased.I think if it's successful,this mod will be perfect.On the other hand,anyone knows how to make popup move along scroll bar?

I love this mod :D thanks.

Logician 11-05-2005 10:30 AM

Quote:

Originally Posted by Living in music
Hi! Anyone can help me to do this? When users enter and login to forum homepage,popup will appear but only one time.Users won't see popup again when they're back to forum homepage.This will help to avoid reading popup a lot of time which users usually feel displeased.I think if it's successful,this mod will be perfect.

There is a hack setting for this so that you can configure it as you like: admin cp/vb options/Dynamic Forum Announcements/ Popup Frequency (In Hour)

folkish 11-06-2005 10:56 PM

Quote:

Originally Posted by bang
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?

I'd like to know the answer to this as well.

Installed, btw. Great hack.


All times are GMT. The time now is 03:32 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.01208 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (5)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