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???

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

here comes the german translation :D

.. hope you like it :rolleyes:

luroca 11-03-2005 11:26 PM

Quote:

Originally Posted by board.trash
why???

We need a RegEx guru :)
Thanks for the traslation, German it?s very difficult for me :D

board.trash 11-03-2005 11:29 PM

Quote:

Originally Posted by luroca
We need a RegEx guru :)
Thanks for the traslation, German it?s very difficult for me :D

okay, just waiting for ^^ :P

ps. n1 hack - thanks again :banana:

Virtuosofriend 11-04-2005 08:41 AM

extremely helpful,well done.

bigmonay2k 11-05-2005 11:22 PM

what about it you want it only 2 section of the board. thanks

luroca 11-06-2005 01:24 PM

Quote:

Originally Posted by bigmonay2k
what about it you want it only 2 section of the board. thanks

The ideal soluction for you would be a hack based in forumpermisions and I have not interested in that by now, maybe in the future.
This is only a personal solution for me and, perhaps, for other persons.
A quick solution for you can be to add a conditional of type "and if forumid = X"

Regards

board.trash 11-06-2005 02:22 PM

hi, here comes a fixed version.

all links work fine now.

credits goes to my mod smasher :D

Flow Fusion 11-06-2005 09:12 PM

Where do I find this after I install it?

Boofo 11-06-2005 09:36 PM

Quote:

Originally Posted by board.trash
hi, here comes a fixed version.

all links work fine now.

credits goes to my mod smasher :D

What is "fixed" in this? ;)

luroca 11-07-2005 08:33 AM

Quote:

Originally Posted by Boofo
What is "fixed" in this? ;)

Some links were visible. Today update with this (thanks, board.trash) and a minor improve.

luroca 11-07-2005 12:03 PM

Updated.
Please, if you use it, click install, I have an ego :)

board.trash 11-08-2005 05:16 PM

Quote:

Originally Posted by Boofo
What is "fixed" in this? ;)


all these problems are fixed and the xml is in german now.

Mastar 11-22-2005 03:32 PM

Neva mind

ggiersdorf 12-24-2005 02:56 PM

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..

croportal 12-26-2005 04:26 PM

i have version 3.5.0 and i have instaled this but not working

luroca 12-29-2005 04:47 PM

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?

Yorixz 01-02-2006 04:59 PM

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?

ccplim 01-03-2006 03:42 AM

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.

kadafi_alive 01-04-2006 07:06 AM

Hmm,

This hack seems to be hiding links downloaded from usenet to all usergroups. Anyone know how to fix that?

fuldon 01-08-2006 05:55 AM

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

vB 3.5.2

computer1 01-25-2006 03:58 PM

I have install this to my board 3.5.3 but I cant se this to the admin page
where can I se this ????

computer1 01-25-2006 04:11 PM

I can se that nowe but when I coming to the forum like guest I can se all
the links howe can I fix this ???
lok here you can se that

http://forum.wrestlingsidan.se/showthread.php?t=36

Wildthinks 01-27-2006 07:36 AM

Hi,

can you please to add a specify forum feature?
Means, that only in this forum the usergroup dont see the links. in all other forums links are allowed and ok.

Thank you
Thomas :rolleyes:

Zia 01-30-2006 04:55 PM

it sounds nice...
doest it works on Pm too??
un-authories user cant link even in pm now....only the authoried links can be seen in post+pm??

Thankx

luroca 01-30-2006 06:32 PM

Quote:

Originally Posted by Wildthinks
can you please to add a specify forum feature?

I am very busy now, but this feature can be added easily.
Quote:

Originally Posted by Zia
doest it works on Pm too??

No, sorry, it doesn?t work in PM.

Regards

Zia 01-31-2006 06:08 AM

oh it would be nice...if it works on PM...spamer will fall in deep shit..

thnx man

NeutralizeR 02-03-2006 03:55 AM

There is a serious bug.

If a member posts a message with a link then he's deleted (account), this plugin won't let you to see the link. No matter if you are registered or admin...

I need a solution for this. Because i have more than 500-600 posts which belong to deleted users.

You should add a conditional like "if userid=0" or smth similar, not sure...

Waiting for an update...

bashy 02-17-2006 09:48 PM

Hi

I do not like the Phrase Paid Subscribers....
I have tried to change this using the phrase manager but it does not
change... Please can you let me know how to change this????

EDIT: I have edited the product, was the only way and now its just how i want it, thanks :)

luroca 02-18-2006 10:38 AM

Quote:

Originally Posted by NeutralizeR
There is a serious bug

Well, it?s not a bug for me. I don?t delete users with posts.

Greetings

fuldon 02-19-2006 04:06 AM

luroca
Please, help!

https://vborg.vbsupport.ru/showpost....6&postcount=30


All times are GMT. The time now is 06:51 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.01239 seconds
  • Memory Usage 1,815KB
  • 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_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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