Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Locked Topic
PLEASE READ: Tips for posting codes and skins.; Follow these tips for Karmic Excellence
Topic Started: Nov 29 2007, 07:26 PM (2,120 Views)
Dennis
Member Avatar
Member Extraordinaire

When posting codes, please keep the following in mind:


  • You are not allowed to link to active boards as a preview. Make a test board for this code or for all of your codes. Just don't make it an active community.
  • Code previews are not necessary, but they're strongly recommended.
  • Code should be wrapped in [code] tags. However, many code authors like to highlight the syntax so users can easily edit variables. If this is the case, you should wrap non-highlighted code in the [nocode] tag.
  • DO NOT POST CODES YOU DID NOT WRITE. That's called ripping, and will rain down punishment upon your head. ;)
  • Make your code easy to read. Use decent indenting and don't cram all your code onto a single line. For some good guidelines on this, read the programming style article on Wikipedia.
  • Codes must conform to our Terms of Service and Terms of Use. That specifically means no editing of the copyright or advertisements. codes breaking this rule will be removed, and the poster may be warned.
  • For large codes, we recommend Self-Hosting to preserve wrapper space and improve maintainability.
  • For simple modifications, we recommend you use jQuery wherever possible. If a modification only takes a single line, why not write a tutorial rather than posting a code with a copyright longer than the modification? Sounds like a good idea, right?
Edited by Dennis, Feb 19 2008, 03:05 PM.
Offline Profile Goto Top
 
Dennis
Member Avatar
Member Extraordinaire

Skins


  • Many people prefer to have a single preview board, then add skins to the skin selector. This is a great idea, however you needn't ask users to select the skin from the skin selector. Instead, obtain the Skin ID from your Admin Panel. (Click Edit Theme Settings. Take the number at the very end of the URL. That is your Skin ID.) To automatically have this skin set as the default when someone visits for a preview, adjust your link as follows, replacing the red ID with your Skin ID:

    Quote:
     
    http://support.zetaboards.com/index/?setskin=5452


  • Make sure CSS codes are wrapped in [code] tags
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · User Created Codes · Next Topic »
Locked Topic