• 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

reesev

New member
#1
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.
 

reesev

New member
#3
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".
 

Brogan

XenForo moderator
Staff member
#4
That sounds like a very bad approach.

You should never be overwriting entire templates in that manner.

I would recommend having it developed correctly.
 

reesev

New member
#5
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