vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Only selected usergroups can see links (https://vborg.vbsupport.ru/showthread.php?t=99936)

luroca 11-01-2005 10:00 PM

Only selected usergroups can see links
 
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

Boofo 11-02-2005 09:59 PM

Instead of editing the xml code, why not make settings for this in the Admin CP? ;)

luroca 11-03-2005 05:11 AM

Quote:

Originally Posted by Boofo
Instead of editing the xml code, why not make settings for this in the Admin CP? ;)

Because I have to learn to do it yet :)

Marv 11-03-2005 05:41 AM

Hey, luroca - *gnarf* why haven´t you realeased this little beauty yesterday? Would have saved me a lot of time cause php is still a pain in the ... for me :knockedout:

Is this Plugin already tested yet ? In which versions ?

luroca 11-03-2005 06:27 AM

Hello, marv, your php is better than mine.
This hack works fine in both 3.5.1 and 3.5.0

Regards

luroca 11-03-2005 11:37 AM

Quote:

Originally Posted by luroca
Because I have to learn to do it yet :)

I have learned, if I have time, today update :)

Snake 11-03-2005 12:07 PM

Woohoo for 3.5.1, thanks!!

luroca 11-03-2005 07:17 PM

Quote:

Originally Posted by Boofo
Instead of editing the xml code, why not make settings for this in the Admin CP? ;)

Thanks very much for your sugestion, Boofo, now this hack is fully customizable in ACP.

Boofo 11-03-2005 08:33 PM

Quote:

Originally Posted by luroca
Thanks very much for your sugestion, Boofo, now this hack is fully customizable in ACP.

I had no doubt you could do it. Good job! ;)

board.trash 11-03-2005 10:49 PM

Hello luroca !

Thank you for this hack but i think there is a little misstake ?!

pls look at the screenshot.

if someone use a link like this: "http://www.link.tld" "http://link.tld ... <-> guest´s can see the link at the thread (archive works fine) - why???


All times are GMT. The time now is 08:42 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.01012 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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