4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2014, 08:01:19 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  Reply to Comments / Nested Comments
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Reply to Comments / Nested Comments  (Read 1081 times)
zhono
Jr. Member
**
Offline Offline

Posts: 52

Thank You
-Given: 3
-Receive: 9


View Profile
« on: January 16, 2013, 11:17:42 AM »

Is there a mod out there to do this? I'd like for a user to be able to hit a "Reply" button on any comment, to respond to it. The new comment would then appear under the first one as a response.

So it would be kind of like this:

-Mike
-Good photo.

-Joe
-Love this image
----Lisa
----Thanks, it's mine.
--------Joe
--------Well, good job then.

-Jay
-*troll* *troll* *troll*

-Jay
-I hate this image, it's ugly!
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 3980

Thank You
-Given: 99
-Receive: 833

Vienna


View Profile WWW
« Reply #1 on: January 16, 2013, 01:25:43 PM »

http://www.4homepages.de/forum/index.php?topic=29664.0

mfg Andi
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
zhono
Jr. Member
**
Offline Offline

Posts: 52

Thank You
-Given: 3
-Receive: 9


View Profile
« Reply #2 on: January 16, 2013, 10:25:25 PM »

Thanks for the reply.

I've tried your quote mod, but it doesn't do what I'm looking for. I don't actually need to quote the comment, but when I reply to a comment, I want the entire comment to be show under the comment that was replied to, instead of at the bottom. Is there a way I can make your mod do that? Your mod doesn't change anything in the database, and I'm pretty sure there would need to be something to mark a comment as regular or reply, so it can be rendered differently.

Of course I'm probably wrong, and I just don't understand how to make it work.

*EDIT* Basically, I'm rebuilding my template. My HTML for the comments section looks like in the attached image. I'm trying to figure out how to get the comments to render out in that way.


*EDIT2* Nevermind. Took a while, but I managed to code it myself, using your mod as an example. Mods, feel free to delete this thread.

* comments.jpg (263.75 KB - downloaded 6 times.)
« Last Edit: January 17, 2013, 06:45:23 AM by zhono » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
piqs.de - Fotocommunity & lizenzfreie Fotos
Page created in 0.212 seconds with 20 queries.
Post your comments here