![]() |
Display latest blog post in postbit using Magpie RSS
This mod borrows extensively from the work vauge did for vB 3.5 (as found here) and from the work nevetS did for a similar mod using CaRP RSS.
I did PM vauge requesting permission to update his mod as many people were having difficulty implementing it, but s/he hasn't been online in several months and didn't respond to my PM for over a week now, so I decided to go ahead and post the mod. This mod will allow forum members to add their blog's RSS feed URLs to their profile and have the forum display a link to their latest blog post next to their username every time they post in the forum. I had been using nevetS's CaRP mod for this for a long time, but the Magpie RSS reader is actually more powerful (can parse Atom feeds too) and flexible. Also, I don't know if anyone can find the free download for CaRP anymore. Installation:
That's it. :) P.S. Updated per Marco van Herwaarden's suggestions for better performance and security. :) P.P.S. If anyone knows how to fix the XML file so that it injects the template code into the postbit_userinfo_left hook so folks don't have to make a manual template edit, by all means please share. :) P.P.P.S Unfortunately, there appears to be a conflict with the magpie code and vBulletin's AJAX code which is beyond my coding skills to fix. See page two of this thread for more details. |
Reserved.
P.S. My First Reserve :D |
any demo?
|
I added a screenshot. :)
|
When I read the title of this mod, I thought vb must have released its blog ^^ but then I got my hopes up too fast lol. nice mod tho.
|
Sorry about that! It's hard to describe some mods in just a few words.
|
Installed.
I will use this feature in the future. Really thanks, pmkb. |
Is the magpie rss_fetch.inc file needed on each vBulletin page? You are currently loading it unconditionally in the "global_start" hook. This might lead to more overhead then needed.
PHP Code:
|
Good catch Herwaarden. Nice mod, but will wait till see a demo :p
|
gforce, what do you mean by a demo? I posted a screenshot of what it does from my own forum (see sig) where this mod is working. I have the mod installed on 3 forums and it works great.
|
OK. I've updated the plugin per Marco van Herwaarden's suggestions to improve performance and security. :)
|
Quote:
|
Will this work with the vBulletin blog or is there an easier way to set this up? I'd rather it be done automatically and not have users be responsible for adding their RSS feed (which most probably won't do).
|
This was designed to let users who have their own blogs on their own sites display the latest blog post by their name. From what I saw of the vB Blog announcment, it offers RSS feeds, so it could be used to display the latest vB Blog post, but users would need to put the blog feed URL in their profile.
I imagine that vB will update their vB Blog at some point to include this feature, but as far as I can tell, right now it just shows a number indicating the number of blog posts instead of a title/link to the latest post. |
Any ideas why only admins on my boards can view the "My Blog:" infos ? Any other usergroups can't !
|
Yes, I made a boo boo in the instructions (fixed now) :o. In your profile manager, change the Blog Feed field Privacy setting to No and all users who are allowed to see the thread/post will see the blog link.
|
thanks for your fast answer ! :up:
|
Great,works like a charm, only one problem.
http://www.alizee-forum.com/profile....ofile&langid=1 all the descriptions of occupation, location etc all 3 fields above lost their description? hows that happening? 5th field is rss feed |
Anyway I think I can fix that myself, BIGGEST PROBLEM is that quick reply wont work after installing plugin.
It releads the whole page, and sometimes says double entry. If i disable ur plugin it works properly. |
I couldn't see the profile page - it requires being a logged in member. Are you using the default template for that page? I haven't noticed any problems in the profiles on my forums.
I'll investigate the quick reply. |
From what I can see, the Quick Reply function and edit functions using AJAX still work, but they don't clean up the page they way they should when you click the submit/ok buttons. Looks like the problem lies in the Magpie fetch_rss function. It's beyond my coding skills to diagnose/fix this problem. :(
|
i am using this hack with 3.6.5
i have problem too with quick reply each time i am using quick reply i get error message but the reply is saving, if i disable the plugin i dont get error message again hmm some one must fix this problem |
Yeah, it's a real shame because Magpie can parse Atom feeds and the CaRP solution does not.
There is something in the Magpie code that is conflicting with the AJAX functions. I'm not familiar enough with vB's system (or php coding) to figure out where the conflict is, but if someone finds it, they can post a solution (please!). |
A shame theres no fix yet....
|
Quote:
Edit: Please disregard. I thought u were referring to the files and not the directory. thx |
still no fix, what a shame, gonna take this mod off then...
|
Does this mod work with the vblog?
|
Can someone who doesn't have physical or root access to the server actually use this mod or install magpierss to the server?
|
Magpie can be installed in any folder on your server. It doesn't have to be in the server/domain root. I would suggest you try it. Magpie is easy to install/remove IMO.
|
resolved.
|
I have a problem when I enable this product, no one is able to see private messages anymore. I am using vb368 PL2 so this shouldnt be happening. Could you please guide me in the correct direction?
|
with the magpir rss, do we really just upload the 4 .inc files and the extib folder, then creat a cache folder and chmod it to 777 inside another folder ?
in the faq's Installation 1. How do I install MagpieRSS? See: http://laughingmeme.org/magpie_blog/?p=80 goes to a dead link :( I'm trying to test it right here http://forum.vbulletinsetup.com/cust...blog-test.html |
Quote:
unzipped - and then uploaded the entire folder to the forum root. Created the cache folder inside the magpie folder. But if you edit the XML file, and use the forum root cache folder, do you really need another one? But anyway, this is working fine on my site - VB 3.7.0 Here is a Link - http://www.survivalistboards.com/showthread.php?t=15737 |
Well, I should have read the whole thread on this topic, and I am having the same problem with double post and quick reply.
Wonderful addon, but gonna have to uninstall. :( |
I've updated the mod description to warn folks who don't read through the thread.
|
I love this but i wish there was one for 3.8.0
|
Quote:
thank you:) |
I wanted this for 3.8.4 But seems to have problem :(
|
All times are GMT. The time now is 05:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|