Adding a ‘Moderated’ Option to Pligg 1.2.2 Story Administration

If you’re running either the Story Moderation Module or Spam Trigger Module or both, you might want to add this code to your admin panel to provide a story moderation option to the ‘story types’ drop down.

FTP into your Pligg directory and Navigate to templates/admin/admin_links_center.tpl. If you haven’t already, make sure to save all your admin template files. Open admin_links_center.tpl with your editor and navigate down until you find this line:

{#PLIGG_Visual_AdminPanel_Spam#}</option>

Insert a couple blank lines under that then add the below code

// Begin Code to Add 'moderated' as an option to the story management drop down menu by JHawkin //

	<option value="moderated" {if $templatelite.get.filter == "moderated"} selected="selected" {/if}>Moderated</option>

// End Code to Add 'moderated' as an option to the story management drop down menu by JHawkin//

Save the file back and visit the site to make sure everything including your new file works.