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)
-   -   Blink PM bar on new PM! (https://vborg.vbsupport.ru/showthread.php?t=32299)

Master Computer 04-04-2003 10:09 AM

At first, thanks for the quick reply.

I have two questions here:

1. the guide says that I have to put in the template "forumhome_pmloggedin":

/======================================\
| Before that, add this code: |
\======================================/
id="pmBox"

but I have another variable there:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">

so, what do I have to do?

2. Also, about the javascript function. Do I have to put it after the last line in the template? I don't know where since I don't have "</smallfont></td></tr>"

DarkDraco07 04-07-2003 03:45 AM

i saw a request for blinking background images and didnt see a reply. here is how to do it.

1)upload 2 images into the forums/images folder that you want to blink
2)add this line to the template insteade of the original:
[code]<script language="JavaScript">
<!-- Begin
$pmblink pmBox.backbround='{imagesfolder}/img1.gif';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
function Timer() {
set=1;
if(x==0 && set==1) {
pmBox.background='{imagesfolder}/img1.gif';
x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.background='{imagesfolder}/img2.gif';
x=0;
set=0;
}
}
// End -->
</script>

*note: replace the img1.gif and img2.gif with the file names that you uploaded

DarkDraco07 04-07-2003 03:45 AM

i saw a request for blinking background images and didnt see a reply. here is how to do it.

1)upload 2 images into the forums/images folder that you want to blink
2)add this line to the template insteade of the original:
Code:

<script language="JavaScript">
<!-- Begin
$pmblink pmBox.backbround='{imagesfolder }/img1.gif';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
 function Timer() {
        set=1;
        if(x==0 && set==1) {
                pmBox.background='{imagesfolder }/img1.gif';
                x=1;
                set=0;
        }
        if(x==1 && set==1) {
                pmBox.background='{imagesfolder }/img2.gif';
                x=0;
                set=0;
        }
}
// End -->
</script>

*note: take the space in {imagesfolder } out
*note: replace the img1.gif and img2.gif with the file names that you uploaded

DarkDraco07 04-07-2003 03:46 AM

double posts

Splitfyre 04-17-2003 08:56 PM

Didn't work for me.

Master Computer 05-08-2003 10:29 PM

I've posted a questions 4 posts before and didn't get any reply.
I assume that I couldn't explain the issue.
Here I attach the forumhome_pmloggedin template to show you what I have.
I don't know how to apply that hack since my template has id="AutoNumber1".
Any suggestion for how to get that hack working?

0ptima 05-09-2003 09:50 PM

Quote:

Today at 12:29 AM Master Computer said this in Post #246
I've posted a questions 4 posts before and didn't get any reply.
I assume that I couldn't explain the issue.
Here I attach the forumhome_pmloggedin template to show you what I have.
I don't know how to apply that hack since my template has id="AutoNumber1".
Any suggestion for how to get that hack working?


I have a similar problem, my template says:

The instructions say:

/======================================\
| In the template forumhome_pmloggedin |
| find this: |
\======================================/
bgcolor="{categorybackcolor}"

/======================================\
| Before that, add this code: |
\======================================/
id="pmBox"

My template has:

<tr id="cat">

<td bgcolor="{categorybackcolor}"

So do I do the following: <tr id="cat" id="pmBox"> ?

jclay 05-26-2003 12:08 AM

But where do I add this. I'm using 2.3 and I tried adding it to the end of forumhome_pmloggedin and it didn't do anything.

Can someone please advise.

(I'm trying to learn, but I'm still very new to this type of stuff)

Thanks again!!!

paratek 05-28-2003 01:26 PM

Quote:

05-09-03 at 11:50 PM 0ptima said this in Post #247
I have a similar problem, my template says:


My template has:

<tr id="cat">

<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"

So do I do the following: <tr id="cat" id="pmBox"> ?


It should look like this:

<td id="pmBox" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"

Paratek

BlackDeath 05-30-2003 02:28 AM

u spelled category wrong. :)


All times are GMT. The time now is 01:56 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.01547 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
  • (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