Follow us on Facebook and Twitter!

cmtx_latest_box2
#1

.zip   cmtx_latest_boxV2.1.zip (Size: 48.4 KB / Downloads: 23) cmtx_latest_box2

Get Latest Comment.looked like GoogleAds.

*This is the version UP version of cmtx_latest_box (Outdated)

Sample1:
Sample2:
Sample3:


PHP Code:
#############################################################
##Title:cmtx_latest_box 
##Author:UTAKA http://commentics.bbfriend.net/
##Description: Get Latest Comment.looked like GoogleAds
##Version: 2.1
## 
## Installation Level: Easy 
## Files To Edit: Page to want to display
##
#
##############################################################
## This was made and tested for commentics version 2.4.
#  http://www.commentics.org/
##Forum
#  http://www.commentics.org/forum/
##############################################################
## Included Files:

  
readme.txt (this file)
  
cmtx_lbox_sample1.php
  comments
      
|- cmtx_latest_box.php
      
|- lineBreak.js

#
##############################################################
## History: 
##   2013-09-03 - Version 2.1
#                Fix For Commentics Ver2.4
##   2011-01-03 - Version 1.1
#       object_tag, javascript ,include
##   2010-12-31 - Version 1.0
###############################################################
#
###---- Get Ajax Code :prototype.js ---------------------
# version 1.7(2011/01)
# prototype.js is  MIT-style license

From  http://www.prototypejs.org/

#
###---- UPLOAD Ajax Code------------------------------


prototype.js  --> comments/prototype.js



#
###---  Setting (necessary)---------------------------
#

 
Open cmtx_latest_box.php , and set your Setting


#
###---- UPLOAD------------------------------------------
#

comments/cmtx_latest_box.php --> comments/cmtx_latest_box.php
comments
/lineBreak.js        --> comments/lineBreak.js

#
###----- TEST --------------------
#
 
http://yourUrl....../comments/cmtx_latest_box.php

#
###----- Write --------------------------------
#
Write to want to display

##--Example1.PHPScriptOnly. 1page=1only.-------

    
<? require_once("./comments/cmtx_latest_box.php"?>

##--Example2.-------

    <iframe src="./comments/cmtx_latest_box.php?like_url='/example3.php'" width="200" height="400" scrolling="no" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0"></iframe>

##--Example3.-------

    <object data="./comments/cmtx_latest_box.php" width="200" height="400" scrolling="no" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" TYPE="text/plain">text</object>

##--Example4.-------

<div id="n1">
<script type="text/javascript" src="comments/prototype.js"></script>
<script type="text/javascript">
<!--
    new Ajax.Updater("n1","../comments/cmtx_latest_box.php",{method: 'get'});
//-->
</script>
</div>




###--- End------------------------------------ 
---------------------------------------------------
Commentics's Japanese Commentary Site
http://commentics.bbfriend.net/
*Sorry...I am not good at English.
---------------------------------------------------
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)