|
|
Viewing Topic: Comment
Scripts,
display
Multiple |
achardrys |
Subject: "Comment
Scripts,
display
Multiple"
Posted: @ 11:41 pm on Apr 30 2008 |
|
|
Member #: 677 Rank: User - (4) Since: 04/30/08 Posts: 4
|
My website has
a member
community part
of it, and I
want to embed
the comment
script created
by bs0d onto
each profile.
How I would do
that is by
using Code:
<?
include("c
omment.php"
 ;
?>
onto it, but I
each profile to
get one. Each
user has their
own user_id,
and that's what
I would like
the
"comment
page id"
or whatever you
call it, to be.
Is there a code
I could add to
the Code:
<?
include("c
omment.php"
 ;
?>
like
" Code:
<?
include("c
omment.php"
 ;
$comment_id=394
2;?> ",
something like
that?
Thanks!! Edited at 11:45:53 pm on 04/30/08
|
Viewed: 7,822 Times | |  |
achardrys |
Subject: "re: Comment
Scripts,
display
Multip..."
Posted: @ 12:04 am on May 01 2008
|
|
|
Member #: 677 Rank: User - (4) Since: 04/30/08 Posts: 4
|
also, it
deletes each
comment like
after 5 minutes
or somethin...
why?
|
Viewed: 7,813 Times | |  |
achardrys |
Subject: "re: Comment
Scripts,
display
Multip..."
Posted: @ 12:04 am on May 01 2008
|
|
|
Member #: 677 Rank: User - (4) Since: 04/30/08 Posts: 4
|
Ohh.. now i
see, sorry im
talking to
myself...
It doesn't
delete, but it
doesn't show
if I don't
have a
".php&qu
ot; extension
after it..
because i made
the comment on
it when it had
the extension
".php&qu
ot;
is there a way
to grab the
comments
whether the url
is
"myprofil
e.php" or
"myprofil
e"

|
Viewed: 7,810 Times | |  |
bs0d |
Subject: "re: Comment
Scripts,
display
Multip..."
Posted: @ 12:49 am on May 01 2008
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
You could check
if .php is the
last 4
characters of
the requested
URL; and if
it's not, add
it. Or, if it
is, remove it-
however you
want. Then
proceed with
your query.
Say you have a
members.php
script, just
include it at
the bottom.
Comments will
be unique to
each member
because
comments are
queried based
on the URL.
|
Viewed: 7,807 Times | |  |
achardrys |
Subject: "re: Comment
Scripts,
display
Multip..."
Posted: @ 11:27 pm on May 01 2008
|
|
|
Member #: 677 Rank: User - (4) Since: 04/30/08 Posts: 4
|
Yeah but see I
have a
community that
I want comments
for profile
pages.
If someone does
www.mydomain.co
m/users/achardr
ys/
www.mydomain.co
m/users/achardr
ys/index
www.mydomain.co
m/users/achardr
ys/index.php
u.mydomain.com/
achardrys/index
.php
users/mydomain.
com/achardrys/i
ndex
and so on, the
comments would
not display. is
there another
way I could
just put in a
Page ID
manually in the
PHP include?
|
Viewed: 7,783 Times | |  |
Viewing Page: 1 of 1 |
|
|
|