A while back the developers setup a store where members could purchase modules and templates, this was to help the team with costs. While I have no issue with Pligg selling modules, I do have an issue with them selling modules that have no business being sold.
Some of the modules are worth the price, and if you have a few bucks, are worth the investment. But there are countless that are simply there to get newbies to part with their cash and nothing more.
I will talk about a couple here and will show you how to have the features they are selling for FREE.
Module Name: Latest User Welcome Bot
Price: $9.99
This little module, and it’s little, is a good addition to your Pligg install as it adds a little interactivity with your members especially new ones. Is it worth $9.99, no. Here’s how to do it for free.
Open index.php, find:
$main_smarty = do_sidebar($main_smarty);
after, add:
// last person to register
$sql = "SELECT user_login FROM " . table_users . " ORDER BY user_id DESC LIMIT 1";
$last_user = $db->get_var($sql);
$main_smarty->assign(‘last_user’, $last_user);
Save. Open index_center.tpl, find:
That’s it, you can style it to fit your needs.
Module Name: Top Members Sidebar Module
Price: $8.97
Here’s another could addition to any Pligg install, but again, it’s another one that you do not need to pay for. Here’s how to accomplish this for free.
Open sidebar.tpl and add the following where you want it to appear:
<div class="headline">Top users</div>
<ul>
{php}
global $db;
$sql="SELECT * from " . table_users . " order by user_karma desc limit 0,10";
$result = @mysql_query ($sql);
$rowCount = 0;
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
$uname=$row['user_login'];
$ukarma=$row['user_karma'];
if (($rowCount++)%2 == 0)
echo "<li><img src=’". get_avatar(’small’, "", "$uname","","")."’ class=’align-middle’/> <a href=’" . getmyurl(‘user2′, $uname, ‘profile’) . "’>$uname</a> $ukarma</li>";
else
echo "<li><img src=’". get_avatar(’small’, "", "$uname","","")."’ class=’align-middle’ alt=’Avatar’ /> <a href=’" . getmyurl(‘user2′, $uname, ‘profile’) . "’>$uname</a> $ukarma</li>";
}
{/php}
</ul>
Module name: Quick Submit Module:
Price: $8.99
This little module makes it easy for your members to submit by displaying a form that the user can put a URL in and a submit button, it then takes them to step 2 of the submission process.
Open index_center.tpl, at the top add the following:
{if $user_authenticated eq true}
<blockquote><blockquote>
<form action="{$URL_submit}?url=" method="GET" id="thisform">
<input type="text" name="url" id="url" value="Quick Submit URL" size="55" />
<input type="hidden" name="phase" value=1/>
<input type="hidden" name="randkey" value="{$submit_rand}"/>
<input type="hidden" name="id" value="c_1"/>
<input type="submit" value="{#PLIGG_Visual_Submit1_Continue#}"
class="submit-s" />
</form>
</blockquote> </blockquote>
{/if}
Module name: Google Analytics for Pligg
Price: $6.97
This module is intended to add code for Google Analytics to every page of your Pligg install. However, you do not need a module for this, you simply need to add the code to your footer.tpl file.
Open footer.tpl, find:
{* Please do not edit the code below. *}
{checkActionsTpl location="tpl_footer"}
above it, add:
{literal}<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src=’" + gaJsHost + "google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4370044-4");
pageTracker._trackPageview();
} catch(err) {}</script>{/literal}
Simply grab the javascript code from your Google Analytics panel and replace the one above.
There are others that I will post about later, but, before you spend money on a module, make sure you know what your getting and that it is actually owrth paying for.
Is there a module you are looking for? Let us know below.






