Advertisement:

Author Topic: Affiliates Mod [v3.0 RELEASED!!]  (Read 137697 times)

Offline Nick Whetstone

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,817
    • nickwhetstone on Facebook
    • nickwhetstone on GitHub
    • nickwhetstone on LinkedIn
Affiliates Mod [v3.0 RELEASED!!]
« on: July 25, 2008, 02:28:04 PM »

SMF Affiliates Mod 3.0.3 - NIBOGO
Powerful affiliates system , with control of every single affiliate and banner.



Author
:
- NIBOGO

Features:
o You can create unlimited affiliates and forum banners.
o Support BBCODE and Smileys , with the powerful SMF WYSIWYG Editor for the Requirements
o Set Permissions for edit own, delete own, autoapprove, add and manage affiliates.
o Simple and friendly admin panel for all Affiliates Settings.
o You can enable/disable every affiliate with just one click.
o Support for the Linktree.
o Support for the Who is online list , 'Viewing the Affiliates'.
o Nice layout for the Affiliates index and Admin Panel.
o Affiliates Settings with a lot of options.
o Support Affiliates on BoardIndex with a lot of options based on marquee.
o SSI Functions with Affiliates 'ssi_affiliates()' and random affiliate 'ssi_random_affiliate()'.
o Easy manual installation , you can manually install the db with the db_affiliates.php
o You will have an empty error log.
o Comment the affiliates, based on permissions and with moderation control.
o Integration with all the portal systems using the SSI Functions.
o Google PageRank Support.
o Vote the Affiliates with +1 or -1.
o Affiliates Stats with all the information of you need.
o Keep your mod up to day in the Affiliates Version.
o Support Affiliates v3.0.X for SMF 2.0 ONLY
If you are using SMF 1.1.X please use the 1.4 version (Don't have all this options)

Manual Edit:

The SMF Affiliates Mod v3.0 has a new feature , Affiliates Manual Database Installation you only need to upload the file "db_affiliates.php" and open the file on your browser:

http://www.yourforum.com/smf/db_affiliates.php

Now If you want to do the Manual Edit of all the files you can try the affiliates_manual_edit.html on your browser and follow all the steps

Planned Features:
o Port the mod to SMF 1.1.X

Languages:
- English/English UTF8
- Spanish_es/Spanish_latin - Spanish_es-utf8/Spanish_latin-utf8

Compatibility:
- 2.0 RC1-1 [v3.0]
- 2.0 RC1 [v3.0]
- 1.1.X [v1.4]

Special Thanks:
- Tango Icons Library: I am using a file from this library as the Affiliates Icon.
- Fam Fam Fam Icons: I am using some icons in the mod

Changelogs:

3.0.3 - 03 June 2009
o Fixed some minor bugs - reported by Özgür´


3.0.2 - 03 June 2009
o Added an option to require image verification (captcha) for guest in comments and add affiliate, can be turned off in the Affiliates Settings
o Added the email field in the affiliates awaiting approval
o Fixed a MySQL Bug editing a banner - reported by tyty1234
o Fixed a bug with the permission to show icons in the Link to Us - reported by Özgür´
o Fixed a lot of bugs with permissions for add, comment and vote - reported by Özgür´
o Fixed "Undefined variable: affiliate" in the error log - reported by Özgür´
o Fixed a bug with missed language strings - reported by Özgür´
o Added strings for the permissions system
o Fixed a bug with the Affiliates tab name
o Fixed "Undefined index: id_affiliates" in the error log - reported by Özgür´
o Fixed a bug approving or disapproving an affiliate

3.0 - 02 June 2009
o Added Comments with moderation and based on permissions
o Added Affiliates Stats
o A lot of bugs has been fixed
o Rate the affiliates!
o Improvement all the code
o Added Google PageRank Support
o Changed a lot of minor things
o Fixed some bugs in the Affiliates Version Page
o Added Support for SMF 2.0 RC1-1
o Much more, install the mod and check all the new things

2.0 - 24 March 2009
o Total re-estructure of all the mod , a lot of changes and new features to many to be listed here.

1.3 - 17 Feb 2009
o Added Support for SMF 2.0 RC1 & 1.1.8

1.1 - 17 August 2008
o Stable Version
o Support for SMF 2.0
o Added mouse stop effect to the marquee
o Added Spanish and Spanish-utf8/English-utf8 Support
o Moved all the languages to Modifications.english
o If the affiliates are empty they dont appear
o You can have your custom title for affiliates
o Redirect to the affiliates settings after the installation

1.0 BETA - 17 July 2008
o Initial Beta Release
« Last Edit: January 03, 2010, 07:57:04 PM by NIBOGO »
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Offline cme1st2302

  • Sophist Member
  • *****
  • Posts: 1,075
  • Gender: Male
    • East Coast Astro
Re: Affiliates Mod
« Reply #1 on: July 25, 2008, 04:27:55 PM »
Do you have a screenshot of it in action? 
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Offline John Rambo

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
  • Ülkesiz Asker
Re: Affiliates Mod
« Reply #2 on: July 25, 2008, 05:33:00 PM »
Screenshots?

Offline qtime

  • Full Member
  • ***
  • Posts: 501
Re: Affiliates Mod
« Reply #3 on: July 25, 2008, 08:28:06 PM »
like to know the function of it.

Offline digit

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
Re: Affiliates Mod
« Reply #4 on: July 26, 2008, 02:30:11 AM »
I manually installed it.   It adds a new section on your forum homepage, below users online, where you can add some text....

I changed all occurrences of "Affiliates" to "Announcements", and I find it pretty cool! 

p.s., I would like to see the ability to change the word "Affiliates" in the features and options section.  It would make this mod very useful and flexible.
« Last Edit: July 30, 2008, 08:37:58 AM by digit »
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,638
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Affiliates Mod
« Reply #5 on: July 26, 2008, 05:57:22 PM »
Screenshots?

Do you have a screenshot of it in action? 

Screenshots added to the mod page:

http://custom.simplemachines.org/mods/index.php?mod=1297

like to know the function of it.

Look the images ;)

I manually installed it - it's very easy - you should try before asking for screen shots!  It simply adds a new section on your forum homepage, below users online, where you can add some text....  and that's ALL!

I am afraid "affiliates mod" is a bit of a misnomer.  You could add any text. 

Do I give it a thumbs up or thumbs down?   I'm not pointing any fingers!

I changed the name of MY mod to Announcements mod!

I simply changed all occurrences of "Affiliates" to "Announcements", and I find it pretty cool! 

p.s., I would like to see the ability to change the word "Affiliates" in the features and options section.  It would make this mod very useful and flexible.

Thanks!!

Remember of this is mod is in BETA , so maybe i add the ability to change the "Affilates" to another word

Offline damnitmike

  • Semi-Newbie
  • *
  • Posts: 95
  • Gender: Male
Re: Affiliates Mod
« Reply #6 on: July 26, 2008, 07:11:29 PM »
Nice Mod!

How about making them scroll! Mouseover stops the scroll....

The boards need some movement and this will let you put a ton of affiliates in there!

Nice job!

Offline John Rambo

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
  • Ülkesiz Asker
Re: Affiliates Mod
« Reply #7 on: July 26, 2008, 10:03:48 PM »
Good job! :)

Offline damnitmike

  • Semi-Newbie
  • *
  • Posts: 95
  • Gender: Male
Re: Affiliates Mod
« Reply #8 on: July 27, 2008, 07:03:10 AM »
Oh My Bad!

I see you do have a marquee behavior for it....


sweeeeet.

Offline BuЯЯЯЯaK

  • SMF Hero
  • ******
  • Posts: 2,121
  • Gender: Male
  • Burak
    • dinle sevgili
Re: Affiliates Mod
« Reply #9 on: July 27, 2008, 07:05:46 AM »
Good Job Thanks NİBOGO

Offline Free Town

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
Re: Affiliates Mod
« Reply #10 on: July 27, 2008, 11:40:32 AM »
Good job, but you should have seperate lines for it, would make it much easyer to use

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,638
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Affiliates Mod
« Reply #11 on: July 27, 2008, 09:52:07 PM »
Good job! :)

Good Job Thanks NİBOGO
 

Thanks  ;)

Oh My Bad!

I see you do have a marquee behavior for it....


sweeeeet.

 :P :P :P

Good job, but you should have seperate lines for it, would make it much easyer to use

Maybe in the next version

Offline Adish - (F.L.A.M.E.R)

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Affiliates Mod
« Reply #12 on: July 28, 2008, 12:15:26 PM »
Well it all got installed properly but The base section of Affility mod isnt shown. I dunno why. I am using the theme Dark Night and there arnt any theme edits of index.template.php for the theme i guess...

Any idea what to do ?

Thanks.

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,638
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Affiliates Mod
« Reply #13 on: July 28, 2008, 07:18:29 PM »
Well it all got installed properly but The base section of Affility mod isnt shown. I dunno why. I am using the theme Dark Night and there arnt any theme edits of index.template.php for the theme i guess...

Any idea what to do ?

Thanks.

Is neccesary of modify your BoardIndex.template in the "Dark Night" folder , make the modification posted in the first post in "Manual Edit"

Offline Adish - (F.L.A.M.E.R)

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Affiliates Mod
« Reply #14 on: July 28, 2008, 07:29:19 PM »
Code: [Select]
// Show the login bar. (it's only true if they are logged out anyway.
Tha above code is to be found in boardindex.template.php but it is not present in the Dark Night theme.

Find the attached file, and if possible please tell me the edits which i have to do in there.

Thanks.

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,638
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Affiliates Mod
« Reply #15 on: July 28, 2008, 08:09:49 PM »
Code: [Select]
// Show the login bar. (it's only true if they are logged out anyway.
Tha above code is to be found in boardindex.template.php but it is not present in the Dark Night theme.

Find the attached file, and if possible please tell me the edits which i have to do in there.

Thanks.

Try with the file of i attach

Offline Adish - (F.L.A.M.E.R)

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Affiliates Mod
« Reply #16 on: July 28, 2008, 08:13:40 PM »
Yep Now it works well.. Can you tell me the edits you have done so next time i can do it myself ?

Thanks.

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,638
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Affiliates Mod
« Reply #17 on: July 28, 2008, 08:21:36 PM »
Yep Now it works well.. Can you tell me the edits you have done so next time i can do it myself ?

Thanks.

Of course

In your theme i cant find the login bar so:

FIND:
Code: [Select]
// Show YaBB SP1 style information...
    if ($settings['show_sp1_info'])
    {
        echo '
        <tr>
            <td class="titlebg" colspan="2">', $txt[645], '</td>
        </tr>
        <tr>
            <td class="windowbg2"><a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" border="0" /></a></td>
            <td class="windowbg" width="100%">
                <div class="smalltext">
                    <div>', $txt[64], ': ', $context['common_stats']['total_topics'], ', ', $txt[21], ': ', $context['common_stats']['total_posts'], ', ', $txt[19], ': ', $context['common_stats']['total_members'], ',
                    </div>
                    <div>', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b></div>
                </div>
            </td>
        </tr>';
    }

ADD AFTER:

Code: [Select]
//Affiliates by: www.mundo-se.com     
    if (!empty($modSettings['arrange_affiliates']) && (!empty($modSettings['affiliates'])))
    {
    echo '<tr>
     <td class="titlebg" colspan="2">', $txt['affiliates_index'], '</td>
   </tr>
   <tr>
      <td class="windowbg">
           <img src="', $settings['images_url'], '/icons/members.gif" border="0" width="20" alt="', $txt['affiliates_index'], '"/>
      </td>
      <td class="windowbg2" width="100%">';
      if (!empty($modSettings['arrange_affiliates_marquee']))
       echo '<marquee><span class="smalltext"> ' . parse_bbc($modSettings['affiliates']) . '</span></marquee>';
       else
       {
        echo '
        <span class="smalltext"> ' . parse_bbc($modSettings['affiliates']) . '</span>';
        }
    echo '  </td>
   </tr>';
   }   

Offline Adish - (F.L.A.M.E.R)

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Affiliates Mod
« Reply #18 on: July 28, 2008, 08:28:00 PM »
okay. I will remember about it. Well I was kind of having the same prob with something else if you can help.

check:- http://www.simplemachines.org/community/index.php?topic=55513.msg1631641#msg1631641

Thanks for the help.