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)

Yorixz 09-17-2005 11:21 AM

Quote:

Originally Posted by sajjid
ok for this to work in vb 3.5 rc 3 do the following in
forums/includes/class_bbcode.php
find
Code:

return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
and replace it with
Code:

if ($vbulletin->userinfo['userid']) 

return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";

else 

return "Guests cannot view links. You must <a href='register.php'>register</a> to see links.";
}


Do you also happen to know what the condition would be to only allow people in a usergroup higher than, say 6?

smokering 09-26-2005 01:42 AM

nice addon thank you much

Andyrew 10-04-2005 09:27 PM

What code for 3.5 gold tried the above but even i the admin cannot view links. ??

Thanks

AyeCapn 05-09-2006 09:14 PM

:cool:

can this be adapted in someway to prevent non-registered users from viewing signatures?

dragonlove 03-06-2007 04:24 AM

vB Version: 3.0.7

This hack is too old, where is the new one that works with 3.6.5 ?

tyler_d 03-11-2007 05:41 AM

Quote:

Originally Posted by dragonlove (Post 1196851)
vB Version: 3.0.7

This hack is too old, where is the new one that works with 3.6.5 ?

yeah, would love to know this too

katie hunter 05-30-2007 11:18 PM

I tried it but it didn't work i use vBulletin 3.6.7 PL1)


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.01003 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)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
  • (7)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