Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: SELECT data, created, headers, expire FROM cache_filter WHERE cid = &amp;#039;3:ce3492563bb8dc92ec604460dc07c548&amp;#039;</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: LOCK TABLES cache_filter WRITE</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: UPDATE cache_filter SET data = &amp;#039;&amp;lt;p&amp;gt;Access rules คือการตั้งตัวกรอง username และ e-mail address ที่มีคำที่ไม่สุภาพหรือที่คำที่ไม่ต้องการ ด้วยเหตุผลใด ๆ ก็ตาม มีผลกับ account ใหม่ที่กำลังจะสร้างและที่มีอยู่เดิม (account ที่ล็อกอินอยู่แล้วจะไม่ถูกล็อกเอาท์) ถ้า username หรือ e-mail เข้าข่ายเงื่อนไ in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/comments&amp;#039; is marked as crashed and should be repaired\nquery: SELECT COUNT(*) FROM comments WHERE nid = 57 AND status = 0</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/comments&amp;#039; is marked as crashed and should be repaired\nquery: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 57 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 50</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172
Access rules | Thailand Open Source Software Festival

Access rules

  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire FROM cache_filter WHERE cid = '3:ce3492563bb8dc92ec604460dc07c548' in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: LOCK TABLES cache_filter WRITE in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Access rules คือการตั้งตัวกรอง username และ e-mail address ที่มีคำที่ไม่สุภาพหรือที่คำที่ไม่ต้องการ ด้วยเหตุผลใด ๆ ก็ตาม มีผลกับ account ใหม่ที่กำลังจะสร้างและที่มีอยู่เดิม (account ที่ล็อกอินอยู่แล้วจะไม่ถูกล็อกเอาท์) ถ้า username หรือ e-mail เข้าข่ายเงื่อนไขต้องห้าม และไม่เข้าข่ายเงื่อนไขผ่าน account นั้นจะไม่สามารถสร้างหรือล็อกอินได้ รูปที่ 1 แท็บ List แสดงรายการเงื่อนไขที่ตั้งขึ้นมา <br /><img src=\"/files/u1/accessrule_list.png\" width=\"714\" height=\"288\" /><br /> หากต้องการเพิ่มคำต้องห้าม ให้คลิกไปที่แท็บ <strong>Add rules</strong> เลือกชนิดกฎ (<strong>Access type</strong>) เป็น deny (ไม่อนุญาต) เลือก <strong>Rule type</strong> เป็น username จากนั้น ใส่ &quot;%shit%&quot; ในช่อง <strong>Mask</strong> แล้วกดปุ่ม <strong>Add rule</strong> <br /><img src=\"/files/u1/accessrule_add.png\" width=\"546\" height=\"381\" /> <br />วิธีการใช้เครื่องหมาย &quot;%&quot; และ &quot;_&quot;</p>\n<ul>\n<li>ถ้าไม่อยากให้มีคำทั้งคำในชื่อ username หรือ e-mail ให้ระบุคำนั้น ๆ แล้วคร่อมด้วยเครื่องหมาย % เช่น ไม่ต้องการให้มีคำว่า ในหลวง จะต้องระบุค่าใน Mask เป็น %ในหลวง%</li>\n<li>ถ้าไม่ต้องการให้ username หรือ e-mail มีตัวอักขระพิเศษเพียงให้ใช้ เช่น _@_ หรือ _!_ เป็นต้น </li>\n</ul>\n', created = 1231561975, expire = 1231648375, headers = '' WHERE cid = '3:ce3492563bb8dc92ec604460dc07c548' in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/comments' is marked as crashed and should be repaired query: SELECT COUNT(*) FROM comments WHERE nid = 57 AND status = 0 in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/comments' is marked as crashed and should be repaired query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 57 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 50 in /var/www/tossfest/includes/database.mysql.inc on line 172.

Access rules คือการตั้งตัวกรอง username และ e-mail address ที่มีคำที่ไม่สุภาพหรือที่คำที่ไม่ต้องการ ด้วยเหตุผลใด ๆ ก็ตาม มีผลกับ account ใหม่ที่กำลังจะสร้างและที่มีอยู่เดิม (account ที่ล็อกอินอยู่แล้วจะไม่ถูกล็อกเอาท์) ถ้า username หรือ e-mail เข้าข่ายเงื่อนไขต้องห้าม และไม่เข้าข่ายเงื่อนไขผ่าน account นั้นจะไม่สามารถสร้างหรือล็อกอินได้ รูปที่ 1 แท็บ List แสดงรายการเงื่อนไขที่ตั้งขึ้นมา

หากต้องการเพิ่มคำต้องห้าม ให้คลิกไปที่แท็บ Add rules เลือกชนิดกฎ (Access type) เป็น deny (ไม่อนุญาต) เลือก Rule type เป็น username จากนั้น ใส่ "%shit%" ในช่อง Mask แล้วกดปุ่ม Add rule

วิธีการใช้เครื่องหมาย "%" และ "_"

  • ถ้าไม่อยากให้มีคำทั้งคำในชื่อ username หรือ e-mail ให้ระบุคำนั้น ๆ แล้วคร่อมด้วยเครื่องหมาย % เช่น ไม่ต้องการให้มีคำว่า ในหลวง จะต้องระบุค่าใน Mask เป็น %ในหลวง%
  • ถ้าไม่ต้องการให้ username หรือ e-mail มีตัวอักขระพิเศษเพียงให้ใช้ เช่น _@_ หรือ _!_ เป็นต้น

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/accesslog&amp;#039; is marked as crashed and should be repaired\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&amp;#039;Access rules&amp;#039;, &amp;#039;node/57&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;38.103.63.57&amp;#039;, 0, &amp;#039;a3ce0ecbebc1e70497c193012f9a27e6&amp;#039;, 312, 1231561975)</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/sessions&amp;#039; is marked as crashed and should be repaired\nquery: SELECT sid FROM sessions WHERE sid = &amp;#039;a3ce0ecbebc1e70497c193012f9a27e6&amp;#039;</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/57', '', '38.103.63.57', 1231561975) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/sessions&amp;#039; is marked as crashed and should be repaired\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&amp;#039;a3ce0ecbebc1e70497c193012f9a27e6&amp;#039;, 0, 0, &amp;#039;38.103.63.57&amp;#039;, &amp;#039;messages|a:1:{s:5:\\&amp;quot;error\\&amp;quot;;a:1:{i:0;s:404:\\&amp;quot;user warning: Table &amp;amp;#039;./tossfest/accesslog&amp;amp;#039; is marked as crashed and should be repaired\\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&amp;amp;#039;Access rules&amp;amp;#039;, &amp;amp;#039;node/57&amp;amp;#039;, &amp;amp;#039;&amp;amp;#039;, &amp;amp;#039;38.103.63.57&amp;amp;#039;, in /var/www/tossfest/includes/database.mysql.inc on line 172