Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Photopost vbGallery Addon For vBSEO Google/Yahoo Sitemap Details »»
Photopost vbGallery Addon For vBSEO Google/Yahoo Sitemap
Version: 1.10, by Lizard King Lizard King is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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)

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';
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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-28-2006, 01:09 AM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #13  
Old 07-28-2006, 02:38 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool will update tomorrow.. Subscribing
Reply With Quote
  #14  
Old 08-05-2006, 01:51 AM
Sean James's Avatar
Sean James Sean James is offline
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 895
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, does this work for vbulletin 3.6.0?
Reply With Quote
  #15  
Old 09-12-2006, 09:09 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Griffin80
nice, does this work for vbulletin 3.6.0?
yes it does
Reply With Quote
  #16  
Old 10-23-2006, 12:08 PM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
adv_gallery_categories
Replace with:
Code:
ppgal_categories
Then find:
Code:
adv_gallery_images
Replace with:
Code:
ppgal_images
Should work fine then..
Reply With Quote
  #17  
Old 10-26-2006, 04:17 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loonytune15
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:
adv_gallery_categories
Replace with:
Code:
ppgal_categories
Then find:
Code:
adv_gallery_images
Replace with:
Code:
ppgal_images
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.
Reply With Quote
  #18  
Old 10-26-2006, 02:55 PM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool no worries
Reply With Quote
  #19  
Old 10-27-2006, 04:05 AM
aacircle aacircle is offline
 
Join Date: Jun 2005
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #20  
Old 10-30-2006, 05:05 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aacircle
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?
Reply With Quote
  #21  
Old 11-10-2006, 11:41 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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)
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10343 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete