Ajax Profile Comments

Started by The Craw, March 06, 2012, 02:22:44 PM

Previous topic - Next topic

The Craw

This mod is now updated and stored on GitHub. All updates and releases will be committed there, where you can download a zipped package with the latest code.



The latest update automatically links the comment poster's username to their profile, allowing for faster navigation between friend's profiles.

trabacho

#61
Quote from: Jessica. on August 18, 2012, 09:29:29 PM
for some reason I don't understand your edits. for the first step, which one is the one I have to insert?

both, just execute it in console or phpmyadmin. Don't forget to replace the prefix with your table prefix!

Quote from: giovannie_1 on August 29, 2012, 07:32:50 AM
Quote from: Jessica. on March 16, 2012, 04:16:50 PM
when you get a comment, is there a notification? if not, there should be one...though I would like it if it's not by PM or email but instead there's a message in the top of the forum like

1 New Comments

I agree! #2

Look in the Addon i've posted. It does exactly, what you're looking for.

Quote from: ocmdiaz714 on August 27, 2012, 04:21:17 AM
Could you tell me what I'm doing wrong? I get this error when I try to run the first query.

Quote#1146 - Table 'mytable.prefix_profile_comments' doesn't exist

Sure I will answere this:
mytable.prefix_profile_comments

You still don't notice your failure?
Ok, change the prefix to ur used one ;)


I've looked up this post after a long time again and I'm glad to see that The Craw is working at it again.

Umm, before i forget. The Craw if some help is needed, or asks in case of security (protect against sqli lfi rfi csrf xss and so on), as I'm specialised in this you can ask me. Just pm me here, with your jabber id if you want to.


Ah before i end here, a sidekick against the developers of smf (i think i will went into a ticket for this next).
Really you should set the http only boolean always to true AS DEFAULT. Because as yet i have to modfiy it to this settings. And xss is totally dead to http only cookies, the only possibility is to attack with XST scenario. Which is just not as effective as the normal xss scenario.

JFS

I'm experiencing a small bug. Comments can only be seen after posting a comment, and after a page reload the comments are again hidden.



After posting a comment:


JFS


Jessica.

Quote from: The Craw on September 12, 2012, 05:05:08 PM
This mod is now updated and stored on GitHub. All updates and releases will be committed there, where you can download a zipped package with the latest code.


I need to update...can I just replace files to update? or what?


The latest update automatically links the comment poster's username to their profile, allowing for faster navigation between friend's profiles.
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

The Craw

If you click the Zip button at the top left, that will download the code in SMF Mod form. Then it's just as easy as doing any other mod update. Remove the existing package and upload the updated one.

mahmoudgamal

Quote from: The Craw on August 06, 2012, 01:50:07 AM
Quote from: mahmoudgamal on August 05, 2012, 09:19:24 PM
I Got Error Unknown column 'comment_id' in 'field list'
File: /home/a6497166/public_html/Sources/Profile-View.php
Line: 256

i triad to reinstall it 2 times

Most likely you had/have another profile comments mod installed. If it is still installed, try uninstalling that one making sure to also remove its database table by checking "Remove all data associated with this modification." If you've already uninstalled that mod and forgot to remove its database table, open phpmyadmin and run the following query in your SMF database.


DROP TABLE `smf_profile_comments`;


That is of course assuming that your db_prefix is set to "smf_"

Also, you could have saved yourself a heap of time by reading the previous pages of this topic, as this problem has come for a number of people.  ::)
sry for late reply i unstalled it and removed it and i opened phpmyadmin and i dont know what to do next

The Craw

On the left sidebar of PHPMyAdmin, there should be a list of databases associated with your hosting account. Click the one that your forum uses to store information. If you don't know which on that is, there isn't much I can do to help you.

After selecting the forum database, find the icon at the top of the left sidebar that is titled "Query Window" and click that. A text box should pop up. Paste in the following and press "Okay" or "Continue" or whatever is says (I don't use PHPMyAdmin anymore).


DROP TABLE `smf_profile_comments`;


That should remove all data connected to previous profile comment modifications, and allow you to reinstall this one. Good luck.

Kolya

Have the changes by Trabacho ever been integrated?

Matthew K.

My guess is no...but The Craw could answer that better than myself obviously.

The Craw

No, they haven't. I don't have plans to update this mod, and probably never will. Thanks for the interest though. :P

NIAB

Anyway to make it so only the profile owner can post on their profile, and visitors could reply/comment ?

Matthew K.

I do not believe that is implemented currently, it definitely would be in a future version. I am now the one maintaining this modification, as The Craw has moved on.

DeroZ

nice mod, but how can i limit the nomber of comments per page and characters per each comment?

Biology Forums

The graphics are a little bit outdated, but excellent modification, nonetheless.

Matthew K.

Quote from: DeroZ on October 21, 2013, 12:34:20 AM
nice mod, but how can i limit the nomber of comments per page and characters per each comment?
Right now, you aren't able to. If I ever do anything with this, beyond what The Craw did, I would expand the feature set a lot.

Quote from: Liam_michael on May 09, 2014, 05:03:00 PM
The graphics are a little bit outdated, but excellent modification, nonetheless.
I agree.

Sabre™

Although you've left this community "The Craw", I would like to applaud the generous freedom you've allowed with this mod.
It is quite rare 'these days' to see someone who offers their work without attachment, without restraint.

I have only skimmed over your code, but am going to use sections of your .js in my base smf package, and thank you for the leg work, as it allows me to move steadily into other sections.
Although you never asked for it, I would be glad to leave your addition in the 'credits' section.

I found a couple of developers also implementing your code in their paid mods(didn't buy them, just took a peak under the hood), and I'm sure they're thankful for your generosity.

Cheers buddy, where ever you are :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: