Advertisement:

Author Topic: SMF Affiliates System  (Read 177686 times)

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #40 on: December 08, 2008, 11:12:31 AM »
@taha116
go ahead and install it and post up you
ManageSettings.php please
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 taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #41 on: December 09, 2008, 12:23:04 PM »
Ok guys im trusting you.... HERE i Goooo.....

Actually give me a little time ill backuo evrything... lol

Backup complte installing now and then i will carry on with posting the file

will take 2-3 minutes
« Last Edit: December 09, 2008, 12:33:55 PM by taha116 »
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #42 on: December 09, 2008, 12:43:22 PM »
Ok Done, just wondering what about the  managesettings.php file that ends with this symbol ~ because i saw alot of files that end with that? Do you need that 2?

I couldn copy paste it exceded maximum lenth limit so you must download the attacment

BTW when it redirected me after instilation this is wat happened

I love this thing (If this was your idea it was awesoem I hate looking for the location of a mods settings the first time)
Code: [Select]
Redirecting...
Congratulations! The Affiliates modification was installed successfully. You will now be taken to the page where the settings for the modification are located.

Redirect Now | Return to Package Manager

and then it took me to: http://dubanime.co.cc/index.php?action=admin;area=featuresettings;sa=affiliates

Code: [Select]
Fatal error: Call to undefined function ModifyAffiliatesSettings() in /home/playnow/public_html/Sources/ManageSettings.php on line 152
« Last Edit: December 09, 2008, 12:48:16 PM by taha116 »
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #43 on: December 09, 2008, 12:46:57 PM »
files with ~ at the end are back ups ever time you install a mods and it edits a files it makes a backup
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: smf affiliates
« Reply #44 on: December 09, 2008, 12:50:23 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 -___-

Offline taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #45 on: December 09, 2008, 12:50:28 PM »
Thats what i suspected too, Thats Smart

One othe off topic question
Why does SMF require so little resourses, i used to use worpress and it killed resourses like crazy.... Espacially the Mods for it, they really really killed it and got me suspended on my host (I lost my increasingly succesful site because of it  :'( )
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #46 on: December 09, 2008, 12:50:46 PM »
ok doing it! Should i just copy paste it into it or delete and upload (I know i ask stupid questions)
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #47 on: December 09, 2008, 12:58:58 PM »
Looks like a succes... Im gona test out evrything....

Isnt there a reptation system or sumthing cuz i really want to add to yours if there is. Or anything else that i can do without money? other than the linkback that im sure is already on the package pages by default
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #48 on: December 09, 2008, 01:02:15 PM »
not that i know of there isnt if you use this mod then your linking to my site therw the copyrigts that good enought for me  ;)
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 taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #49 on: December 09, 2008, 01:18:11 PM »
Ok, Then i guess that the best i can do.

I have one more problem i just want to know if it might have anything to do with the php code you gave me conflicting with some settings that i had set previously. I use simpleportal and i use the top posters block.  I have set certain boards to not increase psot count but it seemes to count those ones anyways... Do u think its the code u just gave me or is it a flaw in simpleportal?

Do you think i should contact the simpleportal creators about this?
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #50 on: December 09, 2008, 01:28:07 PM »
ill look into that one but you can ask sp still i guess
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 taha116

  • Jr. Member
  • **
  • Posts: 270
Re: smf affiliates
« Reply #51 on: December 09, 2008, 06:24:23 PM »
Ok Thanks for your help. And BTW you seem like a skilled Mod Maker for SMF so i wanted to make some suggestions

Y dont you take affilates to another level, Make it better. Like an approval system for affiliates integrated with smf instead of just e-mail. So when people submit thier site you can check and press accept/decline. ETC

But still this is still an awesome mod
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Offline cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: smf affiliates
« Reply #52 on: December 13, 2008, 08:11:03 PM »
Anybody have any idea how to add it to a block in MKPortal?
I tried the code for Simple Portal, but it doesn't work.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #53 on: December 13, 2008, 08:13:29 PM »
hmm im not sure bout that i dont use mk portal what happens when you add it to mk portal ??
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 cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: smf affiliates
« Reply #54 on: December 13, 2008, 08:22:20 PM »
The block is just empty.
Here is what it says to do when creating a php block.
Code: [Select]
<?php 
/*
Write code inserting output inside
variable $content as in following example.
You have DB connection, all global vars
and all MKPortal and Forum functions at your availability
*/

$nome $mkportals->member['name'];
$content="Hi $nome";

?>


Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #55 on: December 13, 2008, 09:05:10 PM »
did you have affiliates in board index block there two boxes affiliates page and affiliates on boardindex
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 cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: smf affiliates
« Reply #56 on: December 13, 2008, 09:25:03 PM »
Every part of the mod works fine, no errors. I just would like to add it to MKPortal.
The Affiliates block displays just nice on the forum index, and when you click on affiliates.
To answer your question, yes i have the same code added to both boxes.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #57 on: December 13, 2008, 09:28:32 PM »
hmm im not yo shore then with out setting up mk portal wich i cant at the moment dont have ftp acess soon as ftp comes back on ill set up another test site for mk portal
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 cleanfiles

  • Semi-Newbie
  • *
  • Posts: 94
Re: smf affiliates
« Reply #58 on: December 13, 2008, 09:31:20 PM »
No worries, I will keep this thread bookmarked. :)

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: smf affiliates
« Reply #59 on: December 13, 2008, 09:32:55 PM »
ok bump this to morrow night to remind me case i forget 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 -___-