vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links for Registered Users Only (https://vborg.vbsupport.ru/showthread.php?t=81467)

techhouse 05-31-2005 07:54 AM

Link still visible if the post is created in html (non bbcode) :(
Any idea?

logofreax 06-19-2005 08:22 AM

Hi, i´ve tested this great Hack but got one Question.

Is it possible that only lLinks in Threads can be disabeled and Links in Signatures are still to see?

At the Moment this Hack make all Links impossible to see, altough them in Signatures.

Thanx for help

Greets from Germany

jesus likes pie 06-20-2005 01:07 PM

will it hide it if they are viewing the archive?

lanc3lot 06-22-2005 03:44 AM

Hello...Can the links be hided also from users that they havent activated their account? (and so only registered users can see them)

Thnx in advance

Deaths 06-25-2005 06:10 AM

Quote:

Originally Posted by techhouse
Link still visible if the post is created in html (non bbcode) :(
Any idea?

I wouldn't know a solution to that, sorry.

Deaths 06-25-2005 06:12 AM

Quote:

Originally Posted by logofreax
Hi, i?ve tested this great Hack but got one Question.

Is it possible that only lLinks in Threads can be disabeled and Links in Signatures are still to see?

At the Moment this Hack make all Links impossible to see, altough them in Signatures.

Thanx for help

Greets from Germany

Yes, I've put a conditional on the whole [url] BBCode.
I wouldn't know how to hide them for posts only, I don't think there is a variable which shows where the BBCode is currently parsed.

Anyone?

Deaths 06-25-2005 06:14 AM

Quote:

Originally Posted by lanc3lot
Hello...Can the links be hided also from users that they havent activated their account? (and so only registered users can see them)

Thnx in advance

Yes, you can change
PHP Code:

if ($bbuserinfo[userid] != 0)


to
PHP Code:

if ($bbuserinfo[userid] != OR $bbuserinfo[userid] != X)


and replace X by the usergroup from which you want to hide the links aswell.
Not sure whether this works or not, but you can try.

lanc3lot 06-25-2005 11:46 AM

Quote:

Originally Posted by Deaths
Yes, you can change
PHP Code:

if ($bbuserinfo[userid] != 0)


to
PHP Code:

if ($bbuserinfo[userid] != OR $bbuserinfo[userid] != X)


and replace X by the usergroup from which you want to hide the links aswell.
Not sure whether this works or not, but you can try.

Nope it didnt:(

When i did that, the code didnt worked at all (neither for the userid 0) :(

CyberRanger 07-08-2005 07:48 PM

Quote:

Originally Posted by Deaths
You can add more usergroups to the list, like this: array(W,X,Y,Z)

Nice hack. One question on setting it with usergroups. I can only seem to get it to work if that is the user's primary usergroup. Can it also check "Additional Usergroups"?

Thanks!

Fallback 07-21-2005 07:40 PM

this hack doesnt seem to work if the user puts a URL in BBCODE [URL] and BBCODE [URL] tags... Is there a fix?


All times are GMT. The time now is 08:23 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.01156 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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