1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Twitter like "follow" button

Discussion in 'Closed Suggestions' started by Luxus, Jun 12, 2012.

  1. Luxus

    Luxus Well-Known Member

    Given Twitter's popularity and that XenForo is a twitter-like forum software with all these tooltips, javascript tricks and follow mechanics, I thought why not make the Watch Thread and Follow people links look like the follow button from Twitter?

    I accomplished this so far with my lack of javascript knowledge:



    Problem is unlike on Twitter you have to re-load the page to see the button change after a thread subscription and cancelled subscription. The button change on twitter happens dynamically via javascript, but I am not capable of that because a) my javascript sklills are very limited and b) editing xenforo's javascript is a pain in the butt. Open it with an editor and you know why.
    Velli and Steve10 like this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Hmm interesting.

    So you've coloured the buttons (nice touch :)) I don't understand what isn't working. Why do you have to re-load the page to see the button change?
  3. Luxus

    Luxus Well-Known Member

    I don't know if you use twitter, but let me explain it this way:

    You click the GREY Watch Thread button to subscribe a thread. The text then immediately changes from Watch Thread to Unwatch Thread. However the color remains GREY. If you F5 the page, the color changes to BLUE, resulting in the second button from above (and vice versa).

    On Twitter you press the follow button once and then text as well as the color of the button change without a page reload. Twitter also changes the text with a javscript powered hover effect if you follow somebody (from BLUE to RED). This is not possible with pure CSS.
  4. Thiel

    Thiel Member

    I don't think so, Xenoforo should not use anything from other sites because it is a great site already. They should just keep the follow button as they have now just to not make things complicated and

    so people don't get to confused because not everyone have Twitter people usually have Facebook, which is ok nothing to do on there exempt brag about people can that why so may

    people get into trouble. Anyway's they should just keep the follow button the way it is now.
    loki13 likes this.
  5. Luxus

    Luxus Well-Known Member

    Did you ever see a tooltip from twitter (that btw existed before XenForo)?
  6. Velli

    Velli Active Member

    I like it. This button more beautiful phrase.
  7. Thiel

    Thiel Member

    No but I am used to this one, so there's no point of changing it. That's my opinion though.
    "like" could be good to.:)
    loki13 likes this.
  8. Luxus

    Luxus Well-Known Member

    Here is a screenshot from a twitter tooltip

    Looks familiar to you?
  9. Thiel

    Thiel Member

    If you put it that way then, sure I would take that. :)
    loki13 likes this.
  10. Shelley

    Shelley Well-Known Member

    Maybe I'm reading this incorrectly but couldn't this be accomplish pending the developers give the watch/unwatch it's own unique class? I think that would be a nicer solution, leaving it as is and thus giving people the option to style it if they choose. I've probably misunderstood the suggestion entirely.
  11. Luxus

    Luxus Well-Known Member

    You did understand it correctly :) Watch/unwatch already have unique classes but the color changes won't be applied immediately like with Firebug. Technically it should, but I don't know why it works only after a page reload.

Share This Page