vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hide links from guests (https://vborg.vbsupport.ru/showthread.php?t=214969)

Ray2khax 05-31-2009 06:31 AM

Hide links from guests
 
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

UKBusinessLive 05-31-2009 08:32 AM

Quote:

Originally Posted by Ray2khax (Post 1820506)
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

Your best bet would be to ask or read through that mods thread. Most mods can work with 3.8, but you'll get a quicker reply on that thread :D

cono1717 05-31-2009 10:08 AM

It works fine on 3.8.2? I just tested it.

Make sure you are adding it as a plugin and not a product. You may see a link saying no link. To change that go to ACP > Plugins and Products > Plugin Manager and edit "Hide Links from guests"

In the plugin PHP code box find

PHP Code:

return '<a href="register.php" title="Please register first or login" target="_blank">No Link?</a>'

And do any of the following.

To show a link that goes to registration page

Replace that code with
PHP Code:

return '<a href="register.php" title="Please register first or login" target="_blank">PLACE TEXT HERE</a>'

And replace the "PLACE TEXT HERE" with what you want the link to say.

For no link to appear just text:

Replace the code above with this
PHP Code:

return 'PLACE TEXT HERE'

Replacing "PLACE TEXT HERE" with what you want the error message to say.

Note that you may think this is not working because there is no styling around it and it looks like a post but I can assure you it works on 3.8.2

ontherun 06-12-2009 02:00 AM

Quote:

Originally Posted by Ray2khax (Post 1820506)
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

I have added as a plugin and it did not work...........
Will it work with a frontend Portal? Im using vbPortal Version 3.8.1

voter 07-26-2009 01:56 PM

There is a hide bbcodes https://vborg.vbsupport.ru/showthread.php?p=1761581


All times are GMT. The time now is 02:29 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.01338 seconds
  • Memory Usage 1,724KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete