Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hide Links From Guests Details »»
Hide Links From Guests
Version: 1.32, by Stoebi Stoebi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.2 Rating:
Released: 08-07-2006 Last Update: 10-27-2006 Installs: 691
DB Changes Uses Plugins
 
No support by the author.

Original Autor: natro Forum
Co-Autor: Stoebi

A big thank you goes out to natro for allowing me not only to translate the plug-in, but also to publish/release this with
my error corrections and some further additions.


Thank you very much also Andreas, Christian and Hoffi. Since some additions to the addon would have not been possible without their input.


Functions:
  • Guests won't see links in Posts
  • Guests won't see links in Archive (fixed parsing)
  • Guests won't see links in "Show Printable Version"
  • Guests won't see links in Reply (For registered user visible now (fixed))
  • Guests won't see links in Signatures (new)
  • Guests won't see links in Quotes (new)
  • Guests won't see links in Search (new)
  • Popup above the theme title is not shown for guests (new)
  • Fixed: extra ] was fixed in vbphrase
  • Guests won't see emails links
  • Exclude forums
  • Global activate/deactivate
  • Groups can be included
  • Link added
  • Version check added
  • Most options configurable
  • Info text configurable
  • Fixed bug in PN
  • Fixed database problem during install ( overwrite the product now possible )
  • Fixed multiquote and direct reply if a usergroup not allowed to shown links.
  • Added option "Show own posted links"
  • Added option "Exclude links" ( vbulletin.org|gif|jpg for example )
  • Added option "Show links from groups" ( 5,6 for example -> default )
  • Added option "Show links from users" ( webmaster|stoebi for example )
  • Source code optimizes
  • Guests won't see links in SHOWPOST (Post and Signature)
  • Supports my new hack Show Post In Printable Version
Intallation: Download, deinstall and reimport an existing version.



Update: 09-08-2006
  • Fixed link parsing in Quotes (View Post) in Reply, Signature and Post
  • Added 2 new screenshots
Update: 13-08-2006
  • Guests won't see email links (GregF)
  • Exclude forums (TygerTyger)
  • Global activate/deactivate
  • Groups can be included (JonnyF)
  • Link added
  • Version check added
  • Most options configurable
Update: 21-08-2006
  • Info text configurable (payamix1)
  • Fixed bug in PN (payamix1)
Update: 05-09-2006
  • Fixed database problem during install ( overwrite the product now possible )
  • Fixed multiquote and direct reply if a usergroup not allowed to shown links.
  • Added option "Show own posted links"
  • Added option "Exclude links" ( vbulletin.org|gif|jpg for example ) (JonnyF, DSPR)
  • Added option "Show links from groups" ( 5,6 for example) (TygerTyger)
  • Added option "Show links from users" ( webmaster|stoebi for example )
  • Source code optimizes
Update: 28-10-2006
  • Guests won't see links in SHOWPOST (Post and Signature) (new)
  • Supports my new hack Show Post In Printable Version (new)
Enjoy this fine update.


Guests always seen hidden links, if this addon activated. You can't exclude guests and include group ids. Non-excluded Forums are depend by the made options in vbulletins-options.


You'll find different versions in the archive. "product-Hide_Links_From_Guest_v132_36x_english.xml" is the newest one.
36x in filename means, product for vBulletin 3.6.x only, not downward-compatibly
354 in filename means, product for vBulletin 3.5.4.

This Addon works fine with the "Post Replacement" addon from Larrysw.
You need only to change the "Execution Order" from 5 to 4 in "Plugin Manager" -> Guests will not see links in posts (Hook: postbit_display_complete)

For german members of vBulletin, please click here for install. Thx


Have Fun

Regards, Stoebi


Sorry for german screenshots

Download Now

File Type: zip hide_link_from_guests_v132_english.zip (25.5 KB, 7751 views)
File Type: zip hide_link_from_guests_v132_german.zip (27.5 KB, 950 views)

Screenshots

File Type: jpg 1.jpg (45.7 KB, 0 views)
File Type: jpg 2.jpg (76.3 KB, 0 views)
File Type: jpg 3.jpg (95.6 KB, 0 views)
File Type: jpg 4.jpg (71.8 KB, 0 views)
File Type: jpg 5.jpg (129.5 KB, 0 views)
File Type: jpg 6.jpg (93.7 KB, 0 views)
File Type: jpg 7.jpg (134.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-13-2006, 09:38 PM
Razasharp's Avatar
Razasharp Razasharp is offline
 
Join Date: Feb 2005
Location: UK
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stoebi
@Razasharp

I hope, the new update interest you, because everything is optionally configurable.
Thank you TygerTyger
Regards, Stoebi
Thanks mate thats brill!
Reply With Quote
  #23  
Old 08-15-2006, 07:35 AM
upsetter upsetter is offline
 
Join Date: Aug 2006
Location: Toronto, On.
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awsome, thanks
Reply With Quote
  #24  
Old 08-17-2006, 11:27 AM
payamix1's Avatar
payamix1 payamix1 is offline
 
Join Date: May 2005
Location: Tehran
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bug : It applies in Private Messages !
Reply With Quote
  #25  
Old 08-17-2006, 11:43 AM
payamix1's Avatar
payamix1 payamix1 is offline
 
Join Date: May 2005
Location: Tehran
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INSTALL Clicked.

Idea : You can insert a field for changing TEXT of converted links (configurable by site manager) or even a popup message.
(like this)
Reply With Quote
  #26  
Old 08-17-2006, 03:02 PM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by payamix1
Bug : It applies in Private Messages !
Hi

???? example? Guests can't read private messages

Quote:
Originally Posted by payamix1
INSTALL Clicked.
Thx

Quote:
Originally Posted by payamix1
Idea : You can insert a field for changing TEXT of converted links (configurable by site manager) or even a popup message.
Nice idea


The next version will hide links from guests in profiles and if anyone interested, i can public a patch for vbadvanced and vbeasy.


Regards, Stoebi
Reply With Quote
  #27  
Old 08-17-2006, 05:11 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whats the way to make it compatible to vBadvanced ?
Reply With Quote
  #28  
Old 08-17-2006, 06:56 PM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour
Whats the way to make it compatible to vBadvanced ?
Open modules/news.php

Seach for (arround line 200):
Code:
					$news['message'] = $bbcode_parser->do_parse($news['pagetext'], $mod_options['portal_news_enablehtml'], $news['allowsmilie'], $mod_options['portal_news_enablevbcode'], $mod_options['portal_news_enablevbimage']);
				}
Add underneath:
Code:
				if ($vbulletin->options['hlfg_global'])
				{
					$groups = explode(',',$vbulletin->options['hlfg_groups']);
					if (!$vbulletin->userinfo['userid'] OR (is_member_of($vbulletin->userinfo, $groups) OR $groups[0] == 0))
					{
						$news['message'] = preg_replace("!<a[^>]*(http|www|mailto)(.*)</a>!siU", $vbphrase[nolink], $news['message']);
						$news['message'] = preg_replace("!mailto:(.+\.*.)!siU", $vbphrase[nolink] . '<', $news['message']);
					}
				}
More to come (optionally activate/deactivate - additional addon (next days))


Regards, Stoebi
Reply With Quote
  #29  
Old 08-17-2006, 07:21 PM
imranbaig imranbaig is offline
 
Join Date: Sep 2005
Location: India
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just Installed works fine.. Nice hack..
Reply With Quote
  #30  
Old 08-17-2006, 11:46 PM
tekstylez tekstylez is offline
 
Join Date: Aug 2006
Location: Philly
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx dude... so far, so good
Reply With Quote
  #31  
Old 08-18-2006, 06:41 AM
payamix1's Avatar
payamix1 payamix1 is offline
 
Join Date: May 2005
Location: Tehran
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stoebi
???? example? Guests can't read private messages
I've inserted Registered Users Group (number 2) in the field Hide links from groups.

now when Registered Users open their Private messages, they can not see links.

Sometimes we don't want our Registered Users to see links in one forum.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05209 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete