vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - External Data Provider Usergroup/Cookie Setting (https://vborg.vbsupport.ru/showthread.php?t=127062)

Abe1 03-21-2007 04:53 PM

Quote:

Originally Posted by jyajay (Post 1208769)
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. :)

Abe1 03-22-2007 01:47 AM

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.

Abe1 05-14-2007 11:28 PM

Quote:

Originally Posted by marshill (Post 1247679)
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?

Abe1 10-15-2007 02:36 AM

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!

YLP1 03-05-2008 10:36 PM

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 11:11 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
  • Page Generation 0.01215 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete