Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hurricane Katrina Banner Details »»
Hurricane Katrina Banner
Version: 1.01, by yoyoyoyo yoyoyoyo is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 08-31-2005 Last Update: 08-31-2005 Installs: 8
Template Edits
Additional Files  
No support by the author.

Hurricane Katrina Banner
Please donate to help the victims of the Hurricane

This template edit adds a banner to your forum, that appears after the first post on each page.

First upload the redcross.jpg banner to your forum/images directory.

Then go to your Admin CP -> Styles & Templates -> Style Manager -> Edit Templates -> Postbit (and/or Postbit Legacy) and click on the "<< >>" button to expand the template groups. Then paste the following at the end of your template(s):

PHP Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
<
center>
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead" align="left">Support Hurricane Victims</td>
</
tr>
<
tr>
    <
td class="alt1" align="center">
        <
a href="https://redcrosssecure.org/arcno_org/?zone=donate&sid=&sid="><img src="$vboptions[bburl]/images/redcross.jpg" alt="Donate to the Red Cross to help Hurricane Victims" border =0></a>
    </
td>
</
tr>
</
table>

</
div>
$spacer_close
</center>
</if> 
The address that the banner links to is the Red Cross of New Orleans, however you can substitute the link/banner with whatever aid organization you want to include.

NOTE: If you want to place this banner directly below your navbar check out THIS post

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 09-01-2005, 02:48 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attached to the first post is the banner, so people don't have to download the zip file if they don't want to. Of course you can substitute any banner to any aid organization, or link to that organization, that you want.

Attached to this post is another graphic that can be used as a sidebox (Thanks to MotoUp).

The Red Cross, operation usa, Direct Relief, America's Second Harvest and many others are all working to help the victims.

Any way that you can help is needed/appreciated, and there is no time to wait.

You can donate directly to the New Orleans chapter of the America Red Cross by clicking HERE

There is no time to wait!
Every day that passes without the needed help brings those people closer to danger/death! If you never donated to anything like this before, now is the time for social action! The federal/local governement is doing what they can, but it will not be enough - aid organizations such as Red Cross and the rest are already on the ground helping people directly, and they can do more with your help.
Reply With Quote
  #3  
Old 09-01-2005, 04:23 AM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BRO, I tip my hat to you on this one. I have quite a few friends that have lost everything to Katrina and some that I have not been able to get ahold of yet.

I am showing my support and doing what I can to help. Zendiving.com Installed
Reply With Quote
  #4  
Old 09-01-2005, 04:32 AM
sketch42's Avatar
sketch42 sketch42 is offline
 
Join Date: May 2004
Location: Brooklyn, NY
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack...
note

http://boobtube.tk/forum/images/redcross.jpg

you need to change the links to your own site
Reply With Quote
  #5  
Old 09-01-2005, 04:51 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are variables you can use to call for forum directory URL's you know.. You don't need to hardcode the link in there.
Reply With Quote
  #6  
Old 09-01-2005, 09:38 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony G
There are variables you can use to call for forum directory URL's you know.. You don't need to hardcode the link in there.
oops- changed. Sorry about that- I put this hack up late last night after hearing of my relatives in Louisiana that nobody has heard from in days, so I was a little distracted.

Please donate what you can to help the hurricane victims.
Reply With Quote
  #7  
Old 09-02-2005, 12:30 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dontated $5000 to the American Red Cross yesterday.
Reply With Quote
  #8  
Old 09-02-2005, 01:07 PM
Q139 Q139 is offline
 
Join Date: Mar 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works great and this is a important hack for my site....
Reply With Quote
  #9  
Old 09-02-2005, 01:19 PM
markbolyard's Avatar
markbolyard markbolyard is offline
 
Join Date: Apr 2005
Location: Maryland
Posts: 629
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you yoyoyoyo! I was just thinking about this while driving into the office today. I installed it but under my navbar.

edit your navbar template:

find:
Code:
<!-- / nav buttons bar -->
after add:
Code:
<!-- Redcross Banner -->
<div align="left">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
	<tr align="left">
<tr>
    <td class="thead" align="left">Support Hurricane Victims</td>
</tr>
<tr>
    <td class="alt1" align="left">
        <a href="https://redcrosssecure.org/arcno_org/?zone=donate&sid=&sid="><img src="$vboptions[bburl]/images/redcross.jpg" alt="Donate to the Red Cross to help Hurricane Victims" border =0></a>
    </td>
</tr>
</table>
<!-- End Redcross Banner -->

Thanks again!
Reply With Quote
  #10  
Old 09-02-2005, 01:38 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by namesville.com
Thank you yoyoyoyo! I was just thinking about this while driving into the office today. I installed it but under my navbar.

edit your navbar template:

find:
Code:
<!-- / nav buttons bar -->
after add:
Code:
<!-- Redcross Banner -->
<div align="center">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
	<tr align="center">
<tr>
    <td class="thead" align="left">Support Hurricane Victims</td>
</tr>
<tr>
    <td class="alt1" align="center">
<a href="https://redcrosssecure.org/arcno_org/?zone=donate&sid=&sid="><img src="$vboptions[bburl]/images/redcross.jpg" alt="Donate to the Red Cross to help Hurricane Victims" border =0></a>
    </td>
</tr>
</table>
<!-- End Redcross Banner -->

Thanks again!
nice addition! I will link it from the first post
Reply With Quote
Reply


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 01:12 PM.


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.04678 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (1)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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