MyBB Community Forums
show additional user group images Error - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: show additional user group images Error (/thread-149626.html)



show additional user group images Error - Cleopatra - 2014-01-04

Ok I installed the plugin from here
http://mods.mybb.com/view/show-additional-group-images

As soon as I add the php file to the plugin on my FTP

And try to enter the plugin page on my admin panel
I got this error

Parse error: syntax error, unexpected $end in /home/thegamez/public_html/inc/plugins/additionalimg.php on line 193


If I delet the php file
The plugin page works again
Can anybody help me and give me the correct additionalimg.php file
Thanks


RE: show additional user group images Error - Whiteneo - 2014-01-04

Do you edit yorur groups.php file ?

FIND:
$form_container->output_row($lang->group_image, $lang->group_image_desc, $form->generate_text_box('image', $mybb->input['image'], array('id' => 'image')), 'image'); 

Add AFTER
$lang->load("additionalimg");
    $form_container->output_row($lang->targhetta, $lang->targhetta_descr, $form->generate_check_box('targhetta', 1, '<span style="font-weight: normal">'.$lang->targhetta_check.'</span>', array("checked" => $mybb->input['targhetta'])), 'targhetta'); 

User says to do this xD. Maybe this can solve your issue.


RE: show additional user group images Error - Cleopatra - 2014-01-04

Yes I have
Same problem