miniBB Support Forums | 16 years on The Web
miniBB ® 


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /   

Delete Function, NO Javascript!

Author MangX
#1 | Posted: 15 Aug 2011 07:20 
in bb_func_vthread.php

Line 230 - 232

<a href="JavaScript:confirmDelete({$cols[6]},0)" onmouseover="window.status='{$l_deletePost}'; return true;" onmouseout="window.status=''; return true;">$l_deletePost</a>

:D Can you provide me the noscript code like the Edit Function? Some of the feature phones don't support JS.

Edit Function:

$allowedEdit="<a href=\"{$indexphp}action=editmsg&amp;topic=$topic&amp;forum=$forum&amp;post={$cols[6]}&amp;page=$page&amp;an chor={$cols[6]}\">$l_edit</a>

Author Paul
Lead Developer
#2 | Posted: 15 Aug 2011 23:21 
Follow confirmDelete function and you will discover the full URL.

Author MangX
#3 | Posted: 16 Aug 2011 03:49 
Paul, I tried but failed. :(

Author Paul
Lead Developer
#4 | Posted: 16 Aug 2011 11:38 
What does it mean? How you can fail on the open source code?

You need to find a file, where this function is located. Then just go through lines of this function and you will discover how to send a GET request for deleting a message. This request is actually sent by JavaScript now, but it also could work in standalone mode, for sure.

Specific miniBB Support Forums / Specific /
 Delete Function, NO Javascript!
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.