View Full Version : Photopost vbGallery Addon For vBSEO Google/Yahoo Sitemap
Lizard King
01 Jul 2006, 15:40
All Credits go to benFF as he created the original script for photopost pro.
I manually edited the file to work with Photopost vbGallery
Download the attached file , upload it to your vbseo_sitemap/addon/ folder.
In your vbulletin settings vBseo Google/yahoo sitemap settings add vbseo_sm_vbagallery.php to your Addon Generator Modules and save your settings.
Edit php file and change $gallery_url = according to your gallery folder
If you are using Photopost vBGallery v2.0 or v2.1 download vbseo_sm_gallery1.php otherwise you can still use the old one.
This mod also works for vB 3.6.x
For vBSEO (http://www.vbseo.com) users if you use CRR (Custom Rewrite Rules) for your gallery you may modify the file to work with your CRR's. Here is the url example :
Categorie Links (don't forget to change the url's to match your CRR's)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Image Links (don't forget to change the url's to match your CRR's)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks to loonytune15 as reminding me that the database tables have changed.
26.10 : Updated the script to work with the new Photopost vbgallery since the database tables have changed. Corrected a bug fix with url priority.
15.07 : Updated the script since there was a small bug with it. Also gallery categories are also included in the new version.
yeah first post, dunno what this hack does yet
Lizard King
01 Jul 2006, 15:47
yeah first post, dunno what this hack does yet
This addon allows you to add your Photopost vbGallery url's to your sitemap and google , yahoo and other search engines can crawl your images easier.
Download the attached file , upload it to your vbseo_sitemap/addon/ folder.
In your vbulletin settings vBseo Google/yahoo sitemap settings add vbseo_sm_vbagallery.php to your Addon Generator Modules and save your settings.
You probably should add that the script needs to be edited before uploading to your site. I haven't installed it yet but likely will.
sensimilla
02 Jul 2006, 00:01
Thanks I was in need of this one :)
trackpads
15 Jul 2006, 15:57
Outstanding!!
Lizard King
15 Jul 2006, 18:27
Updated the script. I advise everyone to download the new file and replace with the previous file.
trackpads
15 Jul 2006, 18:50
Thanks for the update!!
rinkrat
15 Jul 2006, 18:55
Thanks! Any help in getting more pages on Google is a good thing :)
glorify
28 Jul 2006, 03:09
Hey lizard--
Does this work with vbadvanced gallery 1.0.1?
Also, the URL's do not have to be rewritten by VBSEO for this to work, correct?
bada_bing
28 Jul 2006, 04:38
This is cool will update tomorrow.. Subscribing
Sean James
05 Aug 2006, 03:51
nice, does this work for vbulletin 3.6.0?
SaN-DeeP
12 Sep 2006, 23:09
nice, does this work for vbulletin 3.6.0?
yes it does :)
loonytune15
23 Oct 2006, 14:08
But it doesn't work with the new gallery 2.0
*edit*
To get it work without errors, open the file in an editor,
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Should work fine then..
Lizard King
26 Oct 2006, 06:17
But it doesn't work with the new gallery 2.0
*edit*
To get it work without errors, open the file in an editor,
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Should work fine then..
Thanks , totally forget that the database structure have been changed.
I also applied a small fix that caused error in sitemaps.
loonytune15
26 Oct 2006, 16:55
cool no worries :D
aacircle
27 Oct 2006, 06:05
vbGallery has now been renamed to Photopost quite a while back. So does this hack work on PhotoPost PHP Pro v5.5? Or is this hack only for those who still use the old vbGallery?
bada_bing
30 Oct 2006, 19:05
vbGallery has now been renamed to Photopost quite a while back. So does this hack work on PhotoPost PHP Pro v5.5? Or is this hack only for those who still use the old vbGallery?
Yes good question.. ANYONE?
MissKalunji
10 Nov 2006, 13:41
Categorie Links (don't forget to change the url's to match your CRR's)
Code:
$url = $gallery_url.'/kategori-'.$mod['catid'].'-album.html';
Image Links (don't forget to change the url's to match your CRR's)
Code:
$url = $gallery_url.'/resim-'.$mod['imageid'].'.html';
I dont understand that part?
am i supposed to change #gallery_url to something? or kategory? (not talking in the php but inside vbseo)
bada_bing
10 Nov 2006, 13:42
Yes good question.. ANYONE?
Hello is the author still here?
MissKalunji
10 Nov 2006, 13:43
and is it supposed to change the showimage.php to showimagine.html something something?
Lizard King
16 Nov 2006, 10:45
vbGallery has now been renamed to Photopost quite a while back. So does this hack work on PhotoPost PHP Pro v5.5? Or is this hack only for those who still use the old vbGallery?
It already has the answer in the thread name. It says Photopost vBGallery.
Photopost have couple products but only one Photopost vBgallery.
I dont understand that part?
am i supposed to change #gallery_url to something? or kategory? (not talking in the php but inside vbseo)
If you prepared CRR's for your Photopost vBGallery then you can imply your CRR's to the file in order to prevent duplicate content. I just showed you a way to how to do that.
For categorie links please check your CRR and change the green code to match your CRR. The codes below in Green is prepared to match my CRR settings ;) Since everyone uses different you need to modify it according to your settings.
Categorie
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ShowImage
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you still didn't understand please drop me a Pm with your gallery CRR settings so i can modify these two lines for you.
aacircle
16 Nov 2006, 10:49
Great! Thanks Lizard King. Will install this hack right away. Cheers.
aacircle
03 Dec 2006, 13:46
Well this hack no longer works in 3.6.4 with Photopost. Following database error occurs:
MySQL Error : Table 'anime10_forums.adv_gallery_categories' doesn't exist
ConqSoft
03 Dec 2006, 14:21
Well this hack no longer works in 3.6.4 with Photopost. Following database error occurs:
It's not related to vBulletin 3.6.4, it's related to vBGallery 2.1 which changed some tables around.
bulbasnore
10 Feb 2007, 20:40
First off, great stuff. We have a lot of treasure in our gallery, and we'd like to get it out there and into the search.
I can't get google to accept the map for the gallery section (rev1 of your hack, vB364, PPVB2.1, no seo). Apparently, google is wanting the lastmod object populated.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The line shows up like this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It looks like your code and the standard vbacmps module addon that comes with the vbseo mapper pass a url much like the 'extra_urls' format to the hack. There isn't a place there for the date.
Is that the problem, no place to send the date modified to the parent hack?
If its a matter of helping extract that data from ppgal_ tables, I could submit some code to you. But if its a matter of the parent hack's API (what they'll take from the addons) then maybe I should talk to them, first.
Please let me know and thanks again!
[for now, disabled add-on]
puregraf
06 Oct 2007, 01:37
hi, will this also work with Photopost ? not photopost vbgallery , the other one and how would this effect when upgrading photopost, would i need to remove this hack before upgrading?
thanks
Neo_obs
17 Jun 2008, 03:36
First off, great stuff. We have a lot of treasure in our gallery, and we'd like to get it out there and into the search.
I can't get google to accept the map for the gallery section (rev1 of your hack, vB364, PPVB2.1, no seo). Apparently, google is wanting the lastmod object populated.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The line shows up like this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It looks like your code and the standard vbacmps module addon that comes with the vbseo mapper pass a url much like the 'extra_urls' format to the hack. There isn't a place there for the date.
Is that the problem, no place to send the date modified to the parent hack?
If its a matter of helping extract that data from ppgal_ tables, I could submit some code to you. But if its a matter of the parent hack's API (what they'll take from the addons) then maybe I should talk to them, first.
Please let me know and thanks again!
[for now, disabled add-on]
I found the error. Was getting the same issue here and decided to look at the other add-ons as a template.
Find in vbseo_sm_vbagallery(1).php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
the sitemap generator will add the dates automatically between the '' so basically just add a ,'' to your code lizard
MissKalunji
17 Jul 2008, 19:14
thanks i'll test it out
MissKalunji
18 Jul 2008, 19:49
how would i know if the gallery sitemap was done properly?
Does this work with 3.8 and the new site map version?
rinkrat
25 May 2009, 22:24
It's a shame that Google is oblivious to my VBGallery images. This looks like it is no longer supported so I guess I'm screwed.
Zachariah
03 Aug 2009, 00:52
Hey LIZ !!!!!
- Add this too man "if large image add another link for large image"
- also copy / contenue this thread into VB3.8 area
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
how would i know if the gallery sitemap was done properly?
AdminCP => vBSEO => vBSEO Sitemap Reports
- log-in
-- Show Reports List
--- View details of the last report "by Date"
Here will list all the site maps created:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It will be in some of the later GZ files as the images are added after the threads,posts,members (all other forum options) in your forum.
You should see URLS pointing to your gallery.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Does this work with 3.8 and the new site map version?
yes
It's a shame that Google is oblivious to my VBGallery images. This looks like it is no longer supported so I guess I'm screwed.
working on that @ the moment w/ VBSEO addon I may work on a stand alone version if I get some time.
Keyword Rich URLS with Photopost vBGallery - http://www.vbseo.com/f23/request-keyword-rich-urls-photopost-vbgallery-3962/index2.html
Vodkaholic
13 Aug 2009, 14:48
All i get is errors :mad:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Over and over again
Hey Zach, where do we add that code exactly?
Zachariah
19 Sep 2009, 00:50
Hey Zach, where do we add that code exactly?
Hey man !
/vbseo_sitemap/addons/vbseo_sm_vbagallery.php
This is my file:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Don't forget to fill out : website
$gallery_url = 'http://www.website.com/gallery';
Anyone use this on VBgallery 2.5? Has it increased traffic to your gallery?
tpearl5
15 Jul 2010, 18:24
Any word on this for v3.0 and vbulletin 4?
Hey man !
/vbseo_sitemap/addons/vbseo_sm_vbagallery.php
This is my file:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Don't forget to fill out : website
$gallery_url = 'http://www.website.com/gallery';
This works perfectly on VBG 2.5.1 and VB 3.8! Thanks!
sweetguy2004
24 Aug 2010, 05:25
thank you very much
Will this work with the 3.0 version of the sitemap generator?
http://www.vbulletin.org/forum/showthread.php?t=253516
appsfinder
25 Sep 2011, 18:59
just testing now
Hey man !
/vbseo_sitemap/addons/vbseo_sm_vbagallery.php
This is my file:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Don't forget to fill out : website
$gallery_url = 'http://www.website.com/gallery';
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.