vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Team: Hot or Not? Ready for Traffic Explosion? vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! vBSEO Helps Forum Earn $100/day from Google AdSense Discover the Power of "Long Tail Search" Crawlability Inc. Files for SEO Technology Patent
se sw

Add-on for vBadvanced Gallery URLs

This is a discussion on Add-on for vBadvanced Gallery URLs within the Feature Requests forums, part of the vBSEO Google/Yahoo Sitemap category; I would like to request an add-on module for including PhotoPost (was vBadvanced) Gallery URLs in my sitemap. Can the ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Feature Requests

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 04-04-2006, 02:44 PM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Question Add-on for vBadvanced Gallery URLs

I would like to request an add-on module for including PhotoPost (was vBadvanced) Gallery URLs in my sitemap.

Can the vbseo_sm_vba.php add-on be modified to perform that operation?

Thanks.

Last edited by Ocean; 05-26-2006 at 03:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-07-2006, 11:06 PM
Junior Member
 
Join Date: Jul 2005
Posts: 17
Re: Add-on for vBadvanced Gallery URLs

Anything can be done with some code-hacking.

I'd rather have this as a core-feature, I don't like modifying code and doing that seems like the only thing you could do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-07-2006, 11:28 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,181
Blog Entries: 1
Re: Add-on for vBadvanced Gallery URLs

The module support was added for just this sort of thing; so it *is* a core feature.

Someone should be able to use the included CMPS module as a guide to make one for Gallery.
__________________
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!
Reply With Quote
  #4  
Old 04-26-2006, 04:28 PM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Re: Add-on for vBadvanced Gallery URLs

Is there anything (example links, etc.) I can provide to help this along?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-21-2006, 09:52 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

I tried to modify the photopost addon for vba gallery but as i am not a php guru i am not sure if this will work Can someone check if this will work or not

Code:
<?
	# vbSEO Google Sitemap Generator - PhotoPost Add On.
	# Written by Ben Griffiths (http://www.fiatforum.com)
	
	# NOTE: THIS ONLY WORKS IF YOUR PHOTOPOST DB IS THE SAME AS YOUR VB ONE

	# Full HTTP path to your gallery root (including trailing forwardslash)
	$gallery_url = 'http://www.ayyas.com/galeri/';
	
	# Priority you want to assign to the sitemap pages
	$sitemap_priority = 0.5;
	
	# How often you wish to flag for updates
	$sitemap_update = 'weekly';

	# PP Table Prefix
	//$pp_tableprefix = 'pp_';


	# DON'T EDIT PAST HERE #############################################
	$adv_gallery_images = $db->query_read('SELECT id,lastpost,date FROM ' . TABLE_PREFIX . 'adv_gallery_images');
	while ($adv_gallery_images = $db->fetch_array($adv_gallery_images))
	{
		$modified = $adv_gallery_images['lastpost'];
		$modifiedphoto = $adv_gallery_images['date'];
		if ($modified == '0')
		{
			$modified = gmdate("Y-m-d",  $modifiedphoto );
		}
		else
		{
			$modified = gmdate("Y-m-d",  $modified );
		}

  		vbseo_add_url(
  			$gallery_url . 'showimage.php?' . $adv_gallery_images['id'],
     		$sitemap_priority, $modified, $sitemap_update
  		);
	}
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-01-2006, 09:51 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

I believe this addon shall work

Create a file named vbseo_sm_vbagallery.php with the following code inside.
Upload it to your addon folder , add it to your settings in admincp and save it.

Code:
<?
	# vbSEO Google Sitemap Generator - PhotoPost Add On.
	# Written by Ben Griffiths (http://www.fiatforum.com)
	
	# NOTE: THIS ONLY WORKS IF YOUR PHOTOPOST DB IS THE SAME AS YOUR VB ONE

	# Full HTTP path to your gallery root (including trailing forwardslash)
	$gallery_url = 'http://www.ayyas.com/galeri/';
	
	# Priority you want to assign to the sitemap pages
	$sitemap_priority = 0.5;
	
	# How often you wish to flag for updates
	$sitemap_update = 'weekly';

	# PP Table Prefix
	//$pp_tableprefix = 'pp_';


	# DON'T EDIT PAST HERE #############################################
	$adv_gallery_images = $db->query_read('SELECT imageid,lastpostdateline,dateline FROM ' . TABLE_PREFIX . 'adv_gallery_images');
	while ($adv_gallery_images = $db->fetch_array($adv_gallery_images))
	{
		$modified = $adv_gallery_images['lastpostdateline'];
		$modifiedphoto = $adv_gallery_images['dateline'];
		if ($modified == '0')
		{
			$modified = gmdate("Y-m-d",  $modifiedphoto );
		}
		else
		{
			$modified = gmdate("Y-m-d",  $modified );
		}

  		vbseo_add_url(
  			$gallery_url . 'showimage.php?' . $adv_gallery_images['imageid'],
     		$sitemap_priority, $modified, $sitemap_update
  		);
	}
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-06-2006, 03:23 PM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Re: Add-on for vBadvanced Gallery URLs

Thanks, I will try this today.

Do I need to include the .php extension when adding it the the admincp?

Last edited by Ocean; 07-06-2006 at 03:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-06-2006, 03:40 PM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

Quote:
Originally Posted by Ocean
Thanks, I will try this today.

Do I need to include the .php extension when adding it the the admincp?
It works
You need to upload php to vbseo_sitemap addon folder and write the exact filename with extensin in admincp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-07-2006, 08:47 AM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Question Re: Add-on for vBadvanced Gallery URLs

I don't think this is working for me. The reports don't show an increased number of URLs in the sitemap. Since I have 1500+ images in the gallery, I think it should show those URLs added the first time I run it.

Is there another way to see if it worked?

Some info:
the path to my gallery root is like http://gallery.mydomain.com
my table prefix is adv_

What is the significance of the setting:
# How often you wish to flag for updates
$sitemap_update = 'weekly';
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-07-2006, 08:54 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

Check your sitemap folder the results are not in the reports also for me but i have 7 new sitemaps created after running the plugin.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 07-07-2006, 09:55 AM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Re: Add-on for vBadvanced Gallery URLs

I checked the folder. Still doesn't work.
I set //$pp_tableprefix = ''; since my tables only have the adv_ prefix
and then ran Sitemap again. It doesn't add any sitemaps or URLs to the existing sitemap files.

Is there anything else I can try?

Thank you for your help with this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 07-07-2006, 11:03 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

You don't need to enter any table prefix. adv_gallery_images is the regular table that is added by photopost vbgallery.
I am not sure but maybe it is not working for you because you have your gallery in subdomain but what i think it shall work

for your gallery url can you try with $gallery_url = 'http://www.yourdomain.com/gallery/';

Code:
[addon module] vbseo_sm_vbagallery.php [29,125s (+0)]<br/>
[create sitemap file] filename: sitemap_23.xml.gz, number of urls: 1492 [29,125s (+0)]<br/>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 07-07-2006, 02:34 PM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Re: Add-on for vBadvanced Gallery URLs

I tried the gallery URLs both ways with the same result. I don't see any 'showimage.php' URLs in my sitemaps. I don't know what I'm missing here...:(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 07-08-2006, 11:29 AM
Junior Member
 
Real Name: Joe
Join Date: Oct 2005
Posts: 27
Re: Add-on for vBadvanced Gallery URLs

When I run sitemap, I see this :

Quote:
[addon module] vbseo_sm_vbagallery.php [79s (+6)]
[create sitemap file] filename: sitemap_3.xml.gz, number of urls: 8152 [79s (+0)]
[create sitemap in text format] part #4 [79s (+0)]
[create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 3 [79s (+0)]
But, then I don't see any URLs with 'showimage.php' in the urllist.txt file or any of the xml sitemap files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 07-08-2006, 11:41 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,350
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Re: Add-on for vBadvanced Gallery URLs

Can you try with this

Code:
<?php
	# vbSEO Google Sitemap Generator - PhotoPost vbGallery Add On.
	# Written by Lizard King (http://www.ayyas.com)
	# Full HTTP path to your gallery root (including trailing forwardslash)
	$gallery_url = 'http://www.ayyas.com/galeri';
	
	$mods = $db->query("SELECT catid,title FROM " . TABLE_PREFIX . "adv_gallery_categories ORDER BY `displayorder`");
	while ($mod = $db->fetch_array($mods))
	{	
		$url = $gallery_url.'/browseimages.php?c='.$mod['catid'];

		if(VBSEO_ON)
			$url = vbseo_any_url($url);

  		vbseo_add_url($url, 1.0, '', 'daily');
	}

	$mods = $db->query_read('SELECT imageid,dateline FROM ' . TABLE_PREFIX . 'adv_gallery_images');
	while ($mod = $db->fetch_array($mods))
	{	
		$url = $gallery_url.'/showimage.php?'.$mod['imageid'];

		if(VBSEO_ON)
			$url = vbseo_any_url($url);
  		vbseo_add_url($url, 1.0, '', 'daily');
	}
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Sitemap generating a lot more urls poprulz Troubleshooting 13 02-28-2007 04:15 PM
Google Sitemap-Listing of old url's option-from 1.7 T2DMan Member Articles 0 04-02-2006 08:46 AM
what to do with old urls? Jonathan General Discussion 6 08-04-2005 03:57 PM


All times are GMT -4. The time now is 08:13 PM.


Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.