Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Only selected usergroups can see links Details »»
Only selected usergroups can see links
Version: 1.2.0, by luroca luroca is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-01-2005 Last Update: 11-06-2005 Installs: 40
Uses Plugins
 
No support by the author.

I know that there are a similar hack more simple and elegant (https://vborg.vbsupport.ru/showthread.php?t=99918) but this is more powefull and adecuate for me.

With this hack only selected usergroups can see links. Besides, Staff (admin and others) can post links that can see all usergroups.

This product install 4 independ plugins, 1 new settinggroup and 7 new phrases.

No links are visible for unauthorized usergroups in replypost, printversion and archive. In showthread and showpost only links posted by staff (mods, smods, admins and others of you election) are visible for all usergroups.

Change in V.1.1.0:
- Customizable in ACP --> Links Permissions
Change in V.1.2.0:
- No links escapes now. Thanks to board.trash
- Links of not allowed usegroups are hidden for all usergroups in post ( but not for allowed usergroups in Archive and PrintVersion, sorry)

Regards

Show Your Support

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

Comments
  #22  
Old 11-07-2005, 12:03 PM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated.
Please, if you use it, click install, I have an ego
Reply With Quote
  #23  
Old 11-08-2005, 05:16 PM
board.trash board.trash is offline
 
Join Date: Aug 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
What is "fixed" in this?

all these problems are fixed and the xml is in german now.
Reply With Quote
  #24  
Old 11-22-2005, 03:32 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neva mind
Reply With Quote
  #25  
Old 12-24-2005, 02:56 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any possible way to stop img tags from being seen with this link!? I do alot of game stuff and it uses alot of pictures..
Reply With Quote
  #26  
Old 12-26-2005, 04:26 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have version 3.5.0 and i have instaled this but not working
Reply With Quote
  #27  
Old 12-29-2005, 04:47 PM
luroca luroca is offline
 
Join Date: Jul 2002
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, in my experience, it works ok in 3.5.0, 3.5.1 and 3.5.2.
Have you set it in Admin Control Panel?
Reply With Quote
  #28  
Old 01-02-2006, 04:59 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I'm having a little problem with this.

When I enable the plugin and try to write a new reply I get the following error:
Code:
Fatal error: Using $this when not in object context in /home/ftpusers/otfans/html/newreply.php(809) : eval()'d code on line 6
Which should be in this code:
Code:
eval('$canseelinks = in_array($vbulletin->userinfo[usergroupid], array(' . $vbulletin->options['canseelinks'] . '));');
if ((!in_array($vbulletin->userinfo[usergroupid], array($canseelinks)) or !is_member_of($post, explode(',', $this->registry->options['canseelinks']))))
{
$reviewmessage = preg_replace("!<a[^>]*>(.*)</a>!siU", $vbphrase[nolink], $reviewmessage);
}
Could anyone explain me how to fix that please?
Reply With Quote
  #29  
Old 01-03-2006, 03:42 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ggiersdorf
any possible way to stop img tags from being seen with this link!? I do alot of game stuff and it uses alot of pictures..
I would be interested in one that hides the [img] tag too.

A nice one there luroca! I'm gonna give it a try on my test board.
Reply With Quote
  #30  
Old 01-04-2006, 07:06 AM
kadafi_alive kadafi_alive is offline
 
Join Date: Dec 2004
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm,

This hack seems to be hiding links downloaded from usenet to all usergroups. Anyone know how to fix that?
Reply With Quote
  #31  
Old 01-08-2006, 05:55 AM
fuldon fuldon is offline
 
Join Date: Jan 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help!!!
Links from unauthorized usergroups are not visible.

vB 3.5.2
Reply With Quote
Reply


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 09:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05186 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)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