Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorPol
    • CommentTimeNov 23rd 2006
     # 1
    I'm working on a new addon called User Wall. It adds a space to every user's profile where any user can post a public comment. This is similar to the "Wall" feature on Facebook or the "Comments" feature on MySpace. It's a fun feature for communities.

    I've uploaded Beta 1. I'm calling it a beta, but it may be more of an alpha, because some features are still missing, and it's not really ready for use on a public forum. But I believe in "release early, release often", and I'm posting this to get early feedback, such as bug reports, feature requests, and interface style suggestions, from those who like to test new addons.

    Stuff that I know is missing and that I'll be adding:
    * Pagination. Currently, all comments are displayed on the user's profile page; that could get messy, so I'm going to have it paginate discussion-style. The default will be 5 comments per page, I think.
    * Customizability. The user will be given an option to disable their wall.
    * Notifications. Users will have the option to receive email notifications of new wall comments.
    •  
      CommentAuthorMark
    • CommentTimeNov 23rd 2006
     # 2
    Cool!
    •  
      CommentAuthorTex
    • CommentTimeNov 23rd 2006
     # 3
    I like the idea. It should contribute positively to a community. Nice!
    •  
      CommentAuthor3stripe
    • CommentTimeNov 23rd 2006 edited
     # 4
    Nice nice nice. Testing right now.
    •  
      CommentAuthor3stripe
    • CommentTimeNov 23rd 2006 edited
     # 5
    Just tried to install:

    Error Message
    Could not create User Wall table
    Affected Elements
    UserWall.undefined();

    The error occurred on or near: Incorrect table definition; there can be only one auto column and it must be defined as a key


    I'm on Dreamhost running PHP 4.4.2 and MySQL 5.0.24a.
    •  
      CommentAuthorMark
    • CommentTimeNov 23rd 2006
     # 6
    Sounds like a mysql version conflict. What version of mysql are you using, Pol & 3stripe?
    •  
      CommentAuthor3stripe
    • CommentTimeNov 23rd 2006
     # 7
    ^ Just edited my post. Too quick for me!
    • CommentAuthorPolo
    • CommentTimeNov 23rd 2006
     # 8
    Nice, but when I enabled the extension it gave me an error message:
    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message
    Could not create User Wall table
    Affected Elements
    UserWall.undefined();
    The error occurred on or near: Incorrect table definition; There can only be one auto column and it must be defined as a key
    •  
      CommentAuthorPol
    • CommentTimeNov 23rd 2006 edited
     # 9
    D'oh, completely my fault. Sorry.

    I uploaded Beta 2 which should fix this. Alternately, you can edit userwall-mysql.sql and change the second line from:
    `WallCommentID` int(8) NOT NULL auto_increment,
    To:
    `WallCommentID` int(8) NOT NULL auto_increment PRIMARY KEY,
    That's the only change, so you don't need to redownload it if you'd rather change it manually.

    Beta 3, which adds proper pagination, is coming soon.
    •  
      CommentAuthor3stripe
    • CommentTimeNov 24th 2006 edited
     # 10
    Cheers for the fix! Working nicely now.

    I'd love to see:

    * User authentication (at the moment you don't have to be logged in to write something, as you prob know already)
    * "Edit" option for the owner of the wall as well as "Delete"
    * Option to include people's icon on the left of the comment, as per a normal discussion
    * Option to allow html, textile or other formatting (dangerous?)
    * Option to hide ips

    Erm that's it for now...
    •  
      CommentAuthorPol
    • CommentTimeNov 24th 2006 edited
     # 11
    I'm glad it's working now, and thanks for the suggestions, 3stripe. :)

    I'll change it so that it only shows the IP address if the IpHistory extension is installed. I had that installed on mine, and I had forgotten it wasn't the default behaviour.

    The authentication thing was an oversight; that'll also be corrected in the next version. User icons also will.

    I'm not sure about adding formatting; I don't want to overcomplicate it. I want people to just be able to click on the button, type something, and have it posted. I had considered it, but decided to leave it out for now. Maybe I'll see what other people think.

    Currently an issue with the PageList class is holding the next version up. I'm working on resolving it with Mark.
    •  
      CommentAuthor3stripe
    • CommentTimeNov 24th 2006
     # 12
    Sounds good to me.

    I know what you mean about keeping it simple. Hmmm... actually allowing formatting might encourage people to use it in the wrong way (a la myspace) and post up tons of links and cruddy images... maybe not such a good idea after all!
  1.  # 13
    Would it be possible to have an admin setting to turn on other formatting options *if the formatter was already installed*?
    •  
      CommentAuthor3stripe
    • CommentTimeNov 24th 2006
     # 14
    Also if the owner of a wall posts a comment, it should have a different style attached to it so it looks a wee bit different from the other comments.
    •  
      CommentAuthorPol
    • CommentTimeNov 24th 2006
     # 15
    Maybe, but there'd be no real need for a user to comment on their own wall. The standard way to respond to a wall comment is to comment on the poster's wall. (A future version will add "Reply" links if you're viewing your own wall, which would take you straight to the comment form for that person.)

    I'm thinking it'll also have a "Wall-to-Wall" feature like Facebook, so you can follow a cross-wall exchange.
    •  
      CommentAuthorPol
    • CommentTimeNov 24th 2006 edited
     # 16
    Ok, I uploaded Beta 3. It adds pagination -- it does pages just like the discussion or comment list. (For this, it uses an internal fixed version of the PageList class. I'm hoping Mark will incorporate this fix into the next version of the Lussumo Framework.) Another fix in this version is that it no longer shows IP addresses unless you have the IpHistory extension installed.

    The default number of comments per page is 5. For now, you can change this in conf/settings.php (USER_WALL_COMMENTS_PER_PAGE).

    More features coming tomorrow. :)
  2.  # 17
    can some one post better screenshots of what does this extension do exactly
    • CommentAuthorPolo
    • CommentTimeNov 24th 2006
     # 18
    Cool. It works great.
    •  
      CommentAuthorTex
    • CommentTimeNov 25th 2006 edited
     # 19
    @ MySchizoBuddy:
    It gives everybody the possibility to comment on an user. These comments are listed in the profile of the user, who has received a comment.
  3.  # 20
    @Pol is this based on some third party code.
    •  
      CommentAuthorPol
    • CommentTimeNov 25th 2006
     # 21
    @MySchizoBuddy: No, I've written all of it myself, but it is inspired by a similar feature on social networking sites like Facebook and MySpace.
  4.  # 22
    in that case me try it out then. :)
    good work

    I don't really like to use third party stuff.

    Some request.
    Alternate table color
    Better yet call it testimonials. this way users won't be having conversation in the wall. If its a testimonial they will post once and leave.
    Check to see if user has no comments. if no comments display "the user doesn't have any testimonials. be the first to post one"
    a check box if the testimonial is positive or negative. that way we can see how many people like or hate a particular user. like in amazon where every one reviewing, posts a comment and a vote.
    Make commenting optional. instead give the user another option. "I like this user" or "I don't like this user" let them pick one (with out commenting) and move on.
    •  
      CommentAuthorPol
    • CommentTimeNov 25th 2006
     # 23
    That sounds like a different extension altogether. My code would be a good starting point, I suppose -- go ahead and do that if you want, since mine is GPL! -- but I'm not really going in that direction currently.
    •  
      CommentAuthorTex
    • CommentTimeNov 25th 2006
     # 24
    @ Pol:
    I would really like to see it only allowing members to comment. Are you planing to implement this?
    •  
      CommentAuthorPol
    • CommentTimeNov 25th 2006 edited
     # 25
    @ Tex:

    /me smacks forehead
    /me uploads Beta 4

    :)
    •  
      CommentAuthorØ
    • CommentTimeNov 26th 2006
     # 26
    Hey Pol, nice one :)

    I've tried it and noticed two small details:
    - First time you go on an account page after having enabled the extension, you get a Division by zero at line [I didn't note which line :/].
    - It would be nice to hide the two rows displaying the numbers of comments when there's no comment. When you first see an account page, you really wonder what are the two 0 separated by a line.

    Also, would it be possible to allow posting comments only for a particular role?
    •  
      CommentAuthorTex
    • CommentTimeNov 26th 2006
     # 27
    @ Pol:

    Great. Thanks for being so fast. :)
  5.  # 28
    You could just use the Private Accounts Extension?
    •  
      CommentAuthorPol
    • CommentTimeNov 26th 2006 edited
     # 29
    Ok, I uploaded Beta 5. Now the ability to comment on walls is role-based. (The default, of course, is yes, except for Unauthenticated users.) It also gives a more helpful explanation when there are no comments on a user's wall.

    @ Ø: Can you duplicate the divide by zero thing? It would be really helpful to know the line number.
    •  
      CommentAuthorTex
    • CommentTimeNov 26th 2006
     # 30
    I just tried the extension. Installation was fine, but when I add a comment, it just displays "1". Using the Beta 5.
    •  
      CommentAuthorPol
    • CommentTimeNov 26th 2006 edited
     # 31
    It's surprising how often functionality-altering bugs are caused by a missing set of parentheses, eh? :)

    Fixed in Beta 6.
  6.  # 32
    Could you add an email notification when new messages are posted? This is pretty common with all the community-based sites I've seen...get's users to come back to the site and check what's been added to their profile.
    •  
      CommentAuthorPol
    • CommentTimeNov 26th 2006
     # 33
    Yeah, that's planned, as I mentioned in the first post.
    • CommentAuthorCrazyotaku
    • CommentTimeNov 26th 2006
     # 34
    would it be too much to ask for you to post an update on the current features that are working with your extension now? It gets a little cluttered with all the posts lol.
  7.  # 35
    @Pol - Woops, sorry I missed that above.
    • CommentAuthormis-one
    • CommentTimeNov 27th 2006
     # 36
    Excellent job with this! Can anyone think of creative ways to remind users of this functionality? Something like "Write on this users wall" while reading a discussion.
    •  
      CommentAuthorØ
    • CommentTimeNov 27th 2006
     # 37
    Good idea misery, a "wall" link, displayed at the same place than permalink, quote, edit, etc. would be pretty cool.
    •  
      CommentAuthorTex
    • CommentTimeNov 27th 2006
     # 38
    Another possible feature would be editing the comments one made. So you don't have to delete and rewrite it when you did a mistake.
    • CommentAuthormis-one
    • CommentTimeDec 4th 2006
     # 39
    Any updates on this? i.e. email verification :)

    My users love it btw.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeDec 5th 2006
     # 40
    @ Ø — NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO! Not more to clutter up the RHS of each post PLEASE! If it must be done, then please make it optional.

    I've been thinking for a while that someone needs to write a kinda hover list for username/icons, so that when you hover over someone's name/picture in a post, you get a list of things you can do to that person eg. post on their wall, whisper (this could bring up an AJAX window using Tickbox once it's done :)), buy them a beer, you get the idea...
    •  
      CommentAuthorØ
    • CommentTimeDec 5th 2006
     # 41
    Well, it depends of how many items you already have there...
    +1 for the ajax stuff on hover idea anyway. A good start would be the Userinfo Tooltip extension.
    • CommentAuthorcircuit
    • CommentTimeDec 5th 2006
     # 42
    i've just noticed that the wall looks really wrong in IE7. it's sitting below flikr and audioscrobbler plugins, and some of the horizontal lines shoot off to the left. also, the usernames and comments overlap. not sure what is causing this at the moment (i usually edit CSS in firefox so i can't really play with it 'on the fly').
    •  
      CommentAuthorPol
    • CommentTimeDec 5th 2006 edited
     # 43
    Hmm, sorry about that, circuit. I'll look into it. (I don't normally test in IE, since I use a Mac, but now that I'm on an Intel Mac, I should be able to torrent myself a copy of Vista to use in Parallels.)
    •  
      CommentAuthor[-Stash-]
    • CommentTimeDec 5th 2006
     # 44
    Perhaps, given that the links on the RHS are just a bunch of links, some fancy CSS could turn them into a neat little dropdown anyway...
    • CommentAuthorcircuit
    • CommentTimeDec 5th 2006
     # 45
    @pol: i have a couple of nerds helping me with the layout, and viewing the forum on IE6 (mac/PC), so i should be able to find out what the problem is in the next few days.
    •  
      CommentAuthorgarvin
    • CommentTimeDec 5th 2006 edited
     # 46
    I get this error:

    "Notice: Use of undefined constant FRAMEWORK_VERSION - assumed 'FRAMEWORK_VERSION' in
    /root/vanilla/extensions/UserWall/default.php on line 126"


    It still puts the comment on, but it has that at the top, which is a bit confusing. I am using 1.0
  8.  # 47
    If you're down, I'd like to see another role based permission for viewing these "wall" messages. That way it could be used for public wall stuff, but also as a way of mods leaving notes about users (as I'd like to have that around.) That way I can set it so that only mods can post & see the messages. I could probably hack that in if you want me to do it and submit you back the diff/code.
    •  
      CommentAuthorPol
    • CommentTimeDec 7th 2006
     # 48
    I think that's more of a job for a PM system, such as the one Jazzman is working on (which is actually just a clever new frontend to the existing whisper system).
  9.  # 49
    I think chuyskywalker wants it so admins can leave and read each others notes about a user, not message the user :)
    •  
      CommentAuthorPol
    • CommentTimeDec 7th 2006
     # 50
    @garvin: This is only tested with version 1.0.1 and later; it may use delegates, etc. that aren't present in 1.0. You'd be best off upgrading.

    @Minisweeper: Ah, I see. But I think a better means of doing that would be simply adding a private admins/mods-only category, where they can discuss any modly issues that come up. That's how it's done on a PunBB forum I moderate, and it works fine.