Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
External Data Provider Usergroup/Cookie Setting Details »»
External Data Provider Usergroup/Cookie Setting
Version: 2.2, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 09-18-2006 Last Update: 10-14-2007 Installs: 110
Uses Plugins
 
No support by the author.

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.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 11-08-2006, 11:32 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by w1z4rd
Does this allow you to add multiple groups? I have several groups that need access.
How would the browser differentiate between them?
Reply With Quote
  #23  
Old 11-09-2006, 12:35 AM
w1z4rd w1z4rd is offline
 
Join Date: Feb 2005
Location: MooseTown
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wish I knew. not a great coder. Cookies perhaps? Or, maybe I could use secondary groups.
Reply With Quote
  #24  
Old 11-09-2006, 02:40 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by w1z4rd
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.
Reply With Quote
  #25  
Old 02-22-2007, 10:19 AM
Aylwin Aylwin is offline
 
Join Date: Mar 2005
Location: Finland
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #26  
Old 02-22-2007, 12:15 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aylwin View Post
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.
Reply With Quote
  #27  
Old 03-19-2007, 06:17 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want to show any rss feed for guests or regular members but only for a special usergroup.

Is that possible?
Reply With Quote
  #28  
Old 03-20-2007, 10:15 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jyajay View Post
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.
Reply With Quote
  #29  
Old 03-20-2007, 10:23 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The thing is that I want only one usergroup to get the feed, not any other logged in user or guest.
Reply With Quote
  #30  
Old 03-21-2007, 12:55 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jyajay View Post
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
Reply With Quote
  #31  
Old 03-21-2007, 12:59 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

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 05:20 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
  • Page Generation 0.06607 seconds
  • Memory Usage 2,302KB
  • 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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete