Time2Dine.co.nz is Online Restaurant Booking
 
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > SEO vBulletin
Register

Reply
 
LinkBack Thread Tools
  #1  
Old 19th Jan 06, 04:41 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default Photopost SEO

vBulletin Photopost SEO

SEO Photopost version 5.5 (ajax version) - In the course of my SEO'ing of vBulletin, I get to SEO the associated packages.

Make sure that you have the spider friendly url's option on:
Settings - Edit options - Global options
option: Use Spider-friendly URLs?

Issues:

  • all the titles are around the wrong way corrected
  • and the meta descriptions are all the same - same as the default vBulletin meta description. corrected
  • There is no firstwords section corrected
  • The h1 is set as the main forum - corrected
  • with the spider friendly url's, there are a number of duplicate url's - not fixed
photopost/admin-inc.php

find:
Code:
<title>{$Globals['galleryname']} - {$titlereplace} - Powered by PhotopostPost
replace with:
Code:
<title>{$titlereplace} - {$Globals['galleryname']}
find
Code:
<!-- end no cache headers -->\n
Add the following after it:
Code:
<meta name=description content='See {$titlereplace} on our {$Globals['galleryname']} picture gallery - {$titlereplace}' />
You can add some more descriptive text as you would like. Just make sure that you have the {titlereplace} twice in the meta description.

/photopost/pp-inc.php

replace:

Code:
$theader = str_replace( "<head>","<head><title>{$Globals['galleryname']} - {$titlereplace} - Powered by PhotoPost</title>", $theader );

with:

Code:
$theader = str_replace( "<head>","<head><title>{$titlereplace} - {$Globals['galleryname']}</title>", $theader );
replace:
Code:
$theader = str_replace( "{ppheader}", "$nocachetag $headtags $javapopup $headslide", $theader);
		print "$theader";
with:


Code:
$headx="
<meta name=\"description\" content=\"See {$titlereplace} on our {$Globals['galleryname']} gallery. {$titlereplace} - sitename.\" />
$nocachetag
$headtags
$javapopup
$headslide
$ajaxcode";
		$theader = str_replace( "{ppheader}",$headx, $theader);
Now with the title being around the other way, we have the issue of the "Main index" being hte first words of the main pp index page. So edit the $Globals for your language:
ie /languages/eglish.php
from

Code:
$Globals['pp_lang']['tablehead'] = "Main Index";
to
Code:
$Globals['pp_lang']['tablehead'] = "Your main keyphrase";




Check your pp admin, and delete any meta description from the administration / edit headtags.


Add in the following plugin:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
	<plugin active="1" product="vbulletin">
		<title>Photopost SEO</title>
		<hookname>parse_templates</hookname>
	 <phpcode><![CDATA[
if(THIS_SCRIPT=='showphoto' or THIS_SCRIPT=='showgallery' or THIS_SCRIPT=='showmembers' or THIS_SCRIPT=='slideshow' or THIS_SCRIPT=='ppindex' or 
THIS_SCRIPT=='uploadphoto') $photopost=true;

if(THIS_SCRIPT=='showproduct' or THIS_SCRIPT=='showcat' or THIS_SCRIPT=='cpindex') $classifieds=true;]]></phpcode>
	</plugin>
</plugins>

and update the headinclude template to be the following:
Code:
<if condition="THIS_SCRIPT=='member' or $photopost"><else />

Last edited by T2DMan; 18th Feb 07 at 08:08 PM.
Reply With Quote
  #2  
Old 19th Jan 06, 11:44 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default Duplicate url's

the /index.php is not needed

index.php


replace
Code:
	$childnav = "<span class=\"{$Style['small']}\"><a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
with
Code:
	$childnav = "<span class=\"{$Style['small']}\"><a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
misc.php
find
Code:
	$childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']} » {$Globals['pp_lang']['persalbums']}";
replace with
Code:
	$childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']} » {$Globals['pp_lang']['persalbums']}";
pp-inc.php

find
Code:
		$menu .= "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}";
replace with
Code:
		$menu .= "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}";
register.php

find

Code:
		<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['retfront']} {$Globals['galleryname']}");
replace with
Code:
		<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['retfront']} {$Globals['galleryname']}");
showgallery.php
find:
Code:
$childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}
replace with
Code:
$childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}
showmembers.php
find:
Code:
$childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}
replace with
Code:
$childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}
pp_inc.php - pagination duplicate when page one

showphoto.php
find \
Code:
$childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}
replace with
Code:
$childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}
pagination duplicate when page one
pp_inc.php

from
Code:
$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php/cat/$cat/page/$p" );
to
//t2dman seo tweak
Code:
 					   if($p==1) {
						$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php/cat/$cat" );
						} else {
						$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php/cat/$cat/page/$p" );
						}
from
Code:
$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php/cat/$cat/page/1"
to
Code:
$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php/cat/$cat/"
from
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/index.php/page/1$extrainfo\">1</a> ... ";
to
Code:
 $posternav .= "<a href=\"{$Globals['maindir']}/$extrainfo\">1</a> ... ";
from
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/index.php?page=1$extrainfo\">1</a> ... ";
to
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/?$extrainfo\">1</a> ... ";
from
Code:
$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php?cat=$cat&amp;page=1" );
to
Code:
$conurl = construct_ppurl( "{$Globals['maindir']}/$whoami.php?cat=$cat" );
from
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/index.php/page/1$extrainfo\">{$pagenames[1]}</a> ... ";
to
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/$extrainfo\">{$pagenames[1]}</a> ... ";
from
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/index.php?page=1$extrainfo\">{$pagenames[1]}</a> ... ";
to
Code:
$posternav .= "<a href=\"{$Globals['maindir']}/?$extrainfo\">{$pagenames[1]}</a> ... ";

Last edited by T2DMan; 19th Feb 07 at 01:14 PM.
Reply With Quote
  #3  
Old 26th Sep 06, 07:15 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default navbar

Add the following to your navbar template:

replace:
Code:
<strong>$vboptions[bbtitle]</strong></div>
with
Code:
<if condition="THIS_SCRIPT=='ppindex'"><h1 class="h1navbar">Photos</h1>
<div class="navbar2">intr paragraph for the main photo index page</div>
<else />
<if condition="!$photopost"><h1 class="h1navbar">$vboptions[bbtitle]</h1></div></if>
		</if></if>
<if condition="$photopost">
{navbar}
 
 <else />

add a closing of </if> at the end of all your navbar intro paragraphs.

You need to have added in the plugin noted - that picks for the photopost pages.

after the following code on pp-inc.php
Code:
$theader = str_replace( "{tablewidth}", $Globals['tablewidth'], $theader);
add

Code:
		$firstwords="<a href=\"/photopost/\">Pictures</a></div><img class=\"inlineimg\" src=\"./images/misc/navbits_finallink.gif\" border=\"0\" /><h1 class=\"h1navbar\">{$titlereplace}</h1><div class=\"navbar2\">Check out the <b>{$titlereplace}</b> pictures on our '{$Globals['galleryname']}' gallery. domain.com is a world leading website on all things xxx. <i>{$titlereplace}</i> pictures on domain.com.</div>";
		$theader = str_replace( "{navbar}", $firstwords, $theader);

Last edited by T2DMan; 27th Sep 06 at 12:32 AM.
Reply With Quote
  #4  
Old 27th Sep 06, 12:57 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default header include template / footer

header include template

add at the start of the template:
Code:
<if condition="THIS_SCRIPT=='ppindex">
	<meta name="description" content="156 characters with the search phrase mentioned twice with a sales pitch for the site." />
and then add an </if> at the end of the statements.



If you have vbulletin header integration for your photopost and reviewpost, then you need to correct the paths for a number of items.

header include template

add the forum pathname appropriate to your forum - ie, I added /forums/ for one client:

Code:
<script type="text/javascript" src="/forums/clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="/forums/clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="/forums/external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="/forums/external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
footer template

Delete the $cronimage, and replace with the following:
Code:
<if condition="!$photopost and !$classifieds">$cronimage</if>

Last edited by T2DMan; 20th Feb 07 at 04:03 AM.
Reply With Quote
  #5  
Old 27th Sep 06, 03:27 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default A start on not having multiple urls for each photo

The best way of doing seo photopost, is to give cookies for each variation of view. The url's can then be the single url, but the view can be of "recent" photos etc based on the cookie set for the last categorisation. If the link was to the proper url, and then an "onclick" to the variation, that would be another idea. The onclick could set the cookie, then redirect to the proper url.

However, adding rel=nofollows is one quick fix for the situation.

add rel=nofollows as follows:

slideshow.php

Code:
$slidecode = "<a rel=\"nofollow\" href=\"$slidestop\">{$Globals['pp_lang']['stop']}</a>";
add for the following - copy the code and paste over your code
templates/vb3enhanced/membhead.tmpl

Code:
<span class="{$Style['medium']}"><a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['a']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['a']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['b']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['b']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['c']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['c']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['d']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['d']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['e']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['e']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['f']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['f']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['g']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['g']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['h']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['h']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['i']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['i']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['j']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['j']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['k']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['k']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['l']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['l']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['m']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['m']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['n']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['n']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['o']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['o']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['p']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['p']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['q']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['q']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['r']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['r']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['s']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['s']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['t']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['t']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['u']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['u']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['v']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['v']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['w']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['w']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['x']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['x']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['y']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['y']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['z']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['z']}</a><br />
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['0']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['0']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['1']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['1']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['2']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['2']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['3']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['3']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['4']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['4']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['5']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['5']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['6']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['6']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['7']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['7']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['8']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['8']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?sl={$Globals['pp_lang']['9']}&amp;cat=$cat&amp;limit=$limit">{$Globals['pp_lang']['9']}</a>
					<a rel="nofollow" href="{$Globals['maindir']}/showmembers.php?cat=$cat&amp;limit=$limit">All</a></span>
/vb3enhanced/searchbox.tmpl
Code:
&nbsp;<a rel="nofollow" href="{$Globals['maindir']}/showgallery.php?limit=last7&amp;cat=$cat">{$Globals['pp_lang']['last7']}</a>
&nbsp;<a rel="nofollow" href="{$Globals['maindir']}/showgallery.php?limit=last14&amp;cat=$cat">{$Globals['pp_lang']['last14']}</a>
&nbsp;<a rel="nofollow" href="{$Globals['maindir']}/showgallery.php?limit=all&amp;cat=$cat">{$Globals['pp_lang']['allimages']}</a>
/forums/vb3.php
add in the rel=nofollow
Code:
$regtext = " &middot; <a rel=\"nofollow\" href=\"{$Globals['vbulletin']}/register.php?action=signup\">{$Globals['pp_lang']['register']}</a>";
pp-inc.php
Code:
$menu .= " &middot; <a rel=\"nofollow\" href=\"{$Globals['maindir']}/search.php\">{$Globals['pp_lang']['search']}</a>";

There are so many more. Just hard to know what is worth it. The recent photos are great for Google being able to find them quickly, but are not their long term url.

Last edited by T2DMan; 19th Oct 06 at 08:39 AM.
Reply With Quote
  #6  
Old 2nd Oct 06, 04:18 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default image titles - inc_features.php

If you use the inc_features.php file, adn want the images to have alt tags of the titles of the images...

find the following - 3 of:
Code:
$query = "SELECT p.id,p.user

change to:
Code:
$query = "SELECT p.title,p.id,p.user

find the following:
Code:
while (list($pid,$puser
change to:
Code:
while (list($title,$pid,$puser
find the following:
Code:
$mthumb = "<img src=\"{$url_path}/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"\" />";
change to
Code:
$mthumb = "<img src=\"{$url_path}/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"$title\" />";
find the following:
Code:
$mthumb = "<img src=\"{$url_path}/images/overlay-round.gif\" height=\"81\" width=\"105\" border=\"0\" alt=\"\" />";
change to:
Code:
$mthumb = "<img src=\"{$url_path}/images/overlay-round.gif\" height=\"81\" width=\"105\" border=\"0\" alt=\"$title\" />";
Reply With Quote
  #7  
Old 2nd Oct 06, 04:32 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default image title - showphoto.php

Go through all the code on the file

search for
Code:
$imgdisp = "<img src
on each instance replace the alt tag with the following:
Code:
alt=\"$title\"
Reply With Quote
  #8  
Old 2nd Oct 06, 06:42 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,840
T2DMan is on a distinguished road
Default featured photos - alt text

pp-inc.php file

find -
Code:
function get_imagethumb( $bigimage, $thecat, $theuser, $approved, $nocache=0, $avatar=0, $thumbw=0, $thumbh=0)
replace with:
Code:
function get_imagethumb( $bigimage, $thecat, $theuser, $approved, $nocache=0, $avatar=0, $thumbw=0, $thumbh=0,$title="" )
find
Code:
		$imgtag = "<img border=\"0\" src=\"{$Globals['idir']}/ipending.gif\" alt=\"\" />";
replace with
Code:
		$imgtag = "<img border=\"0\" src=\"{$Globals['idir']}/ipending.gif\" alt=\"$title\" />";
find
Code:
		$imgtag = "<img border=\"0\" $imgsize src=\"$fileurl$rand\" alt=\"\" />";
replace with
Code:
		$imgtag = "<img border=\"0\" $imgsize src=\"$fileurl$rand\" alt=\"$title\" />";
find
Code:
			$imgtag = "<img border=\"0\" $imgsize src=\"$fileurl2$rand\" alt=\"\" />";
replace with
Code:
			$imgtag = "<img border=\"0\" $imgsize src=\"$fileurl2$rand\" alt=\"$title\" />";
find:
Code:
$pimgtag[$count] = get_imagethumb( $features['bigimage'], $features['cat'], $features['userid'], 1);
replace with
Code:
$pimgtag[$count] = get_imagethumb( $features['bigimage'], $features['cat'], $features['userid'], 1, 0, 0, 0, 0, $features['title']);
__________________

Michael Brandon
T2DMan

Please register as a user and send a PM to contact me. Instant messaging options on my profile.

Diners - Book Auckland Restaurants online, special deals, photos full menus and wine lists.

Restaurants - Listing Details - Open to restaurants nationwide New Zealand - get a full listing on Time2Dine
Reply With Quote
  #9  
Old 4th Nov 06, 11:01 PM
Junior Reviewer
 
Join Date: Nov 2006
Location: Los Angeles
Posts: 2
friendly is on a distinguished road
Wink No update to title

Hi T2DMan!

I'm ambitiously attempting to follow your photopost tutorial.

I can't find photopost/admin-inc.php, however, I found the title string in adm-inc.php and replaced it, but no update has occured on the site.

Please help!

Cheers...
Reply With Quote
  #10  
Old 4th Nov 06, 11:37 PM
Junior Reviewer
 
Join Date: Nov 2006
Location: Los Angeles
Posts: 2
friendly is on a distinguished road
Default

Progress... I'm up to this point:
$theader = str_replace( "<head>","<head><title>{$titlereplace} - {$Globals['galleryname']}</title>", $theader );

I've added that to pp-inc.php

Now, I get:
Quote:
File being edited: /path/to/php/headtags.htm

Warning: This file does not exist or is not writable; when you submit this form we will attempt to create this file.
If we are unable to do so (check your path and permissions), then we will notify you of the error.
I can't edit that file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Zen Cart SEO T2DMan osCommerce SEO 6 10th Aug 10 07:10 PM
LOOKING FOR ADVICE ON SEO vBULLENTIN MadRhino SEO vBulletin 2 30th Oct 06 04:36 PM
Reviewpost SEO T2DMan SEO vBulletin 1 19th Jan 06 11:44 PM
Clients fail to follow SEO recommendations T2DMan Google 0 7th Oct 05 07:10 AM
SEO vBulletin T2DMan SEO vBulletin 0 15th Feb 05 03:33 PM



Powered by: vBulletin Copyright ©2000 -2010, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine