Home arrow Forum
Add username to banner url!?
  Welcome, Guest. Please login or register.
December 03, 2008, 09:53:34 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  Mambo 3rd Party Addon Hacks  |  Mambot Hacks  |  Topic: Add username to banner url!? « previous next »
Pages: [1] Go Down Print
Author Topic: Add username to banner url!?  (Read 5045 times)
woostar
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Add username to banner url!?
« on: July 26, 2005, 08:11:40 PM »

Hi folks ::~

Wonder if someone can give me a hand ~ is there anyway i can alter the mambo code very slightly so that I can track who click on which banner...

for example if I put:
http://www.bluehost.com/track/woostar/ref?= 
into the the manner manager...

I would like the mambo username to be added to the end?


I know this is so simple I'll kick myself when u tell me but alas I'm totally hopeless  Grin


Cheers Guys
W Cheesy
« Last Edit: July 26, 2005, 08:14:28 PM by woostar » Logged
Luke Thomas
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 16


View Profile
Re: Add username to banner url!?
« Reply #1 on: July 27, 2005, 11:39:42 AM »

Yes this is very simple for programmers.
I can tell you if I just have access to the code right now.
You may wanna look at login.php.

But the question is, why you want to do that.
I'm just wondering, maybe you're just wasting your time.
Logged
woostar
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Add username to banner url!?
« Reply #2 on: July 27, 2005, 09:51:43 PM »

Yes this is very simple for programmers.
I can tell you if I just have access to the code right now.
You may wanna look at login.php.

But the question is, why you want to do that.
I'm just wondering, maybe you're just wasting your time.

I want to do this to offer reward points to ppl who support the website.

was thinking that i need to add the username variable to mod_banner.php somewhere...

was thinking somewhere in the code below???

Code:
echo $banner->custombannercode;
} else if (eregi( "(\.bmp|\.gif|\.jpg|\.jpeg|\.png)$", $banner->imageurl )) {
$imageurl = "$mosConfig_live_site/images/banners/$banner->imageurl";
echo "<a href=\"".sefRelToAbs("index.php?option=com_banners&amp;task=click&amp;bid=
$banner->bid")."\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt=\"Advertisement\" /></a>";


Any help would be appreciated.


Thanks
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Add username to banner url!?
« Reply #3 on: August 03, 2005, 10:51:16 AM »

Woostar,

This seems like a good idea but you need to track whether the user had already  clicked a certain banner. Otherwise, the system will get abused just to get rewards.

About the code, I think that's the exact code for the banner.
Logged
Pages: [1] Go Up Print 
Forum  |  Mambo 3rd Party Addon Hacks  |  Mambot Hacks  |  Topic: Add username to banner url!? « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE