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)

noreturn 01-22-2006 04:42 PM

Quote:

Originally Posted by noreturn
What happens if 4 different guests visit within the 1 hour setting I have set? Does only the first guest see the guest message if others visit within that 1 hour? If so, how can I make it always pop up for a guest, but only at 1 hour intervals for all others? And....
Thank you.

I have tested what you said by logging out and then visiting board without loggin in. I then click on "Forums" menu option and the guest pop-up does not appear...unless I keep it set to 0 (zero) in the admin PC option. It seems that once a guest (non-registered visitor) comes to board and clicks on Fourm link on navbar, the pop up with text only for GUEST does not show up unless no guests have visted in that hour. Or, better yet, what the heck am I doing wrong? (stargazerschat.com)

Thanks for you time.

Logician 01-22-2006 07:11 PM

Quote:

Originally Posted by noreturn
I have tested what you said by logging out and then visiting board without loggin in. I then click on "Forums" menu option and the guest pop-up does not appear...unless I keep it set to 0 (zero) in the admin PC option. It seems that once a guest (non-registered visitor) comes to board and clicks on Fourm link on navbar, the pop up with text only for GUEST does not show up unless no guests have visted in that hour. Or, better yet, what the heck am I doing wrong? (stargazerschat.com)

Thanks for you time.

I think vb is reading your last visit time from your cookie even if we log out. So try with a different browser (without logging in) or after your popup expiration time you set is up.

noreturn 01-22-2006 07:32 PM

Hi - I cleared all cookies, cleared cache, went to web site and was not logged in. I click on forums but the guest pop up does not come up. I am using firefox if that means any thing.
I did the same thing and used IE and it works properly. Just not firefox for some reason.

htscpl 01-22-2006 07:55 PM

Just installed and I have a strange problem. Pop up and announcement box both work, however, any text in these are coved by a smilie !

I checked everthing I could think of but still no luck. Any ideas as to what would cause this and how to fix it?

I used your hack on 3.0.x and it worked fine. I followed the instructions to remove the old version and install this one so I am at a lost to figure out the problem.

Logician 01-23-2006 04:29 AM

Quote:

Originally Posted by htscpl
Just installed and I have a strange problem. Pop up and announcement box both work, however, any text in these are coved by a smilie !

I checked everthing I could think of but still no luck. Any ideas as to what would cause this and how to fix it?

I used your hack on 3.0.x and it worked fine. I followed the instructions to remove the old version and install this one so I am at a lost to figure out the problem.

Maybe that smilie's code exist in the hack templates or the announcement somehow if it is a too general code?

htscpl 01-23-2006 09:32 AM

Quote:

Originally Posted by Logician
Maybe that smilie's code exist in the hack templates or the announcement somehow if it is a too general code?

Figured it out. Several of my smilies didn't have a replacement code. Each of them showed up on top of the announcement or popup... kinda strange but when I added a code to the smilies they went away.

Thanks for pointing me in the right direction!

H :D

topanet 02-02-2006 03:43 AM

Thanks for great hack anyway... :)
but, i just want to know.. can i use your annoucement into specified thread/posting??
i mean, if user enter some thread, your annoucement will show up...

thanks... topz.

nailerpa 02-02-2006 11:19 PM

Is there a way to make the text in the annoucement block blink? I tried the <blink> and </blink> tags but they didn't work. Thanks!

Logician 02-03-2006 06:16 AM

Quote:

Originally Posted by nailerpa
Is there a way to make the text in the annoucement block blink? I tried the <blink> and </blink> tags but they didn't work. Thanks!

<blink> tag does not work with IE.

Not tested but this should work:

Put this javascript into your headinclude template:

PHP Code:

<script language="JavaScript">
var 
on_color "#FF0000";
var 
off_color "#000000";
var 
blink_onoff 1;
var 
blinkspeed500;
function 
blink()
{
    if( 
blink_onoff == 1) {
           
document.all.blink.style.color on_color;
       
blink_onoff 0;
    }
    else {
       
document.all.blink.style.color off_color;
       
blink_onoff 1;
    }
}
</
script

Then use this in your announcement:
PHP Code:

<font id=blink>My announcement</font><script>document.all.blink.style.color off_color;setInterval('blink()',blinkspeed);</script

You can google for "blink + IE" for more info about blinking effect in IE.

Kinneas 02-04-2006 07:28 AM

Coooool!

*installs*


All times are GMT. The time now is 04:08 AM.

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.01369 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)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
  • (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