![]() |
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.
Updates: Version 2.0 (9/19/06):
Version 2.1 (9/22/06):
Version 2.2 (10/14/07):
[CENTER]Please post your comments or suggestions for this hack. I read ALL posts. MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. |
thanx man great one
|
Thanks.
|
This means guests can access pages without having the permission to?
See: https://vborg.vbsupport.ru/showthread.php?t=127101 |
Quote:
I just read your request. You can use the plug-in code for your custom page. |
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? |
Quote:
If you let RSS see the title, when a user clicks on it, they will have to log-in to see it. |
Great this should be include by default on vBulletin
|
Version 2.1 (9/22/06):
|
It seems to work great with user group permission but ignores cookie based permission.
|
Quote:
2) Do you log-in with 'remember me'? |
Doesnt work I set it to a usergroup and its still not working...
|
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? |
Quote:
|
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. |
Quote:
|
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... |
thanks :)
/installs this is better than opening unregisterd usergroups up :D |
Thank you very much! This is exactly what i was looking for!
|
Does this allow you to add multiple groups? I have several groups that need access.
|
Quote:
|
Wish I knew. not a great coder. Cookies perhaps? Or, maybe I could use secondary groups.
|
Quote:
|
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? |
Quote:
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. |
I don't want to show any rss feed for guests or regular members but only for a special usergroup.
Is that possible? |
Quote:
|
The thing is that I want only one usergroup to get the feed, not any other logged in user or guest.
|
Quote:
make an IF around the hack |
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. |
Quote:
|
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); } |
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. |
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.
|
Quote:
|
Version 2.2 (10/14/07):
|
thanks nice work
|
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. |
All times are GMT. The time now is 03:27 PM. |
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:
|