Complete Banners Ads Redirection?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Complete Banners Ads Redirection?
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Hi all,
I recently installed the complete banner ads mod, but one problem icon_cry.gif

When you click on it it takes you to a 404 pages.

That's about all I can say on it I have the redirect page set to
[ Register or login to view links on this board. ]

and it gives me this 404...




Oh dear! You appear to be lost! You've come somewhere you shouldn't be!

Please press back on your browser of if it is NICruisin.com that you are looking for then jsut type in:
[ Register or login to view links on this board. ] [ Register or login to view links on this board. ] This is where you where coming from!

xx.x.xx.xxx This is your IP Address!

/html/redirect?banner_id=1&sid=1b88dbcddaa28447ccc2ffcc94751130 This is where you wanted to go. (It doesn't appear to exist!)
[ Register or login to view links on this board. ] This is the name of your server!

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) This is the browser type you are using!

404 This is your status code!


If you feel you have received this message in error or you know something should be here, then please let us know! Just use the details above to show us the error that you got and we'll get it sorted!



Thanks in advance guiys icon_biggrin.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Looks like the append_sid function isnt working. open your includes/page_header.php and find this line:

$template->assign_var('BANNER_'.$banner_spot.'_IMG', '<a href="'.append_sid('redirect.'.$phpEx.'?banner_id='.$banners[$i]['banner_id']).'" target="_blank"><img src="'.$banners[$i]['banner_name'].'" '.$banner_size.' border="0" alt="'.$banners[$i]['banner_description'].'" title="'.$banners[$i]['banner_description'].'" /></a>');


Replace it with this:

$template->assign_var('BANNER_'.$banner_spot.'_IMG', '<a href="modules.php?name=Forums&amp;file=redirect&amp;banner_id='.$banners[$i]['banner_id'].'" target="_blank"><img src="'.$banners[$i]['banner_name'].'" '.$banner_size.' border="0" alt="'.$banners[$i]['banner_description'].'" title="'.$banners[$i]['banner_description'].'" /></a>');


Make a back up and let me know how it goes.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Complete Banners Ads Redirection?
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Thanks for the extremely quick reply! icon_biggrin.gif

However now when I click on it it says...




Sorry such file does not exist...


icon_cry.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Ok try it again I made a small change to it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Complete Banners Ads Redirection?
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
That's the one!

Thank you very much! icon_biggrin.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum