vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
|
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. |
|
#2
| ||||
| ||||
|
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'
__________________ 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. |
|
#3
| ||||
| ||||
|
Where do I goto to make a new template? is it Styles & Templates?
|
|
#4
| ||||
| ||||
|
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 |
|
#5
| ||||
| ||||
|
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 |
|
#6
| ||||
| ||||
|
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 |
|
#7
| ||||
| ||||
|
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>
|
|
#8
| ||||
| ||||
|
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 |
|
#9
| ||||
| ||||
|
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? |
|
#10
| ||||
| ||||
|
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 |
|
#11
| ||||
| ||||
|
Dont know I think I put it in both as its showing in both. But its called "custom_donations" in both.
|
|
#12
| ||||
| ||||
|
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 |
|
#13
| ||||
| ||||
| Quote:
|
| Thread Tools | |
| |
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 |