Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->

  • Welcome to the English.10tl.net
  • The first english 10tl.net forum.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Title: Spoiler code
#1
Every time I try to find a spoiler code, they either don't look right or just don't know what to say about it. So I came up with my own.

Name:
Code:
Spoiler

None
Select All



Regular Expression:
Code:
\[spoiler=?(.*?)\](.*?)\[/spoiler\]

None
Select All



Replacement:
Code:
<div class="spoilerBox"><div style="cursor:pointer;" class="spoilerTitle" onclick="jQuery(this).next().slideToggle(); jQuery(this).children('.spoilerOpen').toggle();jQuery(this).children('.spoilerClose').toggle();"><span class="spoilerOpen">Show</span><span class="spoilerClose" style="display:none;">Hide</span>&nbsp;$1</div><div style="display: none;">$2</div></div>

None
Select All

global.css:
Code:
.spoilerBox {
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #CCC;
    padding: 10px;
    background-color: #F5F5F5;
}

.spoilerTitle {
    border-bottom: 1px solid #CCC;
    font-weight: bold;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

.spoilerOpen, .spoilerClose {
   font-size: 0.8em;
    float: right;
}

None
Select All

Images to see how it'll look:

Linkleri görebilmek için Üye Olun veya Giriş Yapın.   
 
Reply
Thanks given by:
#2
How can i use ?
 
Reply
Thanks given by:
#3
(10-13-2019, 11:12 AM)Mellon Wrote: Linkleri görebilmek için Üye Olun veya Giriş Yapın.How can i use ?

Use :

[spoiler]test[/spoiler]
 
Reply
Thanks given by: Mellon
#4
(10-13-2019, 11:13 AM)JackSparrow052 Wrote: Linkleri görebilmek için Üye Olun veya Giriş Yapın.
(10-13-2019, 11:12 AM)Mellon Wrote: Linkleri görebilmek için Üye Olun veya Giriş Yapın.How can i use ?

Use :

[spoiler]test[/spoiler]

Okay
 
Reply
Thanks given by:
  


Forum Jump:


Browsing: 1 Guest(s)