• Welcome to Simple Machines Community Forum. Please login or sign up.
December 05, 2021, 08:02:27 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Affiliates System

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

Previous topic - Next topic

SA™

@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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

taha116

December 09, 2008, 12:23:04 PM #41 Last Edit: December 09, 2008, 12:33:55 PM by taha116
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
"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

taha116

December 09, 2008, 12:43:22 PM #42 Last Edit: December 09, 2008, 12:48:16 PM by taha116
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)
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


Fatal error: Call to undefined function ModifyAffiliatesSettings() in /home/playnow/public_html/Sources/ManageSettings.php on line 152
"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

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SA™

http://samods.github.io/SAChatBar/

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

taha116

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

taha116

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

taha116

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

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

taha116

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

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

taha116

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

cleanfiles

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.

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

cleanfiles

The block is just empty.
Here is what it says to do when creating a php block.

<?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";

?>


SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

cleanfiles

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.

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

cleanfiles

No worries, I will keep this thread bookmarked. :)

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: