Welcome Guest [Log In] [Register]

Star Force Roleplay

Team Members:
Gaia
GodlikeImmortal
Thisguyiscalledsteve
Sniper


Rule Set
Site Rules
Card Library
Ability Wave Library
Card Trader

Request Moderator Review

Welcome to StarForce RP


SFRP v5 - System Overhaul



The fifth major system change of the Star Force RP includes changes to Weapons, Elements, Virus Threads, the Card Library and more. Feel free to visit the full v5 Updates Thread to see all the changes that have been made.

If you're new, feel free to look around the board. Make yourself known in the Hello & Goodbye Forum, or join the Chat Box at the bottom of the home page. If you have a Discord, follow the link provided and join our much more active Discord Channel. Feel free to ask questions whenever you need help.




Starter Links
Character Template
Weapons Guide
After Approval
Elemental Benefits

Stores
The Big Wave
Satella Armory
Back Alley
Ability Wave Shop
The Crimson Market

Advanced Topics
Virus List
Indie Frags
Noise Frags

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.

Some features and links will not work when accessing via s11.zetaboards.com. Please access SFRP by our current website address: starforcerp.com.

Username:   Password:
Add Reply
Assignment 8: Coding
Topic Started: Apr 15 2012, 04:29 PM (825 Views)
Omega
~Assignment 8: Coding~

Coding has always been a useful skill to have around SFRP. Without it, we wouldn't have the Chaos Server or die rolling in its current, both of which have become pretty important around here. Although having these things does not make or break a forum (especially if you're using something like ZetaBoards), it can help enrich a forum to add some cool new features.

A common computer science phase is "don't reinvent the wheel", which is more than applicable here. Plenty of code has already been written for you to use. All you have to do is find the code and modify it to do what you want. Most of the time it's bits of Javascript, so all you have to do is throw it in under the forum footer and call it done. I guess you'd call this scripting instead of coding, but the same principles still apply. This is another skill like creating skins, where it's not crucial to have, but it certainly doesn't hurt to automate things whenever possible.

Assignment: Find and implement a script to use here at SFRP. It doesn't have to be anything board altering or even noticeable, but it should do something to help the forum out as a whole. I would like for you to make small edits to the code, but it's not necessary. Make sure your code is approved before you immediately implement it (if it is something major). You have 1 week to complete this assignment.
Member Avatar
There is ALWAYS a possibility

Posted Image

Rate my Moderation

Character Information
Quote Post Goto Top Offline Profile
Lash
Hey hey hey, it's your favorite n00b! I'm working on adapting this script so our affiliates cycle through in a larger image - a shrunken header - randomly. I figure with today's hardware, it shouldn't be an issue. Some may not like the lack of exposure, but I'm pretty sure dynamic images will be a little more attractive (unless you'd like to avoid that) than static.

EDIT: The script is being a royal pain in the fingers, due to it's preferring locally hosted images over remotely hosted. Which means we'll have to slap the blasted images somewhere deep in the ZetaBoards. I am not happy
Edited by Lash, Jul 12 2012, 07:15 PM.
Member Avatar
I care. Do you?

Store: The Pirate's Loading Bay
Payment Thread || SFRP Has a Guide. Check it out here
Weekly Card Giveaway
Hayato's Zenny: 60,900z|| Class: Law Enforcement || 4 Indie Frag(s)
Null's Zenny: 101,500z || Class: Civilian
Debt to Bank: 10,000z
Hayato's Noise Frags: 0
Characters
Battle Cards
Quote Post Goto Top Offline Profile
Omega
Can you be a little more specific about what you want to do? Like place this at the top of the site, or remove the images at the bottom altogether? Making the affiliation buttons larger is going to make them not as clean, since they're made specifically to their current size and aren't scaled down. We also don't want to hide any affiliates, so keep that in mind.

If you want some advice in getting the code to work, you're better off using only Javascript and using a random number generator with a switch statement to display the affiliate stuff. In each of the switch statements, you can write out the pure HTML code for the banners, which will not only allow you to use images not hosted on ZB, but also allow you to add links to the images. If you don't want to mess with switch statements, a bunch of if statements would work as well. Overall, you'd be doing the same thing we do for the Chaos Server, just with the affiliates.
Member Avatar
There is ALWAYS a possibility

Posted Image

Rate my Moderation

Character Information
Quote Post Goto Top Offline Profile
Lash
Oh, I was thinking to drop it at the bottom of the page. I'm a bit busy at the moment, but I'll see what I can code.
Member Avatar
I care. Do you?

Store: The Pirate's Loading Bay
Payment Thread || SFRP Has a Guide. Check it out here
Weekly Card Giveaway
Hayato's Zenny: 60,900z|| Class: Law Enforcement || 4 Indie Frag(s)
Null's Zenny: 101,500z || Class: Civilian
Debt to Bank: 10,000z
Hayato's Noise Frags: 0
Characters
Battle Cards
Quote Post Goto Top Offline Profile
Lash
Noooo! It's been done before: Ad Systemv1. Now all that effort is wasted.
Member Avatar
I care. Do you?

Store: The Pirate's Loading Bay
Payment Thread || SFRP Has a Guide. Check it out here
Weekly Card Giveaway
Hayato's Zenny: 60,900z|| Class: Law Enforcement || 4 Indie Frag(s)
Null's Zenny: 101,500z || Class: Civilian
Debt to Bank: 10,000z
Hayato's Noise Frags: 0
Characters
Battle Cards
Quote Post Goto Top Offline Profile
encore
My HP bar code is still useable. Last I checked Lash was hosting it on EXEN, so I'd ask him or Steve to give you the link.

In addition, thanks to Rem's efforts, a customized bar code is possible, not necessarily just for HP, but for a wider variety of concepts more applicable to SFRP, such as custom loading, brotherband progress etc

EDIT: Here go: http://z4.ifrm.com/30571/170/0/f5064157/hp_bbcode.js
Edited by encore, Sep 17 2015, 11:48 PM.
Member Avatar


Sunny Thomson

Damage Scale

Netyan Alphabet


Thisguyiscalledsteve: Lady, I suggest wearing something longer if you don't want the whole town to see your panties.
Workmega: Torkoal seems like the chillest Pokemon, so if I had to have any Pokemon watch me bathe, it would be that guy
Quote Post Goto Top Offline Profile
Lash
Blah, I forgot to update this with all the scripts.

Card Trader was my pet project, but it didn't work until Omega debugged it. Fast forward a few years, I rewrote it and it's up as Card Trader Kai. I also implemented god knows how many scripts and tweaks. Also see Virgo Mobile, which has some neat jquery tricks.

I'm not a coder, nor a programmer. I've installed a number of scripts here, some of which are undocumented and in weird places. Sorry.
Member Avatar
I care. Do you?

Store: The Pirate's Loading Bay
Payment Thread || SFRP Has a Guide. Check it out here
Weekly Card Giveaway
Hayato's Zenny: 60,900z|| Class: Law Enforcement || 4 Indie Frag(s)
Null's Zenny: 101,500z || Class: Civilian
Debt to Bank: 10,000z
Hayato's Noise Frags: 0
Characters
Battle Cards
Quote Post Goto Top Offline Profile
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Spam Forum · Next Topic »
Add Reply

Ask Staff for Access to our Discord!

Ask Staff For Access to our Discord!

Protodude's Rockman Corner Chrono X MegaMan Melee MegaMan Topsites