Поможет мне кто-нибудь разобраться с модом? Я хочу его под IPB cелать.
Mod code:
Create file "addform.html" in your forum root directory and put this code in it (click on "download" link in code header to download it)
Code: (addform.html) [download] [hide]
Code: (addform.html) [download] [show]
<script language="javascript" type="text/javascript">
<!--
function add_code()
{
var text = unescape(document.location.search.substring(1));
opener.document.forms['post'].message.value = opener.document.forms['post'].message.value + text;
opener.focus();
window.close();
}
add_code();
//-->
_/script_
Open templates/subSilver/posting_body.tpl, find and add after it
Code: [download] [hide]
Code: [download] [show]
http://www.postimage....forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post