MyBB Extras
[How To?] How to add file uploading options to new thread, new reply & more! - Printable Version

+- MyBB Extras (http://www.mybbextras.net)
+-- Forum: MyBB Extras - Resources (/Forum-MyBB-Extras-Resources)
+--- Forum: Tutorials (/Forum-Tutorials)
+---- Forum: Random Tutorials (/Forum-Random-Tutorials)
+---- Thread: [How To?] How to add file uploading options to new thread, new reply & more! (/Thread-How-To-How-to-add-file-uploading-options-to-new-thread-new-reply-more)



How to add file uploading options to new thread, new reply & more! - Technologx - 04-28-2016 06:03 AM

Welcome to another one of my tutorials!
Today we will be adding file sharing upload links to a few different areas so there's several different templates you'll be editing today including the global.css. You'll want to do this to the theme you're using for your forum so it's best to test this on the default theme. That way if something messes up you can revert the templates and global.css.

So the templates we'll be editing are:
editpost, newreply, newthread, private_send & showthread_quickreply.

So you'll need to find this line of code in all these templates:
Code:
The contents of this section are hidden from your usergroup.

Register

You want to add this below that line:
Code:
The contents of this section are hidden from your usergroup.

Register

Now once you finished doing that with your templates you want to add the options to open your global.css and scroll to the very bottom.

Add the following code:
Code:
The contents of this section are hidden from your usergroup.

Register

You also want to go to Ungrouped Templates -> headerinclude
Now scroll to the very bottom and add the following to get fontawesome to work:
Code:
The contents of this section are hidden from your usergroup.

Register

Here's a screenshot on how it will look:

Highslide JS

Register

Good Luck & Happy Coding!


RE: How to add file uploading options to new thread, new reply & more! - Beatty - 10-11-2017 18:33 PM

Great tutorial once again Technologx. Thanks for sharing the knowledge with the community.