vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Custom Donations Page?

This is a discussion on Custom Donations Page? within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hi, I am wonting to make a custom donations.html / php page so it includes the style thats using by ...

Go Back   vBulletin SEO Forums > Focus on Members > Off-Topic & Chit Chat

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-01-2008, 10:23 AM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
Question Custom Donations Page?

Hi,

I am wonting to make a custom donations.html / php page so it includes the style thats using by vBulletin but am not sure what I would need to include in the PHP code.

Could someone tell me what I would need to add?

PS - I am not sure if this as been added to the right section, sorry if it's in the wrong place.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 10-01-2008, 11:16 AM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
Very easy.

Create a vBulletin template named: custom_Donations (Note the capitlization, to make the vB breadcrumbs look better)

Put your content in it like:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
 <!-- no cache headers -->
 <meta http-equiv="Pragma" content="no-cache" />
 <meta http-equiv="Expires" content="-1" />
 <meta http-equiv="Cache-Control" content="no-cache" />
 <!-- end no cache headers -->
 $headinclude
 <title>Donations</title>
</head>
<body>
$header
$navbar
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
   <td class="tcat" align="center">
    Donations
   </td>
  </tr>
  <tr>
   <td class="alt2">
 
 
PUT YOUR CONTENT HERE
 
 </td>
  </tr>
 </table>
$footer
</body>
</html>

Add a CRR to your vBSEO Control panel like this:
Code:
'^misc\.php\?do=page&template=Donations' => 'donations.html'
The page will show up when you browse to www.yoursite.com/donations.html (or www.yoursite.com/forum/donations.html, etc, depending on where vBulletin is located on your site.)
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum

Last edited by Keith Cohen; 10-01-2008 at 12:49 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 10-01-2008, 12:07 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
Where do I goto to make a new template? is it Styles & Templates?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 10-01-2008, 12:09 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
Yes, in all styles, or if you have them set up as all children under one parent style, you just need to create in your parent style.
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 10-01-2008, 12:19 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
I tried going to this : Styles Manager then adding Add new Template but its showing a blank page here : http://chatfreaks.net/vbtest/donations.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 10-01-2008, 12:22 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
I can't see that page because it's protected by web security, but try going to:

http://chatfreaks.net/vbtest/misc.ph...late=Donations

If that doesn't work, then you made a mistake in the template, template naming, or didn't create it in the correct style, etc.
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 10-01-2008, 12:28 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
if I goto there it takes me to the donations.html page but its blank. Did I add the right contents to the code?

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
 <!-- no cache headers -->
 <meta http-equiv="Pragma" content="no-cache" />
 <meta http-equiv="Expires" content="-1" />
 <meta http-equiv="Cache-Control" content="no-cache" />
 <!-- end no cache headers -->
 $headinclude
 <title>Donations</title>
</head>
<body>
$header
$navbar
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
   <td class="tcat" align="center">
    Donatioins
   </td>
  </tr>
  <tr>
   <td class="alt2">
  
<center>
   <iframe src="Google" width="80%" height="400"></iframe>
</center>
 
 </td>
  </tr>
 </table>
$footer
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 10-01-2008, 12:30 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
It's COMPELTELY blank?

Also, remove the CRR from vBSEO for now, until you get it working. Once it works with the other URL I referenced, then you can go in an rewrite it.
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 10-01-2008, 12:36 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
Still getting a blank page, I have taken of the web security so you can have a look on both the pages.

1. http://chatfreaks.net/vbtest/misc.ph...late=Donations
2. http://chatfreaks.net/vbtest/donations.html

PS - Want me to send the login info so you can goto the admincp and check if its right?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 10-01-2008, 12:39 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
And you named the template "custom_donations", correct?

Which style did you create it in? Default or Applied?
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 10-01-2008, 12:40 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
Dont know I think I put it in both as its showing in both. But its called "custom_donations" in both.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 10-01-2008, 12:44 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
Ok, I see the problem. It was my mistake, not yours. Delete the template and recreate it as "custom_Donations" (Capital D). That will work, and it will make it show as "Donations" in the vB breadcrumbs. I was thinking the template name had to be in all lowercase.

I'll update my first reply.
__________________
Keith Cohen / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 10-01-2008, 12:48 PM
DaveTomneyUK's Avatar
Senior Member
 
Real Name: David Tomney
Join Date: Dec 2006
Location: England, UK
Posts: 123
Send a message via Yahoo to DaveTomneyUK
Quote:
Originally Posted by Keith Cohen View Post
Ok, I see the problem. It was my mistake, not yours. Delete the template and recreate it as "custom_Donations" (Capital D). That will work, and it will make it show as "Donations" in the vB breadcrumbs. I was thinking the template name had to be in all lowercase.

I'll update my first reply.
That worked, thankyou very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it. Keith Cohen Member Articles 148 11-28-2008 07:02 AM
Ads & Donations Jason_A Off-Topic & Chit Chat 20 03-23-2008 12:54 AM
Custom page Fork Custom Rewrite Rules 2 02-05-2007 03:35 PM


All times are GMT -4. The time now is 12:47 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.