• Welcome to Simple Machines Community Forum. Please login or sign up.
December 09, 2021, 12:44:36 AM

News:

Join the Facebook Fan Page.


Affiliates System

Started by Diego Andrés, December 04, 2008, 07:29:28 AM

Previous topic - Next topic

Diego Andrés

Hey there, any suggestions for a new version of this mod?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Bob Perry of Web Presence Consulting

Hi everyone... cool mod aint it? Even though banner exchange marketing (or however you'd care to term it) is a fading fad of sorts, I like dabbling with it still...

I'm needing some assistance getting the marquee to display on the board index for 2.1, any hints appreciated...



Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

hcfwesker

Quote from: Bob Perry on January 18, 2015, 04:24:01 AM
I'm needing some assistance getting the marquee to display on the board index for 2.1, any hints appreciated...

You'll need to use html to make your own marquee table and such, but the php code to use for the affiliates I gto from SA a few years back is ...

loads_aff();

Just place that code somewhere in your Info center and test around with it.

Kindred

hrmm.....


index.php?action=affiliates;sa=veiwaff
8: Undefined index: aff
File: /.../Sources/Affiliates.php
Line: 114
[code]

[code]
108: function Affiliates_veiwaff() {
109:
110: // Must global it otherwise we get erros
111:    global $txt, $context, $smcFunc, $scripturl, $request;
112:    
113: //TODO: change id to somthing else
==>114: $id = (int) $_REQUEST['aff'];
115:
116: if (empty($id))
117: fatal_error($txt['aff_error_a']);
118:
119: $context['sub_template']  = 'affveiw';
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

matthewfever

Hello, can someone help me with my affiliate. for some reason the image is not showing, and im clueless why. Also it shows my site as insecure after posting this link, all other pages are secure except the page with the link.

Quote<!--- START hxxp:gtxgaming.co.uk [nonactive] BANNER --> <a href="hxxp:www.gtxgaming.co.uk/clientarea/aff.php?aff=3 [nonactive]" target="_blank"><img src="hxxp:www.gtxgaming.co.uk/images/gtxgamingbanner.jpg [nonactive]" alt="Game Servers" border="0"></a><br> <!--- END hxxp:gtxgaming.co.uk [nonactive] BANNER -->


Kindred

well... look at the link... it is http.  Since that is http, and your site is https, it will indeed show as insecure


that also probably explains why it is not displaying
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


Kindred

You did not fully uninstall...  therefore, the code was duplicated when you reinstalled.

You will have to manully remove the duplicated code (and there may be additional, non-visible spots where code was duplicated)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: