Go Back   SZONE.US Forums > Computer & Web Realm > Web Tips > vBulletin > vBulletin 3.6x / 3.8x

vBulletin 3.6x / 3.8x Modules, Hacks, & Modifications

[vB 3.6.x] Photopost vBGallery External feeds

Views:2156
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
  #1 (permalink)  
Old 09.15.07, 09:18 AM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
[vB 3.6.x] Photopost vBGallery External feeds

PhotoPost vBGallery External feeds.
Quote:
This hack will create external data feeds for Photopost vBGallery.
- Image title
- Image: thumbnail, large, original
- Image description

Valid format strings are:
RSS0.91, RSS1.0, RSS2.0, PIE0.1, MBOX, OPML, ATOM0.3, HTML, JS
Tested:
vBulletin 3.6x
- http://www.vbulletin.com

vBGallery 2.3
- http://www.photopost.com

FeedCreator v1.7.2
- http://www.bitfolge.de
----------------------------------------


Ok lets get down to operations.

Feeds:
---------------------------
RSS0.91 - rss.php
RSS1.0 - rss.php?type=rss1
RSS2.0 - rss.php?type=rss2
PIE0.1 - rss.php?type=pie
HTML - rss.php?type=html
JS - rss.php?type=js
MBOX - rss.php?type=mbox
ATOMO.3 - rss.php?type=atomo3
OPML - rss.php?type=opml


Image sizes:
---------------------------
Large - rss.php?go=lrg (only if $go_lrg set to 1)
Original - rss.php?go=xlrg (only if $go_xlrg set to 1)


Choose a category:
---------------------------
Category 2 - rss.php?catid=2


Item count:

---------------------------
There are 2 settings that control the Maximum ($maxcount) and Default($mincount)

Show me one - rss.php?count=1
Show me eight - rss.php?count=8

If "count" limit is not set then default $mincount is set. If request larger than
$maxcount cutoff back to $mincount is displayed.


Example:
rss.php?type=rss2&catid=2&go=lrg&count=1
---------------------------
Show me 1 large image from Category2 in RSS2.0

Done for now

================================
================================

TODOs:
- Choice of no images
- Fix <Item pubDate>
- clean up the code.
Attached Files
File Type: zip vBGallery RSS feed.zip (16.5 KB, 59 views)
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #2 (permalink)  
Old 09.15.07, 01:51 PM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
Post 2 new threads every 2 hours of new large images in a forum with a link back to the gallery.

- Limit 2
- Large


Demo Output

AdminCP => RSS Feeds => Add New RSS Feed

- Add New RSS Feed

Title: Gallery Feed
URL of Feed: http://www.szone.us/gallery/rss.php?go=lrg&count=2
Check Feed Every...: 2 hours
Maximum Items to Fetch: 0
Search Items for Words: Blank (up to you)
User Name: Zachariah
Forum: Hobby Talk -> Gallery

- Templates
Title Template:
HTML Code:
New Photo - {rss:title}
Body Template:
HTML Code:
[i]by {rss:author}[/i]

{rss:description}

[url={rss:link}]More...[/url]
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #3 (permalink)  
Old 11.17.07, 03:54 AM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
Once again you give me what I am looking for, my old techniques didn't work with the newer versions of vBulletin and PP vBgallery or it could have been my move to Joomla CMS and I was stumped. I need to work on some formating and find the perfect rss reader for my site, but I am very close using your plugin.

This along with the vBadvanced modules for the gallery make you one of the most useful programers for me, I will have to look around for a PayPal donation button or something!

Thanks again!

Russell Thomas
3D Allusions - 3D Modeling and Rendering, Reviews Tutorials And More - Home
Reply With Quote
  #4 (permalink)  
Old 11.18.07, 08:40 AM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
Thanks

Hey nice look on the site !
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #5 (permalink)  
Old 11.20.07, 01:58 PM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
Thanks and once again thank you, I have used your image blocks for vBadvnced CMPS for years now, couldn't imagine living without them. This script here was just icing on the cake
Reply With Quote
  #6 (permalink)  
Old 11.26.07, 10:20 PM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
Quick question to see if you have any ideas. I had my server upgraded to PHP5 (needed for next part) and xCache installed. Now the images don't show up on my main site. I did dissable any xCache of forum to see if that was the problem, it does not seem like it is, are you aware of any issues with this mod and php5?
Reply With Quote
  #7 (permalink)  
Old 11.28.07, 06:51 PM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
I have not tested yet.
- Out in Bakersfield, CA shooting photos. I'll let ya know.

What are the errors ? Missing links ?
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #8 (permalink)  
Old 11.30.07, 06:14 PM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
PHP5 and Feed Creator

No errors show up on the front page of my CMS system, just no more pictures or text period. I will try putting the site in debug mode and see if anything shows up then. Enjoy your trip!

Russell
Reply With Quote
  #9 (permalink)  
Old 12.11.07, 03:05 PM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
I did not see anything in debug mode and then the flooding hit here in the northwest and I spent a week sucking up water and drying up the place so I haven't done more.

You may still be up in Bakeresfield, my brother, sister and I inherited a 'Tortoise Ranch' in Barstow. We call it a 'Tortoise Ranch' since an endangered species of tortoise lives in the area and load noises scare it so much that it wets itself and dehydrates and dies, so you can't do much with the property. So we have changed our family crest to a tortoise on it's back laying in a pool of liquid Well I would actually rather help a species of animal survive than do something with the property......
Reply With Quote
  #10 (permalink)  
Old 01.02.08, 03:55 PM
TheAllusionist TheAllusionist is offline
Junior Member
 
Join Date: 08.07
Posts: 7
I did manage to find this error message:

An error occured!
Error Message: MagpieRSS: Failed to parse RSS file. (Invalid character at line 10, column 1067)
Reply With Quote
Reply

Bookmarks

Tags
36x, external, feeds, photopost, vbgallery

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Housekeeping @ WhiteHouse.gov --*RSS feeds repaired WhiteHouse White House News 0 02.24.09 05:03 PM
[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery Zachariah Boren vBulletin 3.6x / 3.8x 25 07.06.08 04:02 AM
NASA Awards External Tank Contract Modification N.A.S.A. N.A.S.A. 0 04.30.08 02:20 PM
[vB 3.6.x] vBGallery statistics in vBadvanced stats block Zachariah Boren vBulletin 3.6x / 3.8x 0 12.29.07 12:43 PM
[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery Comments Zachariah Boren vBulletin 3.6x / 3.8x 0 09.23.07 07:18 PM

SZONE.US
» Stats
Members: 858
Threads: 23,874
Posts: 26,776
Top Poster: WhiteHouse (6,219)

Images: 22,051
Comment: 102
Categories: 274
Total Views: 959,416
Disk Space: 8.67 GB
Top Uploader: Steve Boren (19,087)
Welcome to our newest member, pqrs383
» Proud Member Of

chatsworth kiwanis

NRA
Powered by vBadvanced CMPS v3.1.0

All times are GMT -8. The time now is 10:53 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright ©2006 - 2009 SZONE.US All rights reserved