PDA

View Full Version : Link Exchange Component problem


ftumind
17.04.2004, 19:57
I have just install Link Exchange Component from Webraydian.com. You can download it here:ftp://ftp.webraydian.com/betatesters/com_linkexchange.zip

The component works grate with Stable 4.5 (0.0.7).
However, I think when the people click back to our site. It should be directed to the main page, not the page of Link Exchange
You can see it when click at following link:
http://www.casinotalks.com/index.php?option=com_linkexchange&Itemid=119&ClickMember=1&HitsIn=100

Is there any one here have fix?

BTW, as far as I know, there is a module that comes along with this component. Anyone knows where to get it?

BennieBlanco
17.04.2004, 20:52
[QUOTE=ftumind]I have just install Link Exchange Component from Webraydian.com. You can download it here:ftp://ftp.webraydian.com/betatesters/com_linkexchange.zip

The component works grate with Stable 4.5 (0.0.7).
However, I think when the people click back to our site. It should be directed to the main page, not the page of Link Exchange
You can see it when click at following link:
http://www.casinotalks.com/index.php?option=com_linkexchange&Itemid=119&ClickMember=1&HitsIn=100

linkexchange.php: line 596

$wLInk="index.php?option=com_linkexchange&Itemid=$Itemid&ClickMember=$ID&HitsIn=1";

change to this
$wLInk="";

ftumind
19.04.2004, 04:08
[QUOTE=ftumind]I have just install Link Exchange Component from Webraydian.com. You can download it here:ftp://ftp.webraydian.com/betatesters/com_linkexchange.zip

The component works grate with Stable 4.5 (0.0.7).
However, I think when the people click back to our site. It should be directed to the main page, not the page of Link Exchange
You can see it when click at following link:
http://www.casinotalks.com/index.php?option=com_linkexchange&Itemid=119&ClickMember=1&HitsIn=100

linkexchange.php: line 596

$wLInk="index.php?option=com_linkexchange&Itemid=$Itemid&ClickMember=$ID&HitsIn=1";

change to this
$wLInk="";
Thank you for your suggestions. Your solution is OK. However, It I will not count "Hits in" when our banner is clicked from the outsite.
I have found a workaround for this:
In index.php file of root foder, find:
if (!file_exists("templates/$cur_template/index.php")){
echo "Template File Not Found!";
} else {
require_once( "templates/$cur_template/index.php" );
}


Below it add:

//Begin redirect to homepage after count hit
if ($option == "com_linkexchange"){
$ClickMember = trim( strtolower( mosGetParam( $_REQUEST, 'ClickMember' ) ) );
$HitsIn = trim( strtolower( mosGetParam( $_REQUEST, 'HitsIn' ) ) );
if ($ClickMember && $HitsIn){
mosRedirect( 'index.php' );
}
}
//End redirect to homepage after count hit

ftumind
19.04.2004, 04:20
I really need a module to display the links exchange banners at the mainpage.
Where can I find it?Anyone can help?

stingrey
19.04.2004, 06:05
I really need a module to display the links exchange banners at the mainpage.
Where can I find it?Anyone can help?Nothing like that exists.

Your basically gona have to do it yourself or find someone willing to do it for you.

I might have offered to help out, but am drowning in a couple of projects as it is :rolleyes:

Raydian
20.04.2004, 18:23
The module should be inside that file!

mod_linkexchange.zip

Just extract it and install!


Find it here, if it's not inside the zip.

Scroll Members Module:
ftp://ftp.webraydian.com/webdownloads/mod_linkexchange.zip

As far as the going to linkexchanges page! you could mosredirect to the front page. This way the component will count the hit and then redirect to the main site!

I'll look into adding something (an option) in a later release.

Anything else?

tonyskyday
20.04.2004, 18:50
I could've sworn I posted in here that Raydian had made a module! I must be going nuts.

Anyway, I didn't realize it was included in the package, that's cool.

-Tony

stingrey
21.04.2004, 04:35
The module should be inside that file!

mod_linkexchange.zip

Just extract it and install!Tells you what I know :O

Oops, thanks Raydian for clearing that up :)