View Full Version : Administrative and Maintenance Tools - External Data Provider Usergroup/Cookie Setting
External Data Provider Usergroup/Cookie Setting 2.2
About this hack:
This hack allows you to set what usergroup external.php gets permissions from. This is a great hack for administrators who don't allow guests to view their forum. Using this hack you can set what usergroup it should get permissions from. I'm sure your users want RSS feeds!
There is now an option to have the browser look for cookies to get permissions from.
Administrators who allow guests to view their forum but with barley any permissions, this hack will also help you.
Files edited: 0
Templates edited: 0
Files to upload: 1 (via ACP)
Time to install: 5 seconds
Updates:
Version 2.0 (9/19/06):
Release of this hack for vb 3.6.
Option to use Cookies to get permissions.
Version 2.1 (9/22/06):
Fixed bug with cookie prefixes
Version 2.2 (10/14/07):
If using cookies to get usergroupid to get posts, it will now verify passwords to avoid users who edit cookies.
[CENTER]Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=127062)!
You will get an email when a new version is released.
aveon
09-20-2006, 12:29 AM
thanx man great one
Snake
09-20-2006, 09:04 AM
Thanks.
MrNase
09-20-2006, 11:34 AM
This means guests can access pages without having the permission to?
See: https://vborg.vbsupport.ru/showthread.php?t=127101
This means guests can access pages without having the permission to?
See: https://vborg.vbsupport.ru/showthread.php?t=127101
Correct.
I just read your request. You can use the plug-in code for your custom page.
Kanustep
09-21-2006, 03:09 AM
Sounds interesting!
But please answer. I have some forums that I don't want to guests view them, but want to be access to RSS.
This happens since I have to many users using RSS to access to my forum, but when click to see the thread, they will need to register to see the all content of message. Is this possible to do with this hack?
Sounds interesting!
But please answer. I have some forums that I don't want to guests view them, but want to be access to RSS.
This happens since I have to many users using RSS to access to my forum, but when click to see the thread, they will need to register to see the all content of message. Is this possible to do with this hack?
That is how this hack works.
If you let RSS see the title, when a user clicks on it, they will have to log-in to see it.
Kanustep
09-21-2006, 01:36 PM
Great this should be include by default on vBulletin
Version 2.1 (9/22/06):
Fixed bug with cookie prefixes
warnmar10
09-23-2006, 05:18 AM
It seems to work great with user group permission but ignores cookie based permission.
It seems to work great with user group permission but ignores cookie based permission.
1) Do you hsve the latest version?
2) Do you log-in with 'remember me'?
ibuddy
10-18-2006, 11:33 PM
Doesnt work I set it to a usergroup and its still not working...
ibuddy
10-18-2006, 11:53 PM
I would really like to get this working this is exactly what Im trying to do.
I have my forum only viewable to members. So I set the usergroup in External Data Provider to a usergroup # that could view all the forums. I went to my rss page and it didnt work, it was blank. I logged in as admin and went to the same rss page, and could see it. So this is not working unless I am not doing something??
Could this because Im using FPS_External Version: 2.00 to generate the RSS feeds and not external.php?
I would really like to get this working this is exactly what Im trying to do.
I have my forum only viewable to members. So I set the usergroup in External Data Provider to a usergroup # that could view all the forums. I went to my rss page and it didnt work, it was blank. I logged in as admin and went to the same rss page, and could see it. So this is not working unless I am not doing something??
Could this because Im using FPS_External Version: 2.00 to generate the RSS feeds and not external.php?
Any way I can test on your forum?
ibuddy
10-19-2006, 05:50 PM
I am using this mod:
https://vborg.vbsupport.ru/showthread.php?t=105008
for some reason when I use it, I get a blank screen.
I am using this mod:
https://vborg.vbsupport.ru/showthread.php?t=105008
for some reason when I use it, I get a blank screen.
Try changing the order in which the plug-in run.
Dexter_kcd
10-25-2006, 05:39 AM
This is great! I was just getting ready to implement RSS feeds on my site, but we have one forum, that is restricted to members only, and a couple private forums for various groups. This solves the problem of being able to use those forums in an RSS viewer quite nicely. Thanks!
Dexter...
GoNz00
10-25-2006, 07:11 AM
thanks :)
/installs
this is better than opening unregisterd usergroups up :D
ODiUM78
10-29-2006, 10:32 AM
Thank you very much! This is exactly what i was looking for!
w1z4rd
11-08-2006, 07:36 PM
Does this allow you to add multiple groups? I have several groups that need access.
Does this allow you to add multiple groups? I have several groups that need access.
How would the browser differentiate between them?
w1z4rd
11-09-2006, 12:35 AM
Wish I knew. not a great coder. Cookies perhaps? Or, maybe I could use secondary groups.
Wish I knew. not a great coder. Cookies perhaps? Or, maybe I could use secondary groups.
It uses cookies now to see if it can get a userid so it can get the users usergroup. If it does not find the cookie then it uses a default usergroup that you set.
Aylwin
02-22-2007, 10:19 AM
How does the RSS feed check for cookies? Does this mean you need to use a browser for reading the feeds? Or can all RSS readers store cookies? Please pardon my ignorance.
Also, a bit off topic here but is there any way to set the RSS feed to send all new posts instead of just new threads?
How does the RSS feed check for cookies? Does this mean you need to use a browser for reading the feeds? Or can all RSS readers store cookies? Please pardon my ignorance.
Also, a bit off topic here but is there any way to set the RSS feed to send all new posts instead of just new threads?
Dont know about the 2nd question.
As for your first, it will only work if you use a browser I guess like in FF or IE. If it can't get a cookie then it will use the default usergroup you set.
jyajay
03-19-2007, 06:17 PM
I don't want to show any rss feed for guests or regular members but only for a special usergroup.
Is that possible?
I don't want to show any rss feed for guests or regular members but only for a special usergroup.
Is that possible?
Yes. Set it to look at cookies. Also, set the usergroup setting to usergroup 1 which is guests.
jyajay
03-20-2007, 10:23 PM
The thing is that I want only one usergroup to get the feed, not any other logged in user or guest.
The thing is that I want only one usergroup to get the feed, not any other logged in user or guest.
Then you have to play with the hack your self.
make an IF around the hack
jyajay
03-21-2007, 12:59 PM
Could you give me a small advice about how to do that? I am not quite sure what you are talking about.
I already tried to edit the postbit_external though but the usergroup conditional seems not to work there as saving is not possible without producing syntax errors.
Could you give me a small advice about how to do that? I am not quite sure what you are talking about.
I already tried to edit the postbit_external though but the usergroup conditional seems not to work there as saving is not possible without producing syntax errors.
Try editing the plug-in for this hack.
jyajay
03-21-2007, 05:14 PM
Abe, if I could do it myself I wouldn't ask. I was assuming because you wrote this add-on you can tell what I have to change.
I'd very much appreciate your help with this. :)
Try to change in the plug-in:
cache_permissions($vbulletin->userinfo);
to:
if ($vbulletin->userinfo['usergroupid'] == XXXXXX)
{
cache_permissions($vbulletin->userinfo);
}
jyajay
03-23-2007, 10:43 AM
Ok, thank you for the information.
Now I discovered another problem that denies access to the attachments inside of the news feed because of some cookie setting i guess. When I disable your plugin the attachments are shown without any trouble.
On my forum I got the cookie settings set to .domain.com if thats any help to you.
marshill
05-14-2007, 10:52 PM
when I go to my RSS: www.mysite.com/forums/external.php?type=rss2 it shows my latest threads and the full text of those threads, but the permissions on those forums are for viewing topics *only*. My permissions are set so that guests are unable to view thread content, and can only see thread titles. I installed your product and assigned usergroup 1 in the settings, but its the same problem. I can see full post content and should only be able to see titles. Even when I log out completely, I can still see the full content of private threads on my RSS.
when I go to my RSS: www.mysite.com/forums/external.php?type=rss2 it shows my latest threads and the full text of those threads, but the permissions on those forums are for viewing topics *only*. My permissions are set so that guests are unable to view thread content, and can only see thread titles. I installed your product and assigned usergroup 1 in the settings, but its the same problem. I can see full post content and should only be able to see titles. Even when I log out completely, I can still see the full content of private threads on my RSS.
What happens when you actually click on something?
Version 2.2 (10/14/07):
If using cookies to get usergroupid to get posts, it will now verify passwords to avoid users who edit cookies.
ninjamaster
10-15-2007, 10:00 AM
thanks nice work
bchertov
11-01-2007, 06:14 AM
Does this hack allow for a user group to just see the first part of a post's body with a link for more? If not, it would make a nice enhancement! I'd like to restrict full text RSS to paid members. Thanks!
I am a bit confused and need some help. I want to use this modification to only allow admins and premium member group to use the RSS feeds on our other sites and not allow all other member groups and guests to use the RSS feeds.
How do I do that?
Thanks in advance.
I am a bit confused and need some help. I want to use this modification to only allow admins and premium member group to use the RSS feeds on our other sites and not allow all other member groups and guests to use the RSS feeds.
How do I do that?
Thanks in advance.
This hack does not let you choose which usergroups see what. You can set it show what they would normally see while browsing the forum. Like an admin can now see things only admins can read in RSS.
I don't want to show any rss feed for guests or regular members but only for a special usergroup.
[quote=Abe1;1208381]Yes. Set it to look at cookies. Also, set the usergroup setting to usergroup 1 which is guests.
This hack does not let you choose which usergroups see what. You can set it show what they would normally see while browsing the forum. Like an admin can now see things only admins can read in RSS.
I am having a serious blond moment I guess. LOL
Abe, you answered yes to the first question and no to mine LOL
What am I missing here? Is there some setting I have to set for each of the usergroups that I don't want to be able to see the RSS feed?
Thanks in advance.
[quote]I don't want to show any rss feed for guests or regular members but only for a special usergroup.
I am having a serious blond moment I guess. LOL
Abe, you answered yes to the first question and no to mine LOL
What am I missing here? Is there some setting I have to set for each of the usergroups that I don't want to be able to see the RSS feed?
Thanks in advance.
No.
BadgerDog
03-13-2008, 04:52 PM
Installed ... :up:
I hope this can do what I think it does ... :D
I'm just learning RSS, but I installed the Cinvin mod and I'm able to get feeds using the Tristana free RSS reader, but it was only getting threads that unregistered "guests" could view, even though Tristana allows the entry of a specific username and password for any given feed.
When I tried to add the feed of a forum that required a user to be registered, I would get this error from Tristana:
Error parsing content data channel. Document is either invalid or unsupported.
So, I just installed this mod here and now I get threads .... :up:
Even using this mod, I still can't get Yahoo to add threads from the same forum as it still gives me this error:
There were some problems while loading your page:
Sorry, we were unable to add this feed. Please try again later.
I'm not sure why Yahoo doesn't work and the free Tristana desktop program reader doesn, but at least I've made progress. :D
Any help or guidance as to what I'm doing wrong would be appreciated.
Regards,
Badger
J98680Bxxxxx
04-10-2008, 06:44 PM
Installed, works fine on a closed forum using vB 3.7 CR2 RSS Feed. I have finally succeeded in sending out my RSS Feed.
Thanks Abe1 :up:
Boofo
04-18-2008, 04:36 AM
This compliments my Site Map hack greatly. Thank you, sir. ;)
Boofo
04-18-2008, 04:53 AM
One question: If someone plays with the links long enough and can find a forumid that is not listed for them, they can subscribe to that RSS feed. I like being able to see all the feeds for whatever areas I am entitled to see, hidden or not, but I would rather not have everyone be able to subscribe to the feeds they can't see by playing with the links in the address bar. Is it possible to stop that?
Boofo
04-23-2008, 02:09 AM
Uninstalled since there seems to be no support.
One question: If someone plays with the links long enough and can find a forumid that is not listed for them, they can subscribe to that RSS feed. I like being able to see all the feeds for whatever areas I am entitled to see, hidden or not, but I would rather not have everyone be able to subscribe to the feeds they can't see by playing with the links in the address bar. Is it possible to stop that?
Not sure what you mean exactly.
J98680Bxxxxx
04-23-2008, 10:14 AM
One question: If someone plays with the links long enough and can find a forumid that is not listed for them, they can subscribe to that RSS feed. I like being able to see all the feeds for whatever areas I am entitled to see, hidden or not, but I would rather not have everyone be able to subscribe to the feeds they can't see by playing with the links in the address bar. Is it possible to stop that?
How about making those forums that are not listed not searchable? I don?t know if the RSS feed will get info from those.
Just a hint. :)
Boofo
04-25-2008, 06:15 PM
How about making those forums that are not listed not searchable? I don?t know if the RSS feed will get info from those.
Just a hint. :)
I want them to be searchable for anyone who has access to them and not for those that don't.
Not sure what you mean exactly.
An example would be my Staff forum which is not open to the general public. When I use this mod, if they know the link to the Staff forums that can get a feed from it, even though they are not set up to view the forum.
I want them to be searchable for anyone who has access to them and not for those that don't.
An example would be my Staff forum which is not open to the general public. When I use this mod, if they know the link to the Staff forums that can get a feed from it, even though they are not set up to view the forum.
All has to do with what you set. If you set to use the cookie, then they wont be able to. If you set the usergroup to be a high ranking one, then you are in trouble.
Boofo
04-25-2008, 06:31 PM
I have it set to use usergroup 1. I left the settings at the defualt on install.
Boofo
04-28-2008, 03:55 AM
Any word on what is happening with this?
If you set to usergroup 1, then they should not be able to see the restricted forums.
Boofo
04-28-2008, 04:15 AM
It is set to one and they can not see the restricted forums in the listing. But if they know the forumid of a restricted forum and enter the link in the address bar, they can view AND subscribe to a restricted forum.
It is set to one and they can not see the restricted forums in the listing. But if they know the forumid of a restricted forum and enter the link in the address bar, they can view AND subscribe to a restricted forum.
Not if usergroup 1 can't see it.
Boofo
05-04-2008, 01:47 PM
Then I should use the usergroup setting and not the cookie override setting? Because at the default settings with the hack, that is how it worked on my site.
Then I should use the usergroup setting and not the cookie override setting? Because at the default settings with the hack, that is how it worked on my site.
If you use the cookie override, only you will be able to subscribe to those areas. No-one that does not have permission will be able to.
Boofo
05-04-2008, 02:32 PM
Yes and when I logged out, I copied the link to the staff area in the address bar and it brought it all up on the page for me while seeing it as a guest.
Yes and when I logged out, I copied the link to the staff area in the address bar and it brought it all up on the page for me while seeing it as a guest.
Then something wrong with your the usergroup settings.
RobParker
07-19-2008, 06:32 PM
Is there any way to set this for a specific thread?
Is it even possible to set up an RSS feed for a thread?
What I want to do is export a thread via RSS and then import it into a Blogger account and have the account just update with the posts in that thread. The point of this is as a sort of fall-back site for when our server gets too busy due to a big news item, instead of users increasing our server load we can just point them to blogger.
mykkal
09-13-2008, 04:05 AM
Works well with CinVin's RSS Feeds.
dolphin678
11-22-2008, 01:49 PM
Does this mod work with 3.7.3? If not any chance of it being made suitable for later vBull versions?
Does this mod work with 3.7.3? If not any chance of it being made suitable for later vBull versions?
yes, it works
BadgerDog
02-07-2009, 10:55 AM
Sorry... wrong thread...
Deleted with apologies....
Regards,
Badger
mykkal
02-16-2009, 09:27 AM
Is there a 3.6.8 version?
kmatwill
03-14-2009, 02:51 PM
Does this mod work with 3.8?
Manoel J?nior
07-11-2009, 03:11 PM
Excelent!
Great man...
Aadil
09-06-2009, 11:43 AM
Does this mod work with 3.8?
Yep started using it today works great
maximutt
11-26-2009, 10:27 AM
This version still seems to work on vB 4.0 :)
Now that is solid programming! Great mod!
kevius
12-30-2009, 02:01 PM
is this hack 100% ready for vBulletin v4.0 ? are you sure ???
maximutt
12-31-2009, 05:54 AM
Yep, I'm using right now on a vB 4.0 PL1 installation. It works perfectly and plays nice with other plugins.
starman?
02-03-2010, 03:43 PM
I can confirm it still works in vB4.1 installation.
AusPhotography
09-26-2010, 11:23 PM
vB 4.0.7 - yes!
mykkal
02-27-2015, 10:27 PM
Does this work with vb 4.2.X?
mykkal
02-27-2015, 10:28 PM
I believe its working in vb 4.2.3. I've had it so long I can't remember what it was installed for. LOL I think its working tho.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.