BRAINGELL RADIO
Web Braingell
Date/Time: Tue, Dec 02, 2008 @ 03:35
Your IP address: 38.103.63.62
vbdigital
Random Member
View DJmindgames's Profile
DJmindgames

Random Gallery Pic
Prowler Galaxy Theatre 2-17-05
P1010043

Check DJ Schedule
Member Login
Support Braingell
Donate
Once Monthly

Currency

Amount

Currency

Amount

Who's Online
3 Guests Online
Today's B-Days
belgiumrocks
928fan
xXxTragedyxXx
dominus
ricmetalbrz
Front Page Options

Category:

Order:

Author:
Ray Gauthier
Braingell Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: If - Else
#2243
WastedZombie (Admin)
Admin
Posts: 638
graph
User Offline Click here to see the profile of this user
If - Else 3 Years, 3 Months ago  
Hey everyone, not sure how much use this will get right away, but I'm already thinking up some ideas for it myself.

It is now possible to show NEWS CONTENT based on certain conditions. It is suited for limiting access to parts of the article to certain users or user groups, or from certain IP addresses.

MosIf accepts wildcards * and ? which makes it extremely versatile.

MosIf currently supports the following conditions: user name, user type, user group.

This is available to all registered users that can contribute news articles that appear on the front page.

Usage:
{mosif parameter|operator|list}some content{else}other content{endif}

parameter : username | usergroup | usertype | ip
operator : = | !=
(= -equals | != -not equals)
list : text[,text]

Wildcards (*,?) are allowed. ? = any one character, * = any number of characters

Apropriate values for:
username : any name like john, batman, wilddog etc.
usergroup : public, registered, special
usertype : registered, author, editor, publisher, manager, administrator, super administrator
ip : 127.0.0.1, 212.230.221.7 etc.


NOTES:
1. MosIf tags can span multiple lines
2. Conditions and names are case insensitive
3. You can put a space before and after the commas and equal sign for clarity
4. MosIf constructions CANNOT be nested



Examples:

a) With EQUAL (=):
==================






b) With NOT EQUAL (!=):
=======================
Everybody but John are allowed to see this!


c) With else:
=============
Hello Stranger. What are you doing here?
Who is your ISP?


Hope to see this being put to good use in the future... oh, and if you're not registered and reading this... my news articles in the future may hold great surprises to those who are Registered and reading it!

Post edited by: wastedzombie, at: 2005/08/05 11:33
 
Report to moderator   Logged Logged  
 
Never stand between a dog and a fire hydrant!
  The administrator has disabled public write access.
      Topics Author Date
  Topic is sticky. thread link
If - Else
WastedZombie 2005/08/05 14:22
    thread link
thread linkthread link Re:If - Else
WastedZombie 2005/08/05 15:15
    thread link
thread linkthread linkthread link Re:If - Else
WastedZombie 2005/08/05 15:31
    thread link
thread linkthread linkthread linkthread link Re:If - Else
lucretia 2005/08/05 15:50
    thread link
thread linkthread linkthread linkthread linkthread link Re:If - Else
vBoogieMan 2005/08/06 02:23
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:If - Else
Spikae 2005/08/06 21:53
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Braingell - Now Playing
fogcrawler
Now Playing:
Fogcrawler
Tension
Current DJ:
BGRLoop

Info:
You can be a DJ on Braingell Radio contact vboogieman@braingell.com
Schedule:
The Braingell Radio Loop plays whenever there is no live DJ!
Recently Played:
slayer
Slayer
Aggressive Perfector
black_label_society
Black Label Society
Doomsday Jesus
black_sabbath
Black Sabbath
Heaven And Hell


1 AC/DC's iTunes boycott is on Highway to Hell
DIVA says: BrainGell kicks ass!!
2 Slayer Release Song From New Album
BORN2KILL1313 says: FUCKIN SLAYER
3 Chinese Democracy available for pre-order and streaming
stonedrockgod says: personally, it's exactly what I thought it would b...
4 Page, Bonham and Jones aren't Led Zepplin
Mega says: i heard the sessions with steven tyler were dreadf...
5 Slayer Release Song From New Album
CoolVIguy says: haha now i gotta start carryin spray paint in my t...
6 Anthrax starts recording
Damage Case says: Anthrax is one of the originals...I'll give them t...
7 Manowar goes for Guinness record with five-hour concert
Tithooker says: thats impressive for any band especially manowar c...
8 Anthrax starts recording
stonedrockgod says: I know, they listed a whole lotta cover songs... *...
9 Anthrax starts recording
Mega says: hah funny they mentioned forced albums... cause we...
10 Slayer Release Song From New Album
Cooper says: Fucking amazing bilboard. I should do that to one ...
ScoreAuthorRead Articles

603 - CrazyIvan - [260 Articles]
390 - Lichtor - [13 Articles]
335 - stonedrockgod - [15 Articles]

Authors with less than 5 articles or with their latest article older than 30 days aren't rated.
Scores are based on the amount of articles posted and the amount of readers averaged per article.



Recent Forum Posts
 Outkast's
 >NEW DEATHRASH ON THE NIGHTK... 
    by Outkast in General Forum
    YESTERDAY at 15:14 
 stonedrockgod's
 >Wicked Jokes 
    by stonedrockgod in Humor
    8 days ago at 21:03 Reply# 111 
 stonedrockgod's
 >e=mc2 
    by stonedrockgod in Off-Topic
    12 days ago at 21:14 
 LoewFrequency's
 >Bang Camaro II 
    by LoewFrequency in Music Talk
    13 days ago at 13:56 
 WickedAngel's
 >Wicked Jokes 
    by WickedAngel in Humor
    28 days ago at 18:11 Reply# 110 
 stonedrockgod's
 >Wicked Jokes 
    by stonedrockgod in Humor
    28 days ago at 17:42 Reply# 109 
 guymon's
 >Recently played playlist?.... 
    by guymon in Braingell Hel...
    29 days ago at 01:00 Reply# 9 
 CrazyIvan's
 >Recently played playlist?.... 
    by CrazyIvan in Braingell Hel...
    31 days ago at 10:26 Reply# 8 
Show all up to 48, 96, 168, 336 hours ago.

This is my Google PageRank™ - SmE Rank free service Powered by Scriptme
Links to Site

© 2001-2008 BrainGell Radio
Page was generated in 2.2519371509552 seconds.