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

Add-on Package code as a addon

Discussion in 'Custom Service/Development Requests' started by reesev, Apr 2, 2015.

  1. reesev

    reesev New Member

    I recently had something coded for my forum and I am looking for a person to take my code and package it as a addon.

    If you are interested in helping let me know how much you will charge for this.
     
  2. batpool52!

    batpool52! Well-Known Member

    Is it just a add-on without real php files or javascript files or even style files?
     
  3. reesev

    reesev New Member

    Well it has

    Images, a js file, a bunch of phrases, and some php edits and template edits.

    Instructions from the dev.

    2) Copy file php/install.php to root XenForo directory and open it in the web browser.
    If the installation was successful under permission settings you will see a new option:
    "Limit / unlimit thread discussion time".

    3) Copy following files/directories to directories of the root XenForo directory:

    images/clock.png -> /styles/default/xenforo/icons
    js/timed_threads_extension -> /js
    php/ControllerPublic/* -> /library/XenForo/ControllerPublic
    php/DataWriter/* -> /library/XenForo/DataWriter
    php/Model/* -> /library/XenForo/Model

    4) In the administration panel go to Appearance->Templates and replace
    the contents of these templates with contents of files:

    templates/discussion_list_css.txt -> discussion_list.css
    templates/thread_view_css.txt -> thread_view.css
    templates/thread_view.txt -> thread_view
    templates/thread_list_item.txt -> thread_list_item
    templates/thread_fields_status.txt -> thread_fields_status

    5) In order to provide the ability to create time-limited discussions,
    you must assign permissions: "Lock / unlock threads" and "Limit / unlimit thread discussion time".
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    That sounds like a very bad approach.

    You should never be overwriting entire templates in that manner.

    I would recommend having it developed correctly.
     
  5. reesev

    reesev New Member

    That is why i need a xenforo ninja to help me make this happen. The code works and does what its supposed to do but I dont want to modify my base code like he is requesting
     

Share This Page