Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2009, 02:41 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default hiding CODE from unlicensed users as mod

Why vbulletin.org not releasing his modification that hides CODE, PHP bbcodes from unlicensed/unregistered users?
Reply With Quote
  #2  
Old 07-26-2009, 02:46 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That code would be useless to anyone else, as others do not have access to the license database.
Reply With Quote
  #3  
Old 07-26-2009, 02:54 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need a modification to do this, a simple if statement works.
Code:
<if condition="$show['member']">$code<else /><if condition="$show['guest']">{The code that shows to unregistered users}</if></if>
I think this is what you're asking
Reply With Quote
  #4  
Old 07-26-2009, 03:06 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
That code would be useless to anyone else, as others do not have access to the license database.
I don't mean somebody checks the vbulletin license server, but any other server before allowing users to get an access to a code or other bbcode or a forum.

In other words one implements the possibility to define in options his own license database server.

--------------- Added [DATE]1248624492[/DATE] at [TIME]1248624492[/TIME] ---------------

Quote:
Originally Posted by James Birkett View Post
You don't need a modification to do this, a simple if statement works.
Code:
<if condition="$show['member']">$code<else /><if condition="$show['guest']">{The code that shows to unregistered users}</if></if>
I think this is what you're asking
No it will not work properly, with non zero Cached Posts Lifespan in Server Settings and Optimization Options.
Check this http://www.vbhackers.com/f76/hide-code-usergroups-5884/

There is even a mod for that https://vborg.vbsupport.ru/showthread.php?t=105160, but it is just doing the same like vbulletin.org do already a long time. moreover it is not working properly with 3.8.2 and vbseo 3.2.

Sowhy I decide to ask, why not release the one is used in vbulleting.org...
Reply With Quote
  #5  
Old 07-27-2009, 06:06 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voter View Post
I don't mean somebody checks the vbulletin license server, but any other server before allowing users to get an access to a code or other bbcode or a forum.

In other words one implements the possibility to define in options his own license database server.
That would mean revealing the schema of the licenses database - not something that people do willingly. Also, that would mean more work to make it "modular" - note that a lot of the systems are interconnected, it's difficult to "pull" a single part out.
Reply With Quote
  #6  
Old 07-27-2009, 06:20 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The license check is not a stand alone product and it created specifically for vB.org. This will not be released.
Reply With Quote
  #7  
Old 08-04-2009, 07:44 AM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you at least give a tip how you solved the problem with Cached Posting? Or you just keep no cache, so why any page of vbulleting.org loading loading and never finisch loading untill one press stop in browser?
Reply With Quote
  #8  
Old 08-05-2009, 11:51 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be interested in this as I have a forum and it relates to software as well to link to an external database for verification they are legit and current on licenses.
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 05:46 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.04230 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete