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
  #32  
Old 07-18-2008, 05:49 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would i know if the gallery sitemap was done properly?
Reply With Quote
  #33  
Old 03-17-2009, 10:48 PM
tiger tiger is offline
 
Join Date: Jul 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.8 and the new site map version?
Reply With Quote
  #34  
Old 05-25-2009, 08:24 PM
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Location: Long Beach
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 08-02-2009, 10:52 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
if ($mod['originalname']){
        $url = $gallery_url.'/showimage.php?i='.$mod['imageid'].'&original=1';

		if(VBSEO_ON)
			$url = vbseo_any_url($url);
  		vbseo_add_url($url, '0.4', $mod['dateline'],'daily');
        }

Quote:
Originally Posted by MissKalunji View Post
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:
HTML Code:
Sitemap Files 
Index File sitemap_index.xml.gz 
Sitemap File #1 sitemap_1.xml.gz (5,000 URLs, 1,016.85Kb) 1,016.53Kb uncompressed 
Sitemap File #2 sitemap_2.xml.gz (5,000 URLs, 1,072.91Kb) 1,072.58Kb uncompressed 
Sitemap File #3 sitemap_3.xml.gz (5,000 URLs, 1,119.71Kb) 1,119.38Kb uncompressed 
Sitemap File #4 sitemap_4.xml.gz (5,000 URLs, 954.18Kb) 953.85Kb uncompressed 
Sitemap File #5 sitemap_5.xml.gz (5,000 URLs, 900.40Kb) 900.08Kb uncompressed 
Sitemap File #6 sitemap_6.xml.gz (5,000 URLs, 901.66Kb) 901.34Kb uncompressed 
Sitemap File #7 sitemap_7.xml.gz (5,000 URLs, 899.61Kb) 899.29Kb uncompressed 
Sitemap File #8 sitemap_8.xml.gz (5,000 URLs, 901.21Kb) 900.88Kb uncompressed 
Sitemap File #9 sitemap_9.xml.gz (5,000 URLs, 901.05Kb) 900.73Kb uncompressed 
Sitemap File #10 sitemap_10.xml.gz (5,000 URLs, 902.53Kb) 902.20Kb uncompressed 
Sitemap File #11 sitemap_11.xml.gz (5,000 URLs, 905.58Kb) 905.25Kb uncompressed 
Sitemap File #12 sitemap_12.xml.gz (5,000 URLs, 905.75Kb) 905.43Kb uncompressed 
Sitemap File #13 sitemap_13.xml.gz (5,000 URLs, 905.42Kb) 905.10Kb uncompressed 
Sitemap File #14 sitemap_14.xml.gz (5,000 URLs, 906.07Kb) 905.75Kb uncompressed 
Sitemap File #15 sitemap_15.xml.gz (10 URLs, 2.14Kb) 1.81Kb uncompressed 
Text Format File urllist.txt.gz (3,564.45Kb)
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:
- <url>
  <loc>http://www.xxxx.xxx/gallery/image-10694.html</loc> 
  <priority>0.4</priority> 
  <lastmod>2009-07-24T18:28:04+00:00</lastmod> 
  <changefreq>daily</changefreq> 
  </url>
Quote:
Originally Posted by tiger View Post
Does this work with 3.8 and the new site map version?
yes
Quote:
Originally Posted by rinkrat View Post
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-key...62/index2.html
Reply With Quote
  #36  
Old 08-13-2009, 12:48 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All i get is errors

Code:
Warning: gmdate() expects parameter 2 to be long, string given in /home/**********/public_html/forums/vbseo_sitemap/vbseo_sitemap_functions.php on line 920
Over and over again
Reply With Quote
  #37  
Old 08-26-2009, 05:52 PM
tiger tiger is offline
 
Join Date: Jul 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Zach, where do we add that code exactly?
Reply With Quote
  #38  
Old 09-18-2009, 10:50 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tiger View Post
Hey Zach, where do we add that code exactly?
Hey man !

/vbseo_sitemap/addons/vbseo_sm_vbagallery.php

This is my file:

PHP 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 (without trailing forwardslash ex: 'http://www.ayyas.com/galeri'; )
    
$gallery_url 'http://www.website.com/gallery';

    
$mods $db->query("SELECT catid,title,lastimagedateline FROM " TABLE_PREFIX "ppgal_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'0.3'$mod['lastimagedateline'], 'daily');
    }

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

        if(
VBSEO_ON)
            
$url vbseo_any_url($url);
          
vbseo_add_url($url'0.4'$mod['dateline'],'daily');

        if (
$mod['originalname']){
        
$url $gallery_url.'/showimage.php?i='.$mod['imageid'].'&original=1';

        if(
VBSEO_ON)
            
$url vbseo_any_url($url);
          
vbseo_add_url($url'0.4'$mod['dateline'],'daily');
        }
    }
?>
Don't forget to fill out : website
$gallery_url = 'http://www.website.com/gallery';
Reply With Quote
  #39  
Old 09-21-2009, 09:07 PM
tiger tiger is offline
 
Join Date: Jul 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks big time Zach.
Reply With Quote
  #40  
Old 07-04-2010, 11:42 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone use this on VBgallery 2.5? Has it increased traffic to your gallery?
Reply With Quote
  #41  
Old 07-15-2010, 04:24 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word on this for v3.0 and vbulletin 4?
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 06:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09423 seconds
  • Memory Usage 2,335KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (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