This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="http://www.cloudvps.com" target="_blank" ><img height="33" src="http://www.cloudvps.com/files/styleguide/badge_availability.png" width="323" border="0" /></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if in_group('1|7|8')} | |
<p><q>You shall not p... oh, you passed.</q></p> | |
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /system/expressionengine/libraries/Template.php (line 3030) | |
// Member Group in_group('1') function, Super Secret! Shhhhh! | |
if (preg_match_all("/in_group\(([^\)]+)\)/", $str, $matches)) | |
{ | |
$groups = (is_array($this->EE->session->userdata['group_id'])) ? $this->EE->session->userdata['group_id'] : array($this->EE->session->userdata['group_id']); | |
for($i=0, $s=count($matches[0]); $i < $s; ++$i) | |
{ | |
$check = explode('|', str_replace(array('"', "'"), '', $matches[1][$i])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if logged_in_member_group == 1} | |
// Show something super secret only VIP member are allowed to see. | |
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($this->EE->extensions->active_hook('your_module_hook') === TRUE) | |
{ | |
$edata = $this->EE->extensions->universal_call('your_module_hook', $this, $param1, $param2); | |
if ($this->EE->extensions->end_script === TRUE) return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shortName, version, displayName, maxSize; | |
$(function() { | |
init(); | |
alert(shortName); | |
}); | |
function init() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shortName, version, displayName, maxSize; | |
$(function() { | |
shortName = 'bla'; | |
version = '1.0'; | |
displayName = 'Bla'; | |
maxSize = 5000; | |
move_on(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shortName = ''; | |
var version = '0'; | |
var displayName = ''; | |
var maxSize = 0; | |
$(function() { | |
shortName = 'bla'; | |
version = 5; | |
displayName = 'Bla'; |