PEAK XOOPS - Comment box in englishin japanese

Comment box

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

none Comment box

msg# 1
Previous post - Next post | Parent - Children.1 | Posted on 2008/5/12 22:32
fer  企霹始   Posts: 1
Hi,

Please help me we that.How I make to show the photo at the same time we make a comment.At this time if we click to make a comment in one photo,apear the box to comment,butdesapear the photo.

I want the both a same time to analize and comment.It's possible?

Sorry my english

Thanks,
Fernando
Votes:2 Average:5.00

none Re: Comment box

msg# 1.1
Previous post - Next post | Parent - No child | Posted on 2008/5/16 10:20
amrasme  企霹始   Posts: 4
open file comment_new.php

remove line from 30 to 39

replace
$lid = empty( $_GET['com_itemid'] ) ? 0 : intval( $_GET['com_itemid'] ) ;
if( $lid > 0 ) {
        $rs = $xoopsDB->query( "SELECT lid , cid, title ,ext FROM $table_photos WHERE lid=$lid" ) ;
        list( $lid , $cid, $title ,$ext ) = $xoopsDB->fetchRow( $rs ) ;

                if ($title != '') {
                        $com_replytext = "<img src='$thumbs_dir/$lid.$ext' />";
                }
                $com_replytitle = $title;
                include_once XOOPS_ROOT_PATH.'/include/comment_new.php';
        } else {
                exit;
        }

Votes:6 Average:5.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!