Your Ad Here

Home | Karma2 Forums | Karma2 Downloads | Contact

  Home

The Karma2 Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:jomcomment integration (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:jomcomment integration
#59
dfdsfasd (Visitor)
Click here to see the profile of this user
Birthdate:
Re:jomcomment integration 1 Year, 2 Months ago  
MindArchr wrote:
MindArchr wrote:
Here's an alternative in case the above does not work:

On line 306, where it shows:
Code: :

 function ajaxAddComment($xajaxArgs) {

right under *Add a new comment

add the following:
Code: :

  global $mainframe,$my;                 require_once( $mainframe->getCfg('absolute_path') . '/components/com_karma/karma.class.php');                 $points CLASS_karma::getConfig("Custom3");                 CLASS_karma::addPoints($my->id5"Posted A Comment");



so that it displays like:
Code: :

  /**          * Add a new comment          */         function ajaxAddComment($xajaxArgs) {                 global $mainframe,$my;                 require_once( $mainframe->getCfg('absolute_path') . '/components/com_karma/karma.class.php');                 $points CLASS_karma::getConfig("Custom3");                 CLASS_karma::addPoints($my->id5"Posted A Comment");                 error_reporting(E_ALL);                 global $_JC_CONFIG$mainframe;                                  $this->cms->load('libraries','user');                 $this->cms->load('libraries''input');



Again, this is only an alternative method if the above one does not work. This is for JomComment version 2.2 Build 536 and these changes can be implemented in the same file (main.jomcomment.php)
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
      Topics Author Date
    thread link
jomcomment integration
implicateorder 2008/11/24 11:17
    thread link
thread linkthread link Re:jomcomment integration
MindArchr 2008/11/24 16:41
    thread link
thread linkthread linkthread link Re:jomcomment integration
dfdsfasd 2009/07/01 13:40
Go to top Post Reply
Powered by FireBoard



Warning: fopen(/home/review7/public_html/www1/test/components/com_sef/cache/shCacheContent.php) [function.fopen]: failed to open stream: Permission denied in /home/review7/public_html/www1/test/components/com_sef/shCache.php on line 108