Navigator
Online Users

In total there are 29 users online :: 8 registered, 0 hidden and 21 guests

Most users ever online was 81 on Wed Jun 09, 2010 10:40 am

Registered users: dravekx , Exabot [Bot], Google 2.1 [Bot], Mitch , Prosk8er , psi, sman, Yahoo [Bot] based on users active over the past 240 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Bot Tracker

Yahoo [Bot]
Mon. Sep. 06 2010, 21:21
Google 2.1 [Bot]
Mon. Sep. 06 2010, 21:16
Exabot [Bot]
Mon. Sep. 06 2010, 21:08
MSN [Bot]
Mon. Sep. 06 2010, 19:34
Google [Bot]
Mon. Sep. 06 2010, 18:53
Baidu [Spider]
Mon. Sep. 06 2010, 17:55
Ask Jeeves [Bot]
Mon. Sep. 06 2010, 17:08
Alexa [Bot]
Mon. Sep. 06 2010, 15:40
Google Desktop
Sun. Sep. 05 2010, 20:30
Gigabot [Bot]
Sat. Sep. 04 2010, 15:16

Search

Categories
Not processed for this page
In development
Demo Block
Progress: [||||||||||]
Last updated:
Mon 25 Aug 2008
Version: 0.0.0
Designed by: Michaelo
Not downloaded yet
Team Speak
Progress: [||||||||||]
Last updated:
Mon 20 Apr 2009
Version: 1.0.0
Designed by: HelterSkelter
Ported by: Mike
Not downloaded yet
Cloud9 Links

; ; ; ; ; ; ; ; ; ;

Blocks 101

A guide to stargate portal blocks...

Blocks 101

Postby Mike » Mon Feb 08, 2010 1:16 pm

Description of the block system:
In essence blocks are actually small independent mods designed to do a particular job. They require one html file to display the blocks data (block_name.html), and in the majority of cases, one php file (block_name.php), to process and fetch blocks data.

Widget blocks are simple blocks that retrieve remote html/xml data and display it using their html file, they do not normally require a php file. Please note, when retrieving remote data, some mechanism should be employed to check for possible remote injection issues...

Blocks Example:
Simple block: The clock block requires no php file... (no variables)
Regular bock: The top posters block requires both html and php file... (k_config variables)
Complex block: The Menu block requires both html and php files... (k_config variables)
Widget block: The weather block only requires the html (the php file can be used to verify the imported code). (no variables)
Mini Mod block: The block_portal_status.html block requires the html and php file. (k_config variables) + (variables from the portal status mini-mod)...

Blocks, Admin Options:
The normal operations such as: Add, Edit, Delete and Move...
Blocks visibility: Initial visibility is determined by the administrator on a group basis... (one or many)
Block layout/position: Initial layout is set by administrator...

Block Configuration:
Many block contain additional configuration options...
This can vary from simple configurable variables to more complex configuration as is the case of block that are based on mini mods (discussed later)... In the case of simple configurable variables, each block entry provides a link (icon) to the variable configuration page... A link is also provided for blocks based on mini mods...

Blocks, User Options:
Blocks can be moved, hidden etc., by each members according to their preferences...
Block locations are currently restricted to left, right or centre columns...


Blocks are cached...

Blocks share core data...
Blocks can contain queries...
Blocks can modify data...
Blocks can contain configurable data...

Types of blocks:
Dynamic (simple, regular and complex)...
Static (simple or regular)...
Widget blocks (simple or regular)...




Creating a block:

Adding a new block to your site.

Editing/Deleting and moving blocks.

Notes:


Place holder in development...
Various images to be assigned later...
Attachments
block-option-icons.png
block-option-icons.png (45.69 KiB) Viewed 174 times
center_blocks.png (45.95 KiB) Viewed 174 times
block_edit_image.png (67.72 KiB) Viewed 176 times
Mike
Stargate Portal . [phpBB 3.0.6 + 1.0.4 (build 307-203)] . Dev Status: (Cashel) 99%.
Dev site: Main site:
User avatar
Mike
 
Posts: 2270
Joined: Wed Mar 11, 2009 1:57 am
Location: Dublin, Ireland Flag

Return to Blocks

Who is online

Registered users: dravekx , Exabot [Bot], Google 2.1 [Bot], Mitch , Prosk8er , psi, sman, Yahoo [Bot]