Version: 1.10, by Lizard King
Developer Last Online: Nov 2023
Version: 3.5.5
Rating:
Released: 06-30-2006
Last Update: 10-25-2006
Installs: 30
Additional Files
No support by the author.
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 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)
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.
Quote:
Originally Posted by MissKalunji
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.
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.
PHP Code:
Line:
27076
Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting. [?] Parent tag:
Tag:
Value: url
lastmod
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.
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?
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.
PHP Code:
Line:
27076 Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting. [?] Parent tag:
Tag:
Value: url
lastmod
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:
vbseo_add_url($url, '0.3', 'daily');
and replace with
Code:
vbseo_add_url($url, '0.3','', 'daily');
Then find
Code:
vbseo_add_url($url, '0.4', 'daily');
and replace with
Code:
vbseo_add_url($url, '0.4','', 'daily');
the sitemap generator will add the dates automatically between the '' so basically just add a ,'' to your code lizard