Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008, 06:14 AM
AnAlienHolakres3's Avatar
Pligg Donor
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
Pligg Team Addon Installation GUIDE & MANUAL

Hello everybody. This tutorial describes installation of PTA (Pligg Team Addon). For more information about Team addon go to http://forums.pligg.com/pligg-tutori...html#post58573

Introduction


Before you integrate PTA into your Pligg site you should know following:

  • PTA is quite big addon with a lot of functionality, do not integrate if you do not know what it is or what it is good for
  • PTA is independent (99%) on Pligg Code, in the other words your actual Pligg functionality should not be affected
  • PTA addon installation requires basic knowledge of php and Pligg
  • PTA requires Pligg version 9.5 or higher, integration between version 9.9 and lower versions is a little different
  • PTA addon requires JQuery javascript library which IS NOT compatible with Javascript Effects Library included in Pligg (Striptaculos,Prototype..). You can not use both of them simultaneously
  • PTA uses custom Simple messaging module, so you will have to enable this module in your admin panel
  • PTA addon use INNODB Mysql Engine. If your provider uses very old version of mysql you cannot install necessary tables
Phase 1 - Preparation
Download team_files.zip. This archive contains all neccessary files to perform successful integration with Pligg. This pack contains not only team files but also a little customized Pligg files (customization is described in next phase). Despite fact packed files are already customized, I highly recommend to read Phase 2.

Phase 2 - Customization
STEP 1
Pligg PHP files:
html1.php
New in: if ($URLMethod ==1) {
Code:
  If ($x == "team") {return my_pligg_base."/team.php";}
        If ($x == "theteam") {return my_pligg_base."/team.php?id=".$var1;}
New in: SetSmartyURLs($main_smarty) {
Code:
    $main_smarty->assign('URL_team', getmyurl("team"));   
    $main_smarty->assign('URL_theteam', getmyurl("theteam"));
Please note:if you are using URL Method 2 do this in URLMethod 2, packed html1.php file is customized for default URL Method !!!

define_tables.php
We need to add reference to new Pligg database tables (tables creation is in phase 3).
Customization:
Code:
<?php
if(!defined('table_prefix')){
    define('table_prefix','');
}
if(!defined('tables_defined')){
    define('table_categories', table_prefix . "categories" );
    define('table_comments', table_prefix . "comments" );
    define('table_friends', table_prefix . "friends" );
    define('table_links', table_prefix . "links" );
    define('table_trackbacks', table_prefix . "trackbacks" );
    define('table_users', table_prefix . "users" );
    define('table_tags', table_prefix . "tags" );
    define('table_votes', table_prefix . "votes" );
    define('table_pageviews', table_prefix . "pageviews" );
    define('table_config', table_prefix . "config" ); 
    define('table_modules', table_prefix . "modules" );
    define('table_messages', table_prefix . "messages" );
    define('table_formulas', table_prefix . "formulas" );
    define('table_saved_links', table_prefix . "saved_links" );
    define('table_totals', table_prefix . "totals" );
    define('table_feeds', table_prefix . "feeds" );
    define('table_feed_import_fields', table_prefix . "feed_import_fields" );
    define('table_feed_link', table_prefix . "feed_link" );
    define('table_misc_data', table_prefix . "misc_data" );
    if(!defined('table_teams')){ define('table_teams', table_prefix . "teams" ); }
 if(!defined('table_tasks')){ define('table_tasks', table_prefix . "tasks" ); }
 if(!defined('table_membership')){ define('table_membership', table_prefix . "membership" ); } 
 if(!defined('table_tasklinkship')){ define('table_tasklinkship', table_prefix . "tasklinkship" ); } 
 if(!defined('table_taskcomments')){ define('table_taskcomments', table_prefix . "taskcomments" ); } 
 if(!defined('table_taskrating')){ define('table_taskrating', table_prefix . "taskrating" ); } 
 if(!defined('table_taskfiles')){ define('table_taskfiles', table_prefix . "taskfiles" ); } 
 if(!defined('table_tasklinkship')){ define('table_tasklinkship', table_prefix . "tasklinkship" ); } 
 if(!defined('table_shoutbox')){ define('table_shoutbox', table_prefix . "shoutbox" ); } 
 if(!defined('table_team_logs')){ define('table_team_logs', table_prefix . "team_logs" ); } 
    define('tables_defined', true);
}
?>

STEP 2

LANGUAGES:
lang_english.conf
We need some basic info about teams in lang_english.conf in languages folder.
New:
Code:
///////////////////TEAMS ADDON START/////////////////////
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Visual_Teams = "Teams"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Visual_Add_Link_To_Team_Task = "Add link to team task"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Visual_Link_Task_Instruct = "Click on tasks you want to connect this link with:"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Visual_Insert_Link_To_Team_Task = "Insert to team task"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Visual_Loading_Wait = "Loading, please wait...."
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Team_Tasklink_Already_Added = "Link is already connected with this task.
"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Team_Tasklink_Error = "ERROR" 
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_No_Team_Tasks_In="You are currently not member of any team which has some tasks"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Shoutbox_No_Text="No text sent!"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Shoutbox_Invalid_User="Not your  ID!"
//<SECTION>TEAMS_ADDON</SECTION><ADDED>1.0</ADDED>
PLIGG_Shoutbox_Invalid_Team="It is not possible to send message to team your are not member."
///////////////////TEAMS ADDON END////////////////////////
Attached Files
File Type: zip team_files.zip (190.0 KB, 14 views)
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org
Reply With Quote
The Following 3 Users Say Thank You to AnAlienHolakres3 For This Useful Post:
  #2 (permalink)  
Old 03-28-2008, 06:33 AM
AnAlienHolakres3's Avatar
Pligg Donor
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
STEP 3
TEMPLATES:
Header.tpl
We need add to header link to teams. I preffer having it the same appearance as published or upcoming.
Customization <div id="cab">:
Code:
<div id="cab">
        <ul>
            {if $pagename eq "upcoming"}
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut4"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
                <li><a href="{$URL_team}" class="navbut3"><span>{#PLIGG_Visual_Teams#}</span></a></li>
            {elseif $pagename eq "published"}
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut4"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
               <li><a href="{$URL_team}" class="navbut3"><span>{#PLIGG_Visual_Teams#}</span></a></li>
            {elseif $pagename eq "submit"}
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut4"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
               <li><a href="{$URL_team}" class="navbut3"><span>{#PLIGG_Visual_Teams#}</span></a></li>
            {elseif $pagename eq "team"}    
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
               <li><a href="{$URL_team}" class="navbut4"><span>{#PLIGG_Visual_Teams#}</span></a></li>
            {else}
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
               <li><a href="{$URL_team}" class="navbut3"><span>{#PLIGG_Visual_Teams#}</span></a></li>    
            {/if}
        </ul>
    </div>
Pligg.tpl
As you read before PTA uses JQuery which is incompatible with Pligg´s Prototype. You can not just turn Pligg Javascript effects down, you need it when you adding or changing categories or some specific values. This issue is solved by condition in this file. Javascript effects are disabled when pagename team or theteam is presented (in this case is used JQuery instead).
We also need to add some information about javascript and css location so customization is following:
1) Header section
customization:
Code:
 { if $pagename eq "team" OR $pagename eq "theteam"}                                                                                  
        <link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/team.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/jquery.tooltip.css" />                                

        {if $require_date eq true}<script src="{$my_pligg_base}/js/calendar.js" type="text/javascript"></script>{/if}
        <script type="text/javascript" src="{$my_pligg_base}/js/jquery-1.2.3.min.js"></script>  
         <script src="{$my_pligg_base}/js/jtip.js" type="text/javascript"></script>  
         <script src="{$my_pligg_base}/js/jquery.tooltip.min.js" type="text/javascript"></script>

        {literal}  <script type="text/javascript">        
                 $(function() {                
                 $(".tooltipblue").tooltip({extraClass:"tipblue"});  
                 $(".tooltipblueL").tooltip({extraClass:"tipblue",left:-180});
                 $(".tooltipgreen").tooltip({extraClass:"tipgreen"});
                 $(".tooltipyellow").tooltip({extraClass:"tipyellow"});
                 $(".tooltipred").tooltip({extraClass:"tipred"});
                 $(".tooltipblack").tooltip({extraClass:"tipblack"});
                 $(".tooltipblackL").tooltip({extraClass:"tipblack",left:-180});
                   });  
         </script>{/literal}
           <script src="{$my_pligg_base}/js/team.js" type="text/javascript"></script>    




                {else}                                                                                
            {checkActionsTpl location="tpl_pligg_pre_title_thickbox"}
        
            {checkForCss}
            {checkForJs}        
        
            {checkActionsTpl location="tpl_pligg_pre_title_lightbox"}
            {/if} 
2) After body tag:
New:
Code:
   <script type="text/javascript" src="{$my_pligg_base}/js/tooltip/wz_tooltip.js"></script>
3) Div customization:
Code:
<div id="contentbox" {if $no_sidebar eq true}style="margin-right:0px"{/if}
Code:
{if $no_sidebar neq true}
                    <div id="sidebar">
                        {if $pagename neq "editor"}{include file=$tpl_right_sidebar.".tpl"}{/if}
                
                    </div><!-- sidebar end -->
                {/if}
link_summary.tpl
As you well know (or maybe should know task can contain links. To create connection between task and link we add to EACH link possibility to connect it with some specific task (of course only for logged in users because only them have authorization to access teams).

new: after $enable_recommend if section (1):
Code:
 {if $link_shakebox_currentuser_reports eq 0 AND $user_logged_in neq ""}
              <img src="{$my_pligg_base}/templates/{$the_template}/images/minitask.png"  style="width:16px;height:16px;margin-bottom:-3px" /><a herf="javavscript://"  style=";color:#858585"
                onclick="tasklink_request('task_load-{$link_shakebox_index}',{$link_id},'<br />{#PLIGG_Visual_Loading_Wait#}<img src=\'{$my_pligg_base}/templates/{$the_template}/images/load.gif\'  style=\'width:16px;height:16px\' />')">{#PLIGG_Visual_Insert_Link_To_Team_Task#}</a>
              {/if}
new: before $enable_recommend if section (2):
Code:
<span id="task_load-{$link_shakebox_index}" style="display:none">
                </span>
No other Pligg template files customization needed.
Please note: If you use different version than Pligg v 0.99 you will have to change path to language file in every TPL files!
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org

Last edited by AnAlienHolakres3; 03-28-2008 at 08:36 AM..
Reply With Quote
The Following User Says Thank You to AnAlienHolakres3 For This Useful Post:
  #3 (permalink)  
Old 03-28-2008, 06:55 AM
AnAlienHolakres3's Avatar
Pligg Donor
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
Phase 3 - DB & Files
In this phase we will copy necessary files and create database tables.

STEP 1:
To create sql tables go to your PHPAdmin panel and run SQL.
Do not forget edit table name and references in case you use table prefix !.

Code:
/*==============================================================*/
/* Table: YOUR_SITE_TEAM                                                */
/*==============================================================*/
create table teams
(
   team_id             int not null AUTO_INCREMENT,
   team_cat_id         int not null,
   team_name           varchar(30) not null unique,
   team_creator_id     int not null,
   team_date        timestamp NOT NULL default '0000-00-00 00:00:00',
   team_last_modify        timestamp NOT NULL default '0000-00-00 00:00:00',
   team_publicity      bool not null,
   team_rating       smallint(2),
   team_objective      varchar(60) not null,
   primary key (team_id)
)ENGINE = INNODB;

/*==============================================================*/
/* Table: YOUR_SITE_TEAM_LOG S                                               */
/*==============================================================*/
create table team_logs
(
  log_id            int not null AUTO_INCREMENT,
  team_id         int not null,
  task_name varchar(40),
  user_name varchar(40),
  saved_name varchar(40),
  info_number int not null,
  info_date  timestamp NOT NULL default '0000-00-00 00:00:00',
  primary key (log_id,team_id),
  index(team_id),
  FOREIGN KEY (team_id) REFERENCES teams (team_id)
  ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE = INNODB;

/*==============================================================*/
/* Table: MEMBERSHIP                                    */
/*==============================================================*/
create table membership
(user_id              int not null,
team_id              int not null,

primary key (user_id,team_id),
INDEX (team_id),
FOREIGN KEY (team_id) REFERENCES teams (team_id)
ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE=INNODB;

/*==============================================================*/
/* Table: YOUR_SITE_TASKS                                                  */
/*==============================================================*/
create table tasks
(
   task_id              int not null AUTO_INCREMENT,
   task_deadline  date not null,
   task_date timestamp NOT NULL default '0000-00-00 00:00:00',
   task_last_modify        timestamp NOT NULL default '0000-00-00 00:00:00',
   task_team_id        int not null ,
   task_name            varchar(30) not null,
   task_description     varchar(450) not null,
   task_worker_id       int not null,
   task_completeness    float,   
   primary key (task_id,task_team_id),
  INDEX (task_team_id,task_worker_id),
 FOREIGN KEY (task_team_id) REFERENCES teams (team_id) ON DELETE CASCADE ON UPDATE CASCADE,
 FOREIGN KEY (task_worker_id) REFERENCES membership (user_id) ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE = INNODB;




 


drop table if exists taskfiles;
/*==============================================================*/
/* Table: TASKFILES*/
/*==============================================================*/
create table taskfiles
 (
taskfile_id          int not null AUTO_INCREMENT,
taskfile_team_id int not null,
taskfile_task_id        int not null,
taskfile_downloads        int not null,
taskfile_revision int not null,
taskfile_date timestamp NOT NULL default '0000-00-00 00:00:00',
taskfile_name varchar(255) not null,
taskfile_content mediumblob not null,
taskfile_size int not null,
primary key (taskfile_id,taskfile_team_id,taskfile_task_id),
INDEX(taskfile_team_id,taskfile_task_id),
FOREIGN KEY (taskfile_team_id) REFERENCES teams(team_id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (taskfile_task_id) REFERENCES tasks(task_id) ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE=INNODB;

drop table if exists tasklinkship;
/*==============================================================*/
/* Table: TASKLINKSHIP*/
/*==============================================================*/
create table tasklinkship
(

 link_id              int not null,
 task_id        int not null,
 team_id int not null,
 user_id int not null,
primary key (link_id,task_id,team_id),
INDEX (task_id,team_id,user_id),
FOREIGN KEY (team_id) REFERENCES teams(team_id)
ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (task_id) REFERENCES tasks(task_id)
ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE=INNODB;

drop table if exists taskcomments;


/*==============================================================*/
/* Table: TASKCOMMENT*/
/*==============================================================*/
create table taskcomments
(
 taskcomment_id              int not null AUTO_INCREMENT,
taskcomment_content              varchar(450) not null,
 taskcomment_date timestamp NOT NULL default '0000-00-00 00:00:00',
taskcomment_task_id        int not null,
taskcomment_team_id        int not null,
taskcomment_creator_id   int not null,
primary key (taskcomment_id,taskcomment_task_id,taskcomment_team_id),
INDEX(taskcomment_task_id,taskcomment_team_id), 
FOREIGN KEY (taskcomment_team_id) REFERENCES teams(team_id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (taskcomment_task_id) REFERENCES tasks(task_id) ON DELETE CASCADE ON UPDATE CASCADE
)ENGINE=INNODB;

/*==============================================================*/
/* Table: TASKRATING*/
/*==============================================================*/
create table taskrating
(
user_id              int not null,
task_id int not null,
team_id int not null,
taskrating_value              int not null,
primary key (user_id,task_id,team_id),
INDEX (team_id,task_id),
FOREIGN KEY (team_id) REFERENCES teams(team_id)
ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (task_id) REFERENCES tasks(task_id)
ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=INNODB;



/*==============================================================*/
/* Table: SHOUTBOX*/
/*==============================================================*/
create table shoutbox
(
shoutbox_id             int not null AUTO_INCREMENT,
team_id int not null,
setup_date timestamp NOT NULL default '0000-00-00 00:00:00',
creator_id int not null,
message             varchar (512) not null,
primary key (shoutbox_id),
INDEX (team_id),
FOREIGN KEY (team_id) REFERENCES teams(team_id)
ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=INNODB;
STEP 2:
1) Copy files from team_libs.zip in your /pligg/libs folder. Please note if you have Pligg v 0.99 language files (.conf) are supposed to be in /pligg/languages folder.

2) Copy files from team_templates.zip to /pligg/teamplates/teamplate folder
3) Copy files from team_images.zip to /pligg/teamples/images folder
4) Copy files from team_css.zip to /pligg/teamples/css folder
5) Copy files from team_js.zip to /pligg/js folder
6) Copy files from team_root.zip to your pligg root folder
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org

Last edited by AnAlienHolakres3; 04-01-2008 at 08:59 AM..
Reply With Quote
The Following User Says Thank You to AnAlienHolakres3 For This Useful Post:
  #4 (permalink)  
Old 03-28-2008, 07:50 AM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
this is finish and working?
__________________
www.cubaleo.net
Reply With Quote
  #5 (permalink)  
Old 03-28-2008, 07:54 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,071
Thanks: 53
Thanked 25 Times in 23 Posts
Information can be found here, as stated above: http://forums.pligg.com/pligg-tutori...-tutorial.html

I´m looking forward to install it into my v9.5 system over the weekend.
Reply With Quote
  #6 (permalink)  
Old 03-28-2008, 04:30 PM
AnAlienHolakres3's Avatar
Pligg Donor
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
Quote:
Originally Posted by lacasuela View Post
this is finish and working?
Yes it is
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org
Reply With Quote
  #7 (permalink)  
Old 04-01-2008, 04:10 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,071
Thanks: 53
Thanked 25 Times in 23 Posts
I get a PhpMyAdmin error message '#1005 - Can't create table './pligg_team_logs.frm' (errno: 150) '.

What does that mean? pligg_teams has been created.
Reply With Quote
  #8 (permalink)  
Old 04-01-2008, 04:14 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,071
Thanks: 53
Thanked 25 Times in 23 Posts
Got it: It´s not only CREATE TABLE and DROP TABLE you have to take care of, it´s also REFERENCES.
Reply With Quote
  #9 (permalink)  
Old 04-01-2008, 05:33 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,071
Thanks: 53
Thanked 25 Times in 23 Posts
I´ve tried with version 9.5 and I experience the following:

- I have two sidebars:
The "right one" starts now at the upper right corner, i.e. the menu bars are left of the sidebars. Below the menu bars the space is shared between the stories and a second sidebar.

- If I click on the tab Teams I get 'Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /libs/team.php on line 16'



Here is what I did in addition or as a comment to your instructions:

- In html1.php I´ve added the code to the lower if (arround line 385)

- define_tables.php as of version 9.5 doesn´t have define('tables_defined', true);

- lang_english.conf is lang.conf at version 9.5 (afaik up to 9.8.2)

- In header.tpl I`ve assumed that the black code in the middle (2nd and 3rd <li>) is also new
Code:
   {elseif $pagename eq "team"}    
                <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
                <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
                <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
               <li><a href="{$URL_team}" class="navbut4"><span>{#PLIGG_Visual_Teams#}</span></a></li>
- In link_summary.tpl I´ve placed the code arround lines 260 (if #1) and 300 (if #2)

- I´ve prefixed db tables as stated above

- I´ve unzipped the inner and outer team file folders and copied the files to the corresponding pligg folders (Does team_templates belong to templates or yget? I´ve copied the files into both folders.)
Reply With Quote
The Following User Says Thank You to tbones For This Useful Post:
  #10 (permalink)  
Old 04-01-2008, 08:54 AM
AnAlienHolakres3's Avatar
Pligg Donor
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Thanks: 7
Thanked 112 Times in 40 Posts
Send a message via ICQ to AnAlienHolakres3
1) team teamplates belong to yget folder
2) problem with database tables - there must be problem with define_tables.php
3) check what is on line 16 but i think it should be ok, have you checked if you had copied team.php from team_libs archive to libs folder (not from root)?

If you have Two sidebars just delete one of them (i would try to do it in Pligg.tpl file where the problem is).
Thank you for the report.
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Step By Step Installation Guide for Pligg CMS wildcks Installation and Upgrade Help 2 09-02-2008 09:34 AM
Pligg integration with SMF Forum autoinc Modification Tutorials 64 05-19-2008 02:22 AM
Pligg Team ADDON Tutorial AnAlienHolakres3 Modification Tutorials 6 03-25-2008 06:55 AM


Search Engine Friendly URLs by vBSEO 3.2.0