Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
Hack Name: Affiliation Hack

Authors: M_E_W & KEVaholic00

Version: Made for 6.05, but it may work on other version to, don't know.

Description: This hack adds an affiliate page that will be (www.yoururl.com/cgipath/ultimatebb.cgi?ubb=affiliate). You can also add the affiliate buttons/site title/link/description ect for each affiliate button or text if your allie does not have a button. All of this is done from the control panel so you don't have to worry about editing files so this makes adding new affiliates easy as pie ^_^.

Download Link: http://www.ultanime.net/ubb/hacks/affiliate.zip

Demo: http://www.ultanime.net/cgi-bin/ultimatebb.cgi?ubb=affiliate

Mirror Download Site:
Demo: http://www.ceanime.com/cgi-bin/ubb/ultimatebb.cgi?ubb=affiliate
Download: www.ceanime.com/ubbhacks/affiliate.zip

Enjoy , and remember always to back up your files before hacking.

*NOTE*
This hack may not be re-made without my permission.


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Sponsored Links
Joined: Jun 2001
Posts: 297
Member
Member
Offline
Joined: Jun 2001
Posts: 297
great hack!

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Nice work M_E_W. I have it working at my forums.

Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
Just anote, Nothing has changed form the beta hack

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
Yup, nothing changed. Everything should work perfectly .


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well thats good. We don't have to upgrade it.

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
quote:
Originally posted by Lord Dexter:
Well thats good. We don't have to upgrade it. smile .


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
i installed this hack and the affiliate page shows up but when i go into the cp part and click the add button i get this error.
Undefined subroutine &main::WriteFileAsString called at /usr/home/ganja/lcirc.net/cgi-bin//bdforum/forum/ubb_lib.cgi line 668. any help is very much appreciated.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Post line 668 of ubb_lib.cgi here please.

Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
srand(time); is line 668 its part of this whole string
sub GeneratePasswordCore {
my @digit = ('A'..'Z',1..9);
srand(time);
return join '',map{$digit[rand(@digit)]}(1..$_[0]);
}
it worked fine until i installed this hack.

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Did you need to add that code in for this hack?

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
quote:
Originally posted by Lord Dexter:
Did you need to add that code in for this hack?

No, the only code you edit in ubb_lib.cgi is:
quote:
###Open ubb_lib.cgi
#after

$vars_wordlets{forum_home_link}

#add

| $vars_wordlets_mods{affiliate_link}


###Close + Save



//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well something else must be causing the problem then.

Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
yes M_E_W is correct thats all that is added to the ubb_lib but everything was fine until i added that, i have no idea why it is giving me an error on line 668
can i add the sites manually?if so can u give me an example?

P.S i am using 6.1.0.2 if that matters.
thx

[ 12-16-2001 02:19 PM: Message edited by: MrQ ]


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)