miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Problems with plugin movepost

Author jmcwebtrip
Registered
#1 | Posted: 9 May 2012 12:41 | Edited by: jmcwebtrip 
I have installed this plugin movepost, but I have a problem. I see a message on the footer it says
function massMove(){ var el=document.forms['allMsgs'].elements; var len=el.length; var chMsNum=0; for (var i=0;i
This code is in the session of Admin

Author Paul
Lead Developer
#2 | Posted: 9 May 2012 14:03 
Did you use the Compiler or have installed it manually?

Author jmcwebtrip
Registered
#3 | Posted: 9 May 2012 14:21 
I have installed manually

Author Paul
Lead Developer
#4 | Posted: 9 May 2012 14:47 
Well... then make sure you did it properly :) The add-on should not give such an error.

Can you repeat the same on miniBB demo? There's an admin's login provided... I don't see anything like that.

Author jmcwebtrip
Registered
#5 | Posted: 9 May 2012 15:07 
Well I found my problem. The problem was in {$massMoveJs} had to be in main_post.html between the script tag and had it out.
It is running fine. Sorry for the inconvenience. Thanks

Author jmcwebtrip
Registered
#6 | Posted: 9 May 2012 20:46 
There is notice when I change to reply the forum it is:
Content was moved, rows affected: 3
Is there any problem with the table?

Author Paul
Lead Developer
#7 | Posted: 10 May 2012 14:21 
So this is just a notice which should appear after you have moved some posts.

Author gyurma174
Registered
#8 | Posted: 15 Jan 2015 20:00 | Edited by: gyurma174 
Hello Paul
I have a problem with is that this line (if (chMsNum <2) {alert ('l_moveCheck $ {}'); return;})
and I want to pass this letter if (chMsNum <1) {alert ('{$ l_moveCheck}'); return; }
because I want to say in one piece into place, not two but can not pass through the letter value because if you do not write over the operation
Thanks for your response

Author Paul
Lead Developer
#9 | Posted: 17 Jan 2015 17:25 
I'm not quite sure what do you mean, but whatever I'd recommend, is NOT to change this line. It works like a condition when you would like to move multiple messages at once, clicking "Move messages" link below the messages list. If you would like to "move many messages", you should check at least 2 messages to move. If you want to move just one message, click the "Move" link located in the admin menu of the message (located at the right side by default - where there are also "Reply Quote Edit Delete" links).

Author gyurma174
Registered
#10 | Posted: 24 Jan 2015 01:31 
Thanks for the answer!
There's this kod.Ami choose how many you want to put into words given.
Now here is the code also shows that only two can be transferred into other topikba.De this ears, because I just want to have a say in tenni.Miért is over even two at a time.
I would be so perfect, but it will not let me write it over immediately give an error code to the server
if(chMsNum<1) { alert ('{$l_moveCheck}'); return; }
else {

$massMoveJs=<<<out
function massMove(){
var el=document.forms['allMsgs'].elements;
var len=el.length;
var chMsNum=0;

for (var i=0;i<len;i++){
if (el[i].name.substring(0,9)=='deleteAll'){
if(el[i].checked) chMsNum++;
}
}

if(chMsNum<2) { alert ('{$l_moveCheck}'); return; }
else {

document.forms['allMsgs'].elements['action'].value='movepost';
document.forms['allMsgs'].target='_blank';
document.forms['allMsgs'].submit();

document.forms['allMsgs'].target='_self';
document.forms['allMsgs'].elements['action'].value='delmsg';

}
}
out;
}


Author Paul
Lead Developer
#11 | Posted: 24 Jan 2015 17:38 
Sorry... first of all, I don't understand your English. Second to that, I already provided my recommendation. You should not change the code, but get into the principle of how miniBB works. It's not just about JavaScript, there's also could be failure in the PHP code as well. So just don't change this code. Get the principle.

Specific miniBB Support Forums / Specific / Problems with plugin movepost Top
Your Reply Click this icon to move up to the quoted message
 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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 ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Extend your miniBB-forums, attaching the images and files,
get the File and Picture Attachments add-on!
Galleries / Attachments Addon for miniBB