I had to go into the geek-photo-popup template and add a closing bracket after mydestination:
Before:
PHP Code:
}catch(errorObject){
BodyVal = opener.document.vbform.message.value;
if (ispopup=="1") {
opener.document.vbform.message.value = BodyVal + '[url=' + mydestination + '[img]' + mysource + '/img][/url]';
}else{
opener.document.vbform.message.value = BodyVal + '[img]https://vborg.vbsupport.ru/[/img]';
}
}[/PHP]
After:
[PHP]}catch(errorObject){
BodyVal = opener.document.vbform.message.value;
if (ispopup=="1") {
opener.document.vbform.message.value = BodyVal + '[url=' + mydestination + '][img]https://vborg.vbsupport.ru/[/img][/url]';
}else{
opener.document.vbform.message.value = BodyVal + '[img]https://vborg.vbsupport.ru/[/img]';
}
}