Noah's QuickSell Classifieds Themes

Creating website has never been easier !

Advertisement

Date added : Thu, 5 May 2011

Category : Plugins

Author : Ivaylo Ivanov

Views : 1541

Online demo : click

  • Easy to install .
  • Simple & Secure .
  • 100% Themeable .
  • Email Notification .
  • Compatible Noah version - 3.2.0 or higher

Installation

  1. Unzip archive.
  2. Upload all files into current theme folder. Where layout.tpl.php file is. eComment plugin
  3. Edit item_details.tpl.php and paste that line at the bottom.
    <?php include $this->loadTemplate("comments.tpl.php"); /* This includes comments */ ?> eComment plugin
  4. You are done . Now you can template your eComments by editing comments.tpl.php .

Functions

  • com_Enable_TinyMCE() - It will enable TinyMCE for comments.
  • com_Load_Comment($notification) - It will load all comment for certain page in global array.
    • com_Load_Comment(0); - Email Notification disabled.
    • com_Load_Comment(1); - Email notification only for owner of ad/profile`s wall.
    • com_Load_Comment(2); - Email notification for all that participate in conversation.
  • com_Get_Comment_Num() - Return number of comment for certain page.
  • com_Get_URL() - Return Current URL.
  • com_Get_dbPrefix() - Return database prefix, if there is any.
  • com_Get_UserId() - Return current logged user id.
  • com_Get_User_Name(com_Get_UserId()) - Return username
  • com_Get_User_Link(com_Get_UserId()) - Return user page. [John]
  • com_Get_User_Picture(com_Get_UserId()) - Return user picture.

Need a help ?

Just send your ftp details here !