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

Reply
 
Thread Tools
Social Group RSS - RSS Feeds for Social Groups Details »»
Social Group RSS - RSS Feeds for Social Groups
Version: 0.2, by nick_ramsay nick_ramsay is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.2 Rating:
Released: 05-08-2009 Last Update: 05-15-2009 Installs: 21
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

This hack creates an RSS feed for each social group. Each feed shows the last 20 posts (not just threads) from the desired social group.

How it works:
The feeds are generated by using the url, http://www.yoursite.com/groupfeed.php?groupid=ID, or clicking the RSS icon on each group's homepage. ID is the id number for the group.

RSS feeds are inaccessible for private groups.

What it involves:
Uploading a new file to your forums root directory.
Uploading an RSS icon to the images/misc folder.
Making a small template edit to show the RSS icon.

Caveats:
The RSS icon shows regardless of whether the group is private or not.

Requests:
I won't be supporting this hack. I'm hoping somebody with more vBulletin and programming experience than me can take what I've done, give it some solid testing and make it better. If you'd like to revamp it, be my guest.

How to install:
1. Upload the attached groupfeed.php file to your forums root directory;
2. Upload the attached RSS icon, feed-icon-24x24.png to the images/misc folder;
3. Go to Admin CP -> Styles & Templates -> Style Manager -> Choose Edit Templates and click Go -> Double click Social Groups Templates -> Double click socialgroups_group ->Search in Template for <h1 id="group_name">.

Replace:

Code:
<h1 id="group_name"></h1>
with:

Code:
<h1 id="group_name">$group[name] <a href="groupfeed.php?groupid=$group[groupid]"><img style="vertical-align: top; height: 24px; width: 24px; border: 0px;" src="$stylevar[imgdir_misc]/feed-icon-24x24.png"></a></h1>
Save and visit your social groups. You should see an RSS icon next to each group's title.

Download Now

File Type: php groupfeed.php (6.1 KB, 125 views)

Show Your Support

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

Comments
  #2  
Old 05-09-2009, 11:26 AM
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice.
Reply With Quote
  #3  
Old 05-09-2009, 11:41 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooh now I've been after something like this, will install later on.

Another of those "yet another feature that should be in the default package" addons, of which there are so many for Social Groups.
Reply With Quote
  #4  
Old 05-16-2009, 12:45 AM
nick_ramsay nick_ramsay is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've made some small changes to groupfeed.php so that it successfully passes the W3C Feed Validator. Please download the latest groupfeed.php file (attached to the first post) and upload it to your forums root directory, overwriting the old one. Thanks.
Reply With Quote
  #5  
Old 07-09-2009, 06:40 PM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see an rss icon, any reason why, the install is all ok thanks

if i test i get :-
RSS Poster Robot

test XML Error: Mismatched tag at line 777

RSS Feed Manager

Done
Reply With Quote
  #6  
Old 08-10-2009, 09:01 PM
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good for English forums but not others ..

It needs to be more flexible and using a code like the one in the file: external.php which shows feeds from all languages.
Reply With Quote
  #7  
Old 08-10-2009, 09:19 PM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine still does not work
Reply With Quote
  #8  
Old 09-13-2009, 02:37 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The feed shows every post in the same thread. Can you reduce this to showing each thread once?
Could you add one feed for all groups?
Reply With Quote
  #9  
Old 04-14-2012, 04:02 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is old and unsupported. But for those who are thinking of installing this, please be aware that the RSS feed breaks if the content contains any apostrophes.
Reply With Quote
  #10  
Old 11-23-2015, 07:48 PM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can be made to work with minor alterations to the code, and link embed onto template.
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 11:01 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.06466 seconds
  • Memory Usage 2,306KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete