We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Hosting external scripts
Topic Started: Apr 29 2012, 01:44 AM (345 Views)
Dannyy
Member Avatar
Member
[ *  * ]
Board Address: http://killorgy.com/index/
Board Software: ZetaBoards
Description: Finding a reliable external hosting site where I can host my scripts.

Recently, I've been having trouble with space cause there's so much that I want to implement in my boards. What I did was copy and paste individual scripts to Notepad (I use Windows), save them as <name>.js files, and uploaded them to my public folder in dropbox. For example, I have a script named sigspoil.js, which is this:

Code:
 
$('#topic_viewer .c_sig').wrapInner("<div class='sigspoiler' />").prepend("<div class='spoiler_toggle sig_toggle'>Signature: click to toggle</div>");


You can find it here: https://dl-web.dropbox.com/get/Public/Javascripts/sigspoil.js?w=43440af0

Notice that you can't access it. I suspect this is the reason why it doesn't work because, if you go to my boards and browse around, there is no option to toggle signatures. What I really want to know is how you guys upload to that site that's like z4.ifirm or something like that. I really need something like that so I can save space. Please help!

***Edit

It just came on. I don't even know when it goes offline :/
Edited by Dannyy, Apr 29 2012, 01:54 AM.
Offline Profile Goto Top
 
Sjaeles
Member Avatar
Member
[ *  * ]
You can use Dropbox, just upload to the /public/ folder. Once you upload the file there, click on it, then click "Copy Public Link".

The reason why it works seemingly on and off, is because you log in and out of Dropbox. When you log in, you can see it because you can now access that private folder on your own Dropbox. When you're not logged in, you can't see it because it's private.
Edited by Sjaeles, Apr 29 2012, 01:55 AM.
Offline Profile Goto Top
 
Dannyy
Member Avatar
Member
[ *  * ]
But I want it to be up all the time. Is there a way to do that? I always see those z4, z3, z2, etc. coders use to host their scripts.
Offline Profile Goto Top
 
Sjaeles
Member Avatar
Member
[ *  * ]
Yes, if you upload it to your public folder, it will always work for everyone.

The link should look something like this:
http://dl.dropbox.com/u/############/name.filetype

Where the ##### are numbers, and the name.filetype is something like "codes.js" or "image.jpg"

The s4, s1, etc, are if you upload it directly to your own forum. You can simply create a forum and enable uploads for admins, then upload files there.
Edited by Sjaeles, Apr 29 2012, 02:03 AM.
Offline Profile Goto Top
 
Dannyy
Member Avatar
Member
[ *  * ]
I've made the forum, and only admins can see it. I clicked the link and omg I get the link! Thank you so much!!
Offline Profile Goto Top
 
Joshua J
Member Avatar
Member
[ *  *  * ]
COMPLETED>?
Offline Profile Goto Top
 
Dannyy
Member Avatar
Member
[ *  * ]
Yes, completed. Thanks for the really quick help, as it always is on these boards.
Offline Profile Goto Top
 
Quozzo
Member Avatar
By the blood of Sanguinius!
[ *  *  *  *  * ]
Quote:
 
What I really want to know is how you guys upload to that site that's like z4.ifirm or something like that
You can host codes on your forum, just attach it to a post (or upload it via the ACP)
Offline Profile Goto Top
 
Nivexonix
Member Avatar
Love
[ *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
ZetaBoards gives you all the tools to create a successful discussion community.
« Previous Topic · Closed Requests · Next Topic »
Locked Topic