MyBB Community Forums
[For 1.6] Forum Affiliate Manager - 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 Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.6] Forum Affiliate Manager (/thread-89935.html)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Forum Affiliate Manager - Praveer - 2011-05-14

Cant it be changed? I will prefer to see actual URL.


RE: Forum Affiliate Manager - Spencer - 2011-05-14

I'll include that option in the next release, however, you can change it manually.

Simply replace the current list_affiliates template with the following:

<span style="width:{$maxwidth}px;height:{$maxheight}px;float:left;margin-right:5px;margin-bottom: 2px;text-align:left;"><a href="{$affiliate['link']}"><img src="{$mybb->settings['uploadspath']}/affiliates/{$affiliate['image']}" alt="" width="auto" height="auto" title="{$affiliate['name']}"></a></span>




RE: Forum Affiliate Manager - Praveer - 2011-05-15

Problem solved. Thanks a lot for your help.


RE: Forum Affiliate Manager - Ace1 - 2011-05-21

I downloaded the plugin and put an affiliate image on it but for some reason the affiliate image is not appearing.


RE: Forum Affiliate Manager - Spencer - 2011-05-21

The default maximum dimensions are 88x31. Perhaps you uploaded an image larger than that. You can, however, change the maximum dimensions in the plugin's settings.


RE: Forum Affiliate Manager - Ace1 - 2011-05-28

(2011-05-21, 03:41 PM)Spencer Wrote: The default maximum dimensions are 88x31. Perhaps you uploaded an image larger than that. You can, however, change the maximum dimensions in the plugin's settings.

My image is 88x31 but the image is just not appearing.



RE: Forum Affiliate Manager - Spencer - 2011-05-28

Is the upload directory writable (chmod 777)? ./uploads/affiliates


RE: Forum Affiliate Manager - Ace1 - 2011-05-30

Yes, i think so.

This appears:
[Image: picture156532.png]


RE: Forum Affiliate Manager - Spencer - 2011-05-30

Hmm, that's odd.

In the plugin file: ./inc/plugins/affiliates.php...

Find:
unlink(MYBB_ROOT.$mybb->settings['uploadspath'].'/affiliates/'.$old_affimg);

Replace with:
unlink($mybb->settings['uploadspath'].'/affiliates/'.$old_affimg);

Let me know what that does.


RE: Forum Affiliate Manager - Ace1 - 2011-06-19

(2011-05-30, 07:14 PM)Spencer Wrote: Hmm, that's odd.

In the plugin file: ./inc/plugins/affiliates.php...

Find:
unlink(MYBB_ROOT.$mybb->settings['uploadspath'].'/affiliates/'.$old_affimg);

Replace with:
unlink($mybb->settings['uploadspath'].'/affiliates/'.$old_affimg);

Let me know what that does.

it still doesn't work. the preview image is this: "#" without the speech marks and the affiliate image don't appear on the forum.