vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Hurricane Katrina Banner (https://vborg.vbsupport.ru/showthread.php?t=95414)

yoyoyoyo 08-31-2005 10:00 PM

Hurricane Katrina Banner
 
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

yoyoyoyo 09-01-2005 02:48 AM

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.

zendiver 09-01-2005 04:23 AM

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

sketch42 09-01-2005 04:32 AM

great hack...
note

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

you need to change the links to your own site

Tony G 09-01-2005 04:51 AM

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.

yoyoyoyo 09-01-2005 09:38 AM

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.

mholtum 09-02-2005 12:30 AM

I dontated $5000 to the American Red Cross yesterday.

Q139 09-02-2005 01:07 PM

Thanks works great and this is a important hack for my site....

markbolyard 09-02-2005 01:19 PM

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!

yoyoyoyo 09-02-2005 01:38 PM

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 :D


All times are GMT. The time now is 10:09 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.02027 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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