1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Post Templates

Discussion in 'Add-on Requests [Archive]' started by lazer, Oct 7, 2010.

  1. lazer

    lazer Well-Known Member

    Veer and CyberAP like this.
  2. ragtek

    ragtek Guest

    CyberAP and Markos like this.
  3. lazer

    lazer Well-Known Member

    Sweet, thanks ragtek :)
     
  4. ragtek

    ragtek Guest

  5. Markos

    Markos Well-Known Member

    Very similar to this ragtek. :)
    I need also this mod...and happy to offer a little donation for this. ;-)
     
  6. ragtek

    ragtek Guest

    Similar?

    What exactly do you need?

    With this add-on every user (if he have the permissions;) ) will be able to create the templates and use them.
     
  7. Markos

    Markos Well-Known Member

    I'm sorry i intend similar on design...same features. ;-)
     
  8. ragtek

    ragtek Guest

    Ahh, ok:)

    I wanted to add an Button to the editor menu bar, that there's AFAIK no way for this without template edits, so i had to find an other position.
     
  9. Forsaken

    Forsaken Well-Known Member

    If you're allow multiple post templates why not have a dropdown floated to the left below the text area so that they can choose which template to use?
     
  10. ragtek

    ragtek Guest

    Because i don't wanted to load the data if they aren't necessary and to play a little bit with xenforos javascript stuff^^
     
  11. Forsaken

    Forsaken Well-Known Member

    Load what data? If you mean the form, you can use conditionals to not show it if they do not have any templates, or to show a button to create a template.

    As for playing with the javascript... The way your video showed takes more work than selecting from a dropdown.
     
  12. ragtek

    ragtek Guest

    No, i mean my post templates.

    On the normal pageload it doesn't load anything, it just adds the button if js is available. (that's important for me, because i don't want to load ANYTHING on the standard pageload)

    Once the user clicks on it, he gets a list of his post templates.
    Now he can click on the list items to insert the text into the editor (i'll install tomorrow a demo on ragtek.org so you'll see what i'm talking about^^)
     
  13. CyberAP

    CyberAP Well-Known Member

    Maybe it's a good idea to give admin an option to choose where does he need these templates. And they will be automatically inserted into textfield if the user wants to create a thread in that forum.
     
  14. lazer

    lazer Well-Known Member

    At the moment we only use post templates in threads and this is sufficient. The availability and visibility would need to be usergroup dependant, of course.
     
  15. ragtek

    ragtek Guest

    it is already implemented of course:p ;)
     
    lazer likes this.
  16. Bellinis

    Bellinis Active Member

    Ragtag,

    A little off-topic, but with some similarities...
    On our vb3.8 board we've been using a tool for many years to insert special characters into the message window. (see the attached screenshot). I would love to have this feature too in XF. How could I do this?
     

    Attached Files:

  17. ragtek

    ragtek Guest

    this would be possible, but IMHO it would be better to insert this feature direct into the editor (because it's static content) and not dynamic as my user specific user post templates.
     
  18. Bellinis

    Bellinis Active Member

    Yeah you're right about the static content. Hopefully I'll be able to attach it to the message window somehow. Shouldn't be too hard I guess.
     
  19. ragtek

    ragtek Guest

  20. lazer

    lazer Well-Known Member

    How is the testing going on this mate?
     

Share This Page