I guess I suck at installing or something because I'm having a few problems. I downloaded the mod and uploaded the zip file using the admin panel. I'm using the default theme.
1. Permissions page - check boxes with no text telling what they're for.
I saw someone else had this problem, so I checked my 'modifications.english.php' but it already has the code for the descriptions. Is there another file I should check?
2. There's no menu link.
I also saw this problem posted here, so I checked 'index.template.php' but it looks like it has the code for a menu link.
I'm really confused. I don't know what I've done wrong. I'm not very good at this code stuff. Any help would be appreciated.
EDIT: forgot to mention I'm using ver 1.1.2
I am also using 1.1.2 and have exactly the same problems, had the same problem when intalling Gallery Lite, but found a how2 for fixing it and followed it step by step (painfully) and was able to get it working.
Sad to say I forget to write things down and cannot find the how2 for gallery lite to attempt the same fix for Links, will have to stick to my outboard links page for a while longer.
If you ever get a responce please send me a email@example.comEdit
I either have way too much time on my hands, or I don't know when to quit, I came back this morning and was able to find the Gallery discussion athttp://www.smfhacks.com/index.php/topic,693.0.html
Continuing to tinker, unzipped the distribution locally and found simlar code for Links in:links109.xml
After trying a couple of fixes that did not work I did a cut and paste of the following into my test site in the Modifications.english-utf8.php
file for the default theme, and now it is apparently working. Going to try going through the same steps for my production sites.This is the second SMFHacks module that was supposed to be 1.1.2 compatable, and did not work out of the box, my suggestion would be for creation of a moderated FAQ forum for each of the modules available here to help out the guys like myself who really don't understand all this Magick stuff
//Begin SMF Links Text Strings Re-Edit
$txt['smflinks_menu'] = 'Links';
$txt['smflinks_admin'] = 'Links Configuration';
$txt['permissiongroup_smflinks'] = 'SMF Links';
$txt['permissionname_view_smflinks'] = 'View Links Page';
$txt['permissionhelp_view_smflinks'] = 'Sets if the user can view the links page.';
$txt['cannot_view_smflinks'] = 'You can not view the links page.';
$txt['permissionname_add_links'] = 'Add Links';
$txt['permissionhelp_add_links'] = 'If the user is allowed to submit links';
$txt['cannot_add_links'] = 'You can not add links.';
$txt['permissionname_edit_links'] = 'Edit Links';
$txt['permissionhelp_edit_links'] = 'If the user is allowed to edit links';
$txt['cannot_edit_links'] = 'You can not edit links.';
$txt['permissionname_delete_links'] = 'Delete Links';
$txt['permissionhelp_delete_links'] = 'If the user is allowed to delete links';
$txt['cannot_delete_links'] = 'You can not delete links.';
$txt['permissionname_approve_links'] = 'Approve Links';
$txt['permissionhelp_approve_links'] = 'If the user is allowed to approve links';
$txt['cannot_approve_links'] = 'You can not approve links.';
$txt['permissionname_links_auto_approve'] = 'Links Auto Approved';
$txt['permissionhelp_links_auto_approve'] = 'If the users links are auto approved when submitted.';
$txt['permissionname_rate_links'] = 'Rate Links';
$txt['permissionhelp_rate_links'] = 'If the user is allowed to rate links';
$txt['cannot_rate_links'] = 'You are not allowed to rate links.';
$txt['permissionname_links_manage_cat'] = 'Manage Categories';
$txt['permissionhelp_links_manage_cat'] = 'User can add/remove/edit/reorder categories';
$txt['cannot_links_manage_cat'] = 'You are not allowed to manage categories.';
//END SMF Links Strings
Well the fix worked on the first of my prduction sites, except that, while I could now see the permissions text in the admin panel, and I could got to links from the browser by manually entering http://MyDomainName.com/SMF/index.php?action=links
into the navigation bar, still no links button on the menu line. It is there on my test site, which is using the default theme, but not on the production site with a custom theme.
Fix for this was pretty easy;
I opened index.template.php for the custom theme, and did a seach for // the [SMF Gallery] button
I inserted the following code (which I found in the index.template.php for the default theme, just before the // the [SMF Gallery] button code.
// the [links] button
echo ($current_action == 'links' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'links' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=links">' , $txt['smflinks_menu'] , '</a>
</td>' , $current_action == 'links' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Remember you have to go to permissions in the Admin panel and set permissions for your user groups