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

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

Version: 3.5.0 RC2 Rating:
Released: 08-31-2005 Last Update: 08-31-2005 Installs: 4
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.

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:51 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.

Also attached to this post is another graphic that can be used in 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, 06:10 AM
alloutvb alloutvb is offline
 
Join Date: May 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack impressive to see your efforts to help i would add but i just got vbulletin and don't have it set up but i will later thanks man
Reply With Quote
  #4  
Old 09-01-2005, 09:43 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated: fixed the banner img URL
Reply With Quote
  #5  
Old 09-02-2005, 04:49 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

If you want to add this directly below your navbar then you can 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></div>
 <!-- End Redcross Banner -->
(thanks to namesville.com)
Reply With Quote
  #7  
Old 09-02-2005, 02:14 PM
markbolyard's Avatar
markbolyard markbolyard is offline
 
Join Date: Apr 2005
Location: Maryland
Posts: 629
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note the align="center" . You may wish to change this to left (which is standard) for your forum. the "center" may change your forum listing and postbit to center as well. The "left" will fix this shoud it happen.
Reply With Quote
  #8  
Old 09-02-2005, 02:26 PM
nexialys
Guest
 
Posts: n/a
Default

... no need to change the align tag, because yoyoyoyo just forgot to add the ending tag of the div...
Code:
 </table></div>
 <!-- End Redcross Banner -->
Reply With Quote
  #9  
Old 09-02-2005, 02:31 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 nexialys
... no need to change the align tag, because yoyoyoyo just forgot to add the ending tag of the div...
Code:
 </table></div>
 <!-- End Redcross Banner -->
Thanks- fixed- I didn't read the code that carefully- just copied it over from namesville.com's post in the other thread.
Reply With Quote
  #10  
Old 09-02-2005, 05:31 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed on my small site but I couldn't connect to the Red Cross site so I redirected it to Amazon's donation page.

http://www.amazon.com/paypage/PELYGQVJ8Q7IB
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 12:57 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.04907 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)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
  • (9)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