[]ekempter said: Isn't the lastest and greatest release of this mod supposed be included in the first post. I thought that was the protocol. I am having the same issue where adding sub categories become catagories. Does anyone have the fix? [/]
I fixed this in links_admin.php in function add_sub_cat.
To: $query = "INSERT INTO {$config['tbprefix']}links_categories (parent_id, title, cat_desc) VALUES ('$parent_id', '$title', '$description') ";
I also found that if you had sub categories but no category description the first sub category was needlessly indented. To resolve this, I added a <br /> to links_show_cat.php
Change: # Make sure we have something to print. if ($i <= $Numberofcats) { print " <td valign="top"><img src="{$config['phpurl']}/images/folder-c.gif" alt="" /> <font size="2"><b><a href="links.php?op=List_Links&cat_id={$cats['cat_id']}&parent_id={$cats['parent_id']}&title={$cats['title']}"><u>{$cats['title']}</u></a></b></font><br /> <font size="1">{$cats['cat_desc']}</font> ";
To: # Make sure we have something to print. if ($i <= $Numberofcats) { print " <td valign="top"><img src="{$config['phpurl']}/images/folder-c.gif" alt="" /> <font size="2"><b><a href="links.php?op=List_Links&cat_id={$cats['cat_id']}&parent_id={$cats['parent_id']}&title={$cats['title']}"><u>{$cats['title']}</u></a></b></font><br /> <font size="1">{$cats['cat_desc']}</font><br /> ";
The email that is sent needs to be changed to use the From e-mail addresss specified within the config settings 'contact email address' field. I didn''t have time to fix this one.
I'm sure that others would appreciate it if the first fix was included in the release.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.