View Single Post
  #1 (permalink)  
Old 06-03-2008, 09:56 AM
grusha's Avatar
grusha grusha is online now
Pligg Donor
 
Join Date: Jul 2007
Posts: 225
Create 2 new modules - Top 10 Users Published and Top 10 Users Comments

Instruction !


1) Upload file to folder your_site/templates/your_template/sidebar_modules/
top_users_comments.tpl
top_users_publ.tpl

2) Open file add_language.conf
And copy code
Code:
//<SECTION>EASYNEWS</SECTION><ADDED>0.5</ADDED> 
PLIGG_Visual_EASYNEWS_TOPUSERS_PUBL = "Top Users Published"
//<SECTION>EASYNEWS</SECTION><ADDED>0.5</ADDED> 
PLIGG_Visual_EASYNEWS_TOPUSERS_COMMENTS = "Top Users Comments"
Paste to your lang_english.conf (folder your_site/languages/)

3) Open file sidebar.tpl(folder your_site/templates/your_template/)
And add this code

Code:
{assign var=sidebar_module value="top_users_publ"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

{assign var=sidebar_module value="top_users_comments"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
4) Add in your main.css (folder your_site/templates/your_template/css/)
Code:
#topuser_img img{
vertical-align:middle;
padding:2px;
margin:2px;
}
Demo >>
Attached Files
File Type: zip top_users.zip (1.9 KB, 137 views)

Last edited by grusha; 06-03-2008 at 04:26 PM.
Reply With Quote