Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
External Data Provider Usergroup/Cookie Setting Details »
External Data Provider Usergroup/Cookie Setting
Mod Version: 2.2, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (10 votes - 4.80 average) Installs: 108
Released: 19 Sep 2006 Last Update: 15 Oct 2007 Downloads: 314
Not Supported Uses Plugins  

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!
You will get an email when a new version is released.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.JPG
Views:	958
Size:	27.2 KB
ID:	53667  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
External Data Provider Usergroup Permissions Setting Abe1 vBulletin 3.5 Add-ons 13 19 Sep 2006 22:34

  #31  
Old 21 Mar 2007, 17:53
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by jyajay View Post
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.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #32  
Old 21 Mar 2007, 18:14
jyajay jyajay is offline
 
Join Date: Sep 2006
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.
Reply With Quote
  #33  
Old 22 Mar 2007, 02:47
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Try to change in the plug-in:

cache_permissions($vbulletin->userinfo);


to:

if ($vbulletin->userinfo['usergroupid'] == XXXXXX)
{
cache_permissions($vbulletin->userinfo);
}
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #34  
Old 23 Mar 2007, 11:43
jyajay jyajay is offline
 
Join Date: Sep 2006
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.
Reply With Quote
  #35  
Old 14 May 2007, 23:52
marshill marshill is offline
 
Join Date: Feb 2007
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.
Reply With Quote
  #36  
Old 15 May 2007, 00:28
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by marshill View Post
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?
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #37  
Old 15 Oct 2007, 03:36
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
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.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #38  
Old 15 Oct 2007, 11:00
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
thanks nice work
Reply With Quote
  #39  
Old 01 Nov 2007, 07:14
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
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!
Reply With Quote
  #40  
Old 05 Mar 2008, 23:36
YLP1 YLP1 is offline
 
Join Date: Aug 2004
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.
Reply With Quote
  #41  
Old 06 Mar 2008, 02:22
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by YLP1 View Post
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.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #42  
Old 06 Mar 2008, 15:05
YLP1 YLP1 is offline
 
Join Date: Aug 2004
[quote]I don't want to show any rss feed for guests or regular members but only for a special usergroup.

Originally Posted by Abe1 View Post
Yes. Set it to look at cookies. Also, set the usergroup setting to usergroup 1 which is guests.
Originally Posted by Abe1 View Post
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.
Reply With Quote
  #43  
Old 06 Mar 2008, 23:18
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
[QUOTE=YLP1;1458506]
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.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #44  
Old 13 Mar 2008, 17:52
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question

Installed ...

I hope this can do what I think it does ...

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 ....

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.

Any help or guidance as to what I'm doing wrong would be appreciated.

Regards,
Badger

Last edited by BadgerDog; 13 Mar 2008 at 18:02.
Reply With Quote
  #45  
Old 10 Apr 2008, 19:44
J98680Bxxxxx's Avatar
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Thumbs up

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:27.

Layout Options | Width: Wide Color: