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)
-   -   links only for selected usergroups (https://vborg.vbsupport.ru/showthread.php?t=99505)

luroca 10-27-2005 10:00 PM

links only for selected usergroups
 
Please, excuse my poor English, I post mostly with a online translator.

This simple hack allows to post links to websites only to selected usegroups.
Naturally, you must edit the plugin to set your authorized usergroups.
Example:
If the user is of a authorized usergroup, in the post it appears this:
www.vbulletin.com/forum

If he is not authorized, it appears:
NO_LINK

If this hack exists, sorry but I don?t find it.
Thanks to MioTraGusa for his aportation.

Don?t be timid, click Install :)

Please, feel free to improve and correct this hack.

lexx27 10-28-2005 12:47 PM

any screenshot?

Shack Networks 10-28-2005 01:10 PM

I think he explained the basics above and even I got the jist of it without the need for a screen shot and I am dumb and fat lol....

luroca 10-28-2005 01:12 PM

No problem, one screenshot :)

lexx27 10-28-2005 01:17 PM

Thanks! I know that he explains it well but i prefer to see it than imagine it. Do we have the option to change the "no_link" with something else? I think your hack is very useful!

luroca 10-28-2005 01:21 PM

Quote:

Originally Posted by lexx27
Do we have the option to change the "no_link" with something else?

Yes, you can edit the plugin and to change NO_LINK with another message.

lexx27 10-28-2005 01:52 PM

Great! Installs

dede1 10-29-2005 06:55 AM

Thank

Marv 10-30-2005 08:20 AM

Can anyone tell m how I can reverse the permissions ? Usually we all have a whole bunch of usergroups and wouldn´t it be more effectiv to let this script check, wether the visitor is a not registered user (or banned, or miserable or whatever user) and hides the link with the given phrase while all others see & can klick the link ?

I´ve got about 32 usergroups (and counting) and it´s a mess, to set the permissions new every time you´ll add one..

Can anyone provide th code for that ?

luroca 10-30-2005 09:15 AM

A plugin for not registered (and so) can not see links? It looks easy, I work in it.


All times are GMT. The time now is 02:40 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.01079 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)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