Advertisement:

Author Topic: Affiliates System  (Read 178547 times)

TheListener

  • Guest
Re: SA affiliates
« Reply #360 on: August 06, 2009, 12:43:27 PM »
Attachment as requested

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #361 on: August 06, 2009, 12:49:31 PM »
try this
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

TheListener

  • Guest
Re: SA affiliates
« Reply #362 on: August 06, 2009, 01:20:30 PM »
Had this error on install.

Fatal error: Cannot redeclare affiliatesboard() (previously declared in /Sources/BoardIndex.php:272) in /Sources/BoardIndex.php on line 318

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #363 on: August 06, 2009, 01:23:15 PM »
thats cos it allready in that file


find and remove one of these from boardindex.php

Code: [Select]
//Affiliates Start
function affiliatesboard()
{
     global $context, $smcFunc, $txt, $db_prefix, $scripturl, $modSettings;
         // Newest members top 10
    $result = $smcFunc['db_query']('', '
SELECT a.id_affiliates, a.image, a.description
FROM {db_prefix}affiliates AS a
WHERE  approved = 1
ORDER BY a.id_affiliates DESC',
      array(
      )
   );
   $context['aff'] = array();
   while ($row = $smcFunc['db_fetch_assoc']($result))
   {
      $context['aff'][] = array(
        'id' => $row['id_affiliates'],
'image' => $row['image'],
'description' => $row['description'],
      );
   }
   $smcFunc['db_free_result']($result);
}
//Affiliates End
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

TheListener

  • Guest
Re: SA affiliates
« Reply #364 on: August 06, 2009, 01:33:49 PM »
Wahey. Everything seems ok so far.

With affiliate banners should I save the banner images and make a folder for them?


Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #365 on: August 06, 2009, 01:38:14 PM »
what do you mean your affiliate banners or you actual affiliates
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

TheListener

  • Guest
Re: SA affiliates
« Reply #366 on: August 06, 2009, 01:42:39 PM »
The banners themselves.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #367 on: August 06, 2009, 01:53:21 PM »
it up to realy u can if you want to
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

TheListener

  • Guest
Re: SA affiliates
« Reply #368 on: August 06, 2009, 01:54:53 PM »
The reason I ask is due to some saying the banners have to be on our own servers OR some banners sonly showing as links and not as the actual banner itself.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #369 on: August 06, 2009, 01:56:19 PM »
i dont do it like that my babnners are all over the place lol and they all show
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #370 on: August 13, 2009, 12:23:14 AM »
affiliates 2.1 for smf 1 released :D
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

TheListener

  • Guest
Re: SA affiliates
« Reply #371 on: August 13, 2009, 12:24:21 AM »
Am getting used to adding banners now. Don't require a wig just yet.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #372 on: August 13, 2009, 12:47:42 AM »
lol
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline ArkServer

  • SMF Hero
  • ******
  • Posts: 1,831
  • My posts are my own
    • BlushyFace | A spoopy and creppy site
Re: SA affiliates
« Reply #373 on: August 13, 2009, 05:14:04 AM »
Hi, i've installed it for 1.1.10 but when i go to the admin page and click the smf affiliate link it returns to the forum index. and idea how to fix this>?

TheListener

  • Guest
Re: SA affiliates
« Reply #374 on: August 13, 2009, 05:27:16 AM »
Can we see the link to your forum please.

Offline ArkServer

  • SMF Hero
  • ******
  • Posts: 1,831
  • My posts are my own
    • BlushyFace | A spoopy and creppy site
Re: SA affiliates
« Reply #375 on: August 13, 2009, 01:17:03 PM »

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #376 on: August 13, 2009, 03:30:39 PM »
sound like it didnt install properly can i see your index.php and subs.php please

or check to see if the edits are there

index.php

Code: [Select]
'.xml' => array('News.php', 'ShowXmlFeed'),add
Code: [Select]
'affiliatesadmin' => array('smf_affiliates_admin.php','Affiliates_admin'),
subs.php
find
Code: [Select]
'edit_settings' => '<a href="' . $scripturl . '?action=serversettings;sesc=' . $sc . '">' . $txt[222] . '</a>',
after add
Code: [Select]
'affiliates_admin' => '<a href="' . $scripturl . '?action=affiliatesadmin;sesc=' . $sc . '">' . $txt['affiliates_smf'] . '
find
Code: [Select]
$context['in_maintenance'] = !empty($maintenance);
add
Code: [Select]
$context['affiliates_admin'] = allowedTo('affiliates_admin');
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline ArkServer

  • SMF Hero
  • ******
  • Posts: 1,831
  • My posts are my own
    • BlushyFace | A spoopy and creppy site
Re: SA affiliates
« Reply #377 on: August 13, 2009, 03:55:18 PM »
see attachment

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #378 on: August 13, 2009, 04:06:14 PM »
hmm all the edits are there is there any errors in error logs ?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA affiliates
« Reply #379 on: August 13, 2009, 04:09:33 PM »
isee the actual addlink dont work neither

why are your links like this

http://www.javaforums.net/forum/affiliates.html;sa=addlink
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-