Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-09-2001 Last Update: Never Installs: 281
 
No support by the author.

This is a very simple hack, yet I kinda like it.
Don't you just hate it when you write a long PM to someone, send it, and he doesn't even notice it?!

NO MORE!

Install this very easy hack and no one will be able to ignore the PM again.

This is almost just a template hack, but since it does involve editing a file and adding 4 lines of PHP code, it qualifies as a hack.
Sue me.

Anyway, what does this hack do?
Whenever you come to the forum main page, and you have any unread messages (even if they aren't new), the category strip that says "Private Messages" will blink.
Simple, but effective.

To see a demo of this, just send yourself a PM and see what happens. I'm sure you'll like it.

Installing this will take you 2 minutes if not less, it's very very simple.
I also don't expect too many support requests.

Anyway, have fun!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #242  
Old 04-04-2003, 10:09 AM
Master Computer Master Computer is offline
 
Join Date: Dec 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>"
Reply With Quote
  #243  
Old 04-07-2003, 03:45 AM
DarkDraco07's Avatar
DarkDraco07 DarkDraco07 is offline
 
Join Date: Apr 2002
Posts: 414
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #244  
Old 04-07-2003, 03:45 AM
DarkDraco07's Avatar
DarkDraco07 DarkDraco07 is offline
 
Join Date: Apr 2002
Posts: 414
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #245  
Old 04-07-2003, 03:46 AM
DarkDraco07's Avatar
DarkDraco07 DarkDraco07 is offline
 
Join Date: Apr 2002
Posts: 414
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

double posts
Reply With Quote
  #246  
Old 04-17-2003, 08:56 PM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work for me.
Reply With Quote
  #247  
Old 05-08-2003, 10:29 PM
Master Computer Master Computer is offline
 
Join Date: Dec 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #248  
Old 05-09-2003, 09:50 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"> ?
Reply With Quote
  #249  
Old 05-26-2003, 12:08 AM
jclay jclay is offline
 
Join Date: Apr 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #250  
Old 05-28-2003, 01:26 PM
paratek's Avatar
paratek paratek is offline
 
Join Date: Feb 2003
Location: New York
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #251  
Old 05-30-2003, 02:28 AM
BlackDeath BlackDeath is offline
 
Join Date: Dec 2002
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

u spelled category wrong.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.17553 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete