HN-Community
[ask] spoiler MYBB - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: General Computing (https://hacker-newbie.org/forum-16.html)
+---- Forum: Software (https://hacker-newbie.org/forum-44.html)
+----- Forum: CMS/Web application (https://hacker-newbie.org/forum-45.html)
+----- Thread: [ask] spoiler MYBB (/thread-4511.html)



[ask] spoiler MYBB - AntSoldier - 08-23-2010

kk kenapa yach.. forum ane yang di gresshacker.tk

kok SPOILERNYA GAK BISA...?

ada yang bisa bantu pecahin ini.. saya mohon donk...WowWowWow


RE: [ask] spoiler MYBB - Jahat - 08-23-2010

wah..

ane gak tau yang satu ni..!!

mungkin di bawah ada yang bisa ngejawab :D


RE: [ask] spoiler MYBB - compLann - 11-11-2010

wew...
ane sedikit beri masukkan sob... Mesum

dari panel admin..
buka tab configuration ->> My Code
nah truss pilih dah Add MyCode ..
masukkan ini...

Title => Spoiler

Short Description => Spoiler

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

Replacement =>
Code:
<div style="margin:20px; margin-top:5px; background-color:#666666;"><div class="quotetitle"><input class="button2 btnlite" type="button" value="View" style="text-align:center;width:115px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'View'; }" /></div><div class="quotecontent"><div style="display: none;">$1</div></div></div>



smoga membantu sob... Bigsmile


RE: [ask] spoiler MYBB - AntSoldier - 11-14-2010

iya thanks boz.... membantu sekale...


RE: [ask] spoiler MYBB - compLann - 11-14-2010

OK sama2 sob... Bigsmile