Gautam (@gautam-gupta)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 70 total)

  • Gautam
    Member

    @gautam-gupta

    @bingsterloot

    It’s not. No IRC meetups since 2 weeks, no looking upon the tickets in the trac, no major commits in the past recent days!


    Gautam
    Member

    @gautam-gupta

    Here is a patch posted by me to mass-delete users, you may use it – https://trac.bbpress.org/ticket/1202


    Gautam
    Member

    @gautam-gupta

    There are many bots like this (made in VB, etc.) which stops when they see a captcha (or math problem or a clickcha), waits for the user to enter/click that and then it does the rest. A more reliable way to be to install Project Honey Pot for bbPress plugin by Ben (though that also blocks the admin sometimes).

    In reply to: BBPM Translation

    Gautam
    Member

    @gautam-gupta

    I have also written a short tutorial here on how to do this – http://gaut.am/translating-wordpress-or-bbpress-plugins/


    Gautam
    Member

    @gautam-gupta

    Nico!


    Gautam
    Member

    @gautam-gupta

    Make sure all files (especially bb-includes & bb-includes/backpress files) are uploaded.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    @kevinjohngallagher

    The code you wrote would make the script echo all the usernames in the source code. Think if there are hundreds of usernames or a user database like that of wordpress, which has thousands of usernames, will you echo all of them? And try to match each of that with javascript!?

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    The plugin is now released – https://bbpress.org/plugins/topic/easy-mentions/

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    @kevinjohngallagher

    I am using javascript to only generate the @<user-link><user-name> in the post textbox when the user clicks the reply link below each post.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    @kevinjohngallagher

    Ok, so now I am adding a Reply link below each post (via jQuery). When the user clicks the link, it scrolls down to postform, with @<post-link><user-name> in text.

    But there’s another hurdle in this – post form is only displayed on the last page, so I’ll just make an option to show reply link, and tell the users how they can show post form on all pages.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    Replying to kevinjohngallagher’s post (which again went in spam):

    Let me put it this way, and outside of your plugin (which is excellent), why would someone need a link to a profile page from inside MY post, when there is a link to it one post up on your post. It serves, very little actual purpose. Anyway, that’s my PM/BA head coming out again, and that’s not liked here. Sorry.

    When Michael R said he was looking for something “like Twitter”. In this instance, it looks like twitter but acts differently (because on twitter your profile page is also the page you posted on). That’s just going to confuse the users, as the “@bob” was invented to allow people to follow conversations back the way.

    1) There is a space in the display name of Michael R, not the username – it is michael888 (though it doesnt mean that a bb username cant have spaces)

    2) I have already said that a single user can post multiple posts, so there is nothing that this plugin can interfere in. (Or you give a solution, if you have one)

    It has the potential to be a massive overhead. Again, highly unlikely, but what if someone added a spam post with just hundreds of “@bob a a @bob a b @bob a c”. I know its small stuff, but that’s 9sql queries right there. We’re really opening up the potential for someone to make a single post take 100s of SQL queries.

    There is no absolute solution for the space problem. Already, almost all sites don’t accept it (space in username), so almost all the people on net prefer taking usernames without spaces. Even if I put the code to match the spaces, then it might overload the server with so many requests.

    Update: I don’t prefer exploding the text with @ and space, that would have a huge long process…

    There is no necessity for spaces.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    Replying to kevinjohngallagher’s post (maybe its in spam, but I got an email notification as I am subscribed to topic):

    1) Making “@” links is cool, and very “twitter generation”, even if its not something that’s totally globalised yet. But the “@” link is not pointing at what you’re replying to. We’re faking the functionality without the reasoning, which in the end will just confuse users.

    On Twitter, you post on your profile page. People read it on their feed, and reply on their own Profile page. So a link to “@kev” goes to the page where “kev” has written his post. That’s the point of it, to link to someone’s post.

    Here, we’re making the link “@kev” go to “/profiles/kev/” for the user to not see the post. That’s exactly the opposite of the purpose of the “‘@” linking system :)

    –> That’s basically the work of a reply plugin, not of a mentioning plugin. I also have future plans with the plugin like linking #tag, etc. Even if I do something like that which you have mentioned, then a single user can make multiple posts, then which post will the plugin link to?

    2) The other issue is that Twitter names don’t have spaces, while BBpress / wordpress names can. So if i write “@Michael R Thanks for your reply”, how does the plugin know where the username ends? What if it finds a “michael” in the usertable, it will then link “@Michael” to “/profiles/michael/” and the message will read “R Thanks for your reply”. In Twitter, it parses at the first space; but we can’t do that here.

    Oh that will also involve looping through queries until you find a match, so first for Michael, then for Michael R, then for Michael R Thanks etc. Ofcourse there could/should be a word/search limit – either way there is huge potential for database issues there. Imagine adding up to 5 sql searches, per “@” per post, per page load.

    The initial solution, and i suppose this is for Gautam, is to make a search of the user table for all users who have posted on the topic being replied to, which should narrow it down considerably, though it should be noted that if you have “Michael” and “Michael R”, or any similar naming issues, the plugin will not know that…

    –> That can’t be helped. The plugin first checks if that username exists, if not, then checks if that nicename exists. This will be also mentioned on the plugin page.

    3) You are effectively allowing a user to search your database for anything you put after your “@” symbol. Now this one is a little bit of scaremongering, but we’ve all seen bad coding before. What if I write “@drop table wp_usermeta hi bob, how much fun would this be :)“. There is a reason that we try to make sure we don’t take database queries from the user.

    –> 1) This is what is used to match the username – /[@]+([A-Za-z0-9-_]+)/, so there is no point of mysql commands going in there.

    If you want to test the plugin (how it works), you are free to use this as sandbox – http://forum.gaut.am/

    I have made some posts to test the plugin here.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    Ok, the plugin is ready. Just waiting for it to get approved.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    I have named it Easy Mentions.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    Currently it adds an option in the admin panel to let the admin choose whether to link the users to the profile page or to their website (if website doesn’t exist, then they’re linked to profile page), and it filters each post for all @username, if the username exists, then it links it.

    In reply to: @ links (mentions)

    Gautam
    Member

    @gautam-gupta

    I am currently in the process of writing a plugin for it.

    In reply to: Thanks plugin

    Gautam
    Member

    @gautam-gupta

    I had actually created this sort of plugin once for a forum, but didn’t release it publicly. When I get time, I might extract out that part and release it.

    Edit – If Paul doesn’t do it first :P


    Gautam
    Member

    @gautam-gupta

    :-)


    Gautam
    Member

    @gautam-gupta

    Use the htaccess bundled with the plugin. The source can also be found here – http://www.technospot.net/blogs/how-to-remove-forum-and-topic-keyword-from-bbpress-url/


    Gautam
    Member

    @gautam-gupta

    No…


    Gautam
    Member

    @gautam-gupta

    @Sam

    Why don’t you attend a meetup on wednesday on IRC and put forward the point of the new design? I really love that one and also tried to copy some bit of it.


    Gautam
    Member

    @gautam-gupta

    When you upload an image, you see it at the bottom of the post.

    In reply to: trunk or 0.9?

    Gautam
    Member

    @gautam-gupta

    IMO, the trunk is almost stable and can be installed on a live website.


    Gautam
    Member

    @gautam-gupta

    I think that’s the cache stored on your forums.


    Gautam
    Member

    @gautam-gupta

    I was working on a plugin, which adds a filter to the delete class and then check if the post is by topic author/mod/admin, but then stopped working on it. I’m thinking to complete that plugin soon.

Viewing 25 replies - 26 through 50 (of 70 total)