Post Reply 
cmtx_latest_box (Outdated)
31-Dec-2010, 03:57 AM
Post: #1
cmtx_latest_box (Outdated)
Get Latest Comment.looked like GoogleAds.

Sample1:
Sample2:

Code:
#############################################################
##Title:cmtx_latest_box
##Author:UTAKA http://commentics.bbfriend.net/
##Description: Get Latest Comment.looked like GoogleAds
##Version: 1.0
##
## Installation Level: Easy
## Files To Edit: Page to want to display
##
#
##############################################################
## This was made and tested for commentics version 1.2.
#  http://www.commentics.org/
##Forum
#  http://www.commentics.org/forum/
##############################################################
## Included Files:
#
# readme.txt (this file)
# comments
#     |- cmtx_latest_box.php
#     |- lineBreak.js
#
##############################################################
## History:
##
##   2010-12-31 - Version 1.0
###############################################################
#
###---- 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
Example.
    <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>

#
###--- If necessary ---------------------------
#

Open cmtx_latest_box.php , and set your Setting

#
###--- End------------------------------------


Attached File(s)
.zip  cmtx_latest_boxV1.0.zip (Size: 7.34 KB / Downloads: 20)

-----------------------------
Sorry...I am not good at English.
-----------------------------
Visit this user's website Find all posts by this user
Quote this message in a reply
31-Dec-2010, 05:19 AM
Post: #2
RE: cmtx_latest_box
I found it mildly amusing that I had to disable Opera Adsweep in order to view the samples Smile (if you're using Google translate, I hope it translates correctly)
If you want this add-on to appear on the main Commentics site, take a look at this faq: http://www.commentics.org/support/knowle...article=13

I'll take a look at it on my own server. For now, it looks fine, but you might consider using something other than an iframe for several reasons. Namely, the comments won't show up with some extensions, and some people disable iframes altogether. I could help a little with the English files if you might need that help.

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
31-Dec-2010, 07:58 AM
Post: #3
RE: cmtx_latest_box
(31-Dec-2010 05:19 AM)Static Wrote:  but you might consider using something other than an iframe for several reasons.

Quote: <? include(...) ?>
object tag
javascript
SSI (Server Side Include)

include is Easy, but ...Sad
Is there a proposal? I think for a while.

-----------------------------
Sorry...I am not good at English.
-----------------------------
Visit this user's website Find all posts by this user
Quote this message in a reply
31-Dec-2010, 09:09 AM
Post: #4
RE: cmtx_latest_box
The PHP include method should work in most cases. Add a div element around it to help with CSS styling, and you're pretty much good to go.
very rough example:
PHP Code:
<div class="cmtx_latest_box" style="/*Add the css here or in a separate file*/">
<?
php include "/comments/cmtx_latest_box.php"?>
</div> 

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Auto Pages (Outdated) Steven 12 2,754 15-Mar-2011 01:32 PM
Last Post: Steven
  Arbitrary ID (Outdated) Static 18 4,950 20-Jan-2011 02:55 AM
Last Post: Static

Forum Jump:


User(s) browsing this thread: 1 Guest(s)