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

Unmaintained Me and Slap commands 1.0.2

IRC, Steam, and other chat style /me and /slap commands

Thread Status:
Not open for further replies.
  1. Chris D

    Chris D XenForo Developer Staff Member

    Yorick submitted a new resource:

    Me and Slap commands (version 1.1) - IRC, Steam, and other chat style /me and /slap commands

    Read more about this resource...
     
  2. DRE

    DRE Well-Known Member

    Doesn't work for me. What hook is needed to activate this? I might have to install it into the template manually.
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    One thing I did forget to mention is that the replacement won't happen until after you've refreshed the page.

    I've just uninstalled it and reinstalled it using the downloaded package and it works fine for me.
     
  4. DRE

    DRE Well-Known Member

    Okay you're right. I have to refresh. How do I make it indent?

    and will you make one that won't have to be refreshed?
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    To indent:

    Edit ThreadView.php and replace <span with <p ( and of course </span with </p )

    Then add the CSS I mentioned in the resource to EXTRA.css with the text-indent setting, e.g.:

    HTML:
    .slap {
    color: #006400;
    font-weight: bold;
    text-indent: 20px;
    }
     
    .me {
    font-weight: bold;
    color: #f00;
    text-indent: 20px;
    }
    With the way it is currently written, it is unlikely that will be possible. There's a lot of things unfortunately in XenForo that do not render immediately after posting. Though there has been a suggestion that expanding the BBCode might achieve this. But this is not something I will do myself.
     
  6. masterchief

    masterchief Well-Known Member

    how would I add more commands?

    I want this: /subscribe

    *William subscribes to your point of view.
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Yorick updated Me and Slap commands with a new update entry:

    Small update: /subscribe command and small fix

    Read the rest of this update entry...
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    I've included this in the latest update. You can make edits yourself in MeSlap/ThreadView.php or let me know and I'll consider for a future release.
     
  9. bubbl3

    bubbl3 Active Member

    Doesn't work for me, it causes issues with some threads giving a blank page :/
     
  10. Chris D

    Chris D XenForo Developer Staff Member

    I have to be completely honest: It hasn't been tested with 1.1.3 and also it's in urgent need of some attention.

    There are things with this add-on that don't work very well.

    Quoted posts are an issue too.

    I do intend to update it at some point.

    I wrote this before I knew anything about PHP and so it's basically crap. But now I've got better, hopefully I can make this better :p
     
    Rob Fritz and bubbl3 like this.
  11. bubbl3

    bubbl3 Active Member

    I would love an update, my users really miss the /me and /slap bbcode from vb. Thanks for your efforts.
     
    Chris D likes this.
  12. Chris D

    Chris D XenForo Developer Staff Member

    My users too... though they're coping without it.
     
  13. bubbl3

    bubbl3 Active Member

    Well they are still using it, it just doesn't render and leaves it to the imagination :D
     
  14. bubbl3

    bubbl3 Active Member

    I know you are busy with bigger and better things, but i am available to do a small contribution for this to be fixed :)
     
  15. Chris D

    Chris D XenForo Developer Staff Member

    I have actually had an idea on how to fix it, I will test it out. But it depends when I get time! :)
     
    bubbl3 likes this.
  16. Chris D

    Chris D XenForo Developer Staff Member

Thread Status:
Not open for further replies.

Share This Page