error(); $dberrno = $this->errno(); if($dberrno == 1114) { ?> Max Onlines Reached

Forum onlines reached the upper limit


Sorry, the number of online visitors has reached the upper limit.
Please wait for someone else going offline or visit us in idle hours.

Discuz! info: $message\n\n"; } if(isset($GLOBALS['_DSESSION']['discuz_user'])) { $errmsg .= "User: ".htmlspecialchars($GLOBALS['_DSESSION']['discuz_user'])."\n"; } $errmsg .= "Time: ".gmdate("Y-n-j g:ia", $timestamp + ($GLOBALS['timeoffset'] * 3600))."\n"; $errmsg .= "Script: ".$GLOBALS['PHP_SELF']."\n\n"; if($sql) { $errmsg .= "SQL: ".htmlspecialchars($sql)."\n"; } $errmsg .= "Error: $dberror\n"; $errmsg .= "Errno.: $dberrno"; echo "\n"; echo "

"; echo nl2br($errmsg); if($GLOBALS['adminemail']) { $errlog = array(); if(@$fp = fopen(DISCUZ_ROOT.'./forumdata/dberror.log', 'r')) { while((!feof($fp)) && count($errlog) < 20) { $log = explode("\t", fgets($fp, 50)); if($timestamp - $log[0] < 86400) { $errlog[$log[0]] = $log[1]; } } fclose($fp); } if(!in_array($dberrno, $errlog)) { $errlog[$timestamp] = $dberrno; @$fp = fopen(DISCUZ_ROOT.'./forumdata/dberror.log', 'w'); @flock($fp, 2); foreach(array_unique($errlog) as $dateline => $errno) { @fwrite($fp, "$dateline\t$errno"); } @fclose($fp); if(function_exists('errorlog')) { errorlog('MySQL', basename($GLOBALS['_SERVER']['PHP_SELF'])." : $dberror - ".cutstr($sql, 120), 0); } echo "

An error report has been dispatched to our administrator."; @sendmail($GLOBALS['adminemail'], '[Discuz!] MySQL Error Report', "There seems to have been a problem with the database of your Discuz! Board\n\n". strip_tags($errmsg)."\n\n". "Please check-up your MySQL server and forum scripts, similar errors will not be reported again in recent 24 hours\n". "If you have troubles in solving this problem, please visit Discuz! Community http://www.Discuz.net."); } else { echo '

Similar error report has beed dispatched to administrator before.'; } } echo '

'; function_exists('dexit') ? dexit() : exit(); } ?>
 

Misc Questions

Can you please explain the Discuz! Code to me?
You can use BB Code, a simplified version of HTML, in your posts to create certain effects.

  1. [b]Bold Text Abc[/b]   would produce: Bold Text Abc (Bold Text)

  2. [i]Italicized Text Abc[/i]   would produce: Italicized Text Abc (Italicized Text)

  3. [u]Underlined Text Abc[/u]   would produce: Underlined Text Abc (Underlined Text)

  4. [color=red]Text Abc in Color Red[/color]   would produce: Text Abc in Color Red (Change Color of Text)

  5. [size=3]Text Abc in Size 3[/size]   would produce: Text Abc in Size 3 (Change Size of Text)

  6. [font=Tahoma]Text Abc of Tahoma[/font]   would produce: Text Abc of Tahoma (Change Font of Text)

  7. [align=Center]This is centered[/align]   would produce:
    This is centered
    (Centered Text)

  8. [url]http://www.comsenz.com[/url]   would produce: http://www.comsenz.com (Hyperlink)

  9. [url=http://www.Discuz.net]Discuz! Board[/url]   would produce: Discuz! Board (Hyperlink)

  10. [email]myname@mydomain.com[/email]   would produce: myname@mydomain.com (E-Mail Hyperlink)

  11. [email=support@discuz.net]Discuz! Technical Support[/email]   would produce: Discuz! Technical Support (E-Mail Hyperlink)

  12. [quote]Discuz! Board is a bulletin board system developed by Comsenz Technology Ltd[/quote]   (Quoted Text, similar code [code][/code] for quote program codes)

  13. [hide]Hidden Text[/hide]   (Hide Text to Visitors Unless Replying this Thread)

  14. [hide=20]Hidden Text[/hide]   (Hidden Text According Visitor's Credits

  15. [list]
    [*]first bulleted item
    [*]second bulleted item
    [/list]   (Lists)

  16.   ()


  17. Below codes are available only when [img] code is allowed

  18. [img]http://www.isofter.com/forum/images/default/logo.gif[/img]   (Image)
    would produce:


  19. [img=88,31]http://www.isofter.com/forum/images/logo.gif[/img]  (Resized Image)
    would produce:


  20. [swf]http://www.isofter.com/forum/images/banner.swf[/swf]   (Shockwave-flash)


What are moderators?
Moderators oversee specific forums. They generally have the ability to edit and delete posts, move threads, and perform other manipulations. Becoming a moderator for a specific forum is usually rewarded to users who are particularly helpful and knowledgeable in the subject of the forum they are moderating.

How can I have more permissions in Discuz! Board?
Discuz! set user permissions according to system status and credits. Credits are related to your posts number, how you are rated or both. You may have more permissions when you get more credits.