Skip to content

Instantly share code, notes, and snippets.

Mark Lee imarklee

Block or report user

Report or block imarklee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.php
echo "Hello world";
imarklee / gist:9481889
Created Mar 11, 2014
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining ess…
View gist:9481889
// Dispatch emails if necessary
if( $config->get( 'email.pageload' ) )
$cron = Foundry::cron();
// Process cron service here.
if( JRequest::getBool( 'cron' ) == true )
View gist:9994892
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php');
// Assuming that you already have the user's id
$user = Foundry::user($id);
// Generate the permalink of a user
// If you want the & to be replaced to &amp;
imarklee / gist:9994920
Created Apr 5, 2014
Retrieving registration permalink
View gist:9994920
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php');
<a href="<?php echo FRoute::registration();?>"><?php echo JText::_("Register Now!");?></a>
imarklee / gist:9988529
Last active Aug 29, 2015
EasySocial Access Example
View gist:9988529
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php');
// Retrieve current logged in user.
$my = Foundry::user();
// Retrieve @SocialAccess object
$access = $my->getAccess();
imarklee / gist:10022055
Created Apr 7, 2014
Retrieving EasySocial configuration
View gist:10022055
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php');
$config = Foundry::config();
if ($config->get('conversations.enabled')) {
// Do something wonderful here
imarklee / gist:11181619
Created Apr 22, 2014
EasyBlog Caption Responsive
View gist:11181619
#eblog-wrap .easyblog-image-caption {
width: auto !important;
imarklee / gist:11262837
Created Apr 24, 2014
Fix discuss search bar
View gist:11262837
div#discuss-wrapper .discuss-searchbar .discuss-searchbar--right a {
margin-top: 0px !important;
imarklee / gist:11329236
Created Apr 26, 2014
EasyBlog search responsive textbox
View gist:11329236
body .w320 #ezblog-menu .blog-navi #ezblog-search {
width: 100% !important;
imarklee / gist:11352461
Created Apr 27, 2014
CSS Fix for Facebook like buttons in French
View gist:11352461
body #eblog-wrapper span,
body #eblog-wrapper iframe {
width: 150px !important;
You can’t perform that action at this time.