Quote:
That is part of my original post. Here is the updated version:
Links Plugin
When entering your site information in the config of the ACP, the ACP would save all info BUT the site logo url and the website url.
When viewing the link to us section on the links page the html worked great MINUS the site url and no logo would be injected in to the code. Example it would say :
<a href="" target="_blank"><img src="" width="100" height="31" alt="What ever your site is" /></a>
Now the obvious problem with this is, the person linking back to your site would have bogus code. It would be useless without the image and url back to your website.
Problem solved!
I looked in the database and sure enough, in the ip_links_config table, the site_url and site_logo entries were missing thus the info was not being stored in the database.
To fix it:
OPEN plugins/links/install/install.php
FIND
"INSERT INTO `" . $table_prefix . "link_categories` (`cat_id`, `cat_title`, `cat_order`) VALUES (8, 'News', 8);",
AFTER ADD
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_logo', 'Site Logo URL Here');",
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_url', 'Your Site URL Here');",
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_url', 'Your Site URL Here');",
EOM Close and save all files.
To fix a already working website (live production or test environment):
Enter ACP/DB and Security/IPMySQLAdmin
a new page will open. In the little box it says Query your Database: SQL and a yellow light bulb. Click the SQL Icon
It will open a box. In this box insert the following:
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_logo', 'Site Logo URL Here');",
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_url', 'Your Site URL Here');",
"INSERT INTO `" . $table_prefix . "link_config` (`config_name`, `config_value`) VALUES ('site_url', 'Your Site URL Here');",
Now press, submit Query. Wah lah! Your links plugin is now fixed. On the links.php page, your members will now see your site logo and when they copy the html to place on their site, all pertinent site info will be in place properly in the code ready for use.
Here is the screenshots:
This shows the missing fields in the database.

The next one shows the fields not saved after submission.

This one is of it fixed:

Enjoy folks! As always, these fixes are not final. The final say is up to MG himself. This is what worked for me.