miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

How to add a button after the post to publish it in LiveJournal?

Author Roman2012
Guest
#1 | Posted: 10 Mar 2012 14:19 
I've tried inserting the following code into main_posts_cell.html :

<form method="post" action="livejournal_address/update.bml" target="_blank"><input name="repost" value="#msg{$cols[6]}" type="hidden"/><input type="image" width="20" src="my_forum_address/img/livejournal.gif"title="Add to Livejournal" />

However, this button results in displaying an error message 'Can not proceed: possible CSRF/XSRF attack!' in index.php . What am I doing wrong?

Thank you in advance for help.

Author Roman2012
Guest
#2 | Posted: 10 Mar 2012 17:34 
Sorry, I haven't closed the <form> tag.

Author Paul
Lead Developer
#3 | Posted: 13 Mar 2012 20:06 
Ok, so I suppose you have solved it?
Does it work on your end now?

Master Class miniBB Support Forums / Master Class / How to add a button after the post to publish it in LiveJournal? 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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB