PDA

View Full Version : hiding CODE from unlicensed users as mod


voter
07-26-2009, 02:41 PM
Why vbulletin.org not releasing his modification that hides CODE, PHP bbcodes from unlicensed/unregistered users?

Marco van Herwaarden
07-26-2009, 02:46 PM
That code would be useless to anyone else, as others do not have access to the license database.

James Birkett
07-26-2009, 02:54 PM
You don't need a modification to do this, a simple if statement works.
<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 :rolleyes:

voter
07-26-2009, 03:06 PM
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 1248624492 at 1248624492 ---------------

You don't need a modification to do this, a simple if statement works.
<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 :rolleyes:
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...

Dismounted
07-27-2009, 06:06 AM
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.

Marco van Herwaarden
07-27-2009, 06:20 AM
The license check is not a stand alone product and it created specifically for vB.org. This will not be released.

voter
08-04-2009, 07:44 AM
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?

Charlie98902
08-05-2009, 11:51 AM
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.