Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: adding google ads to wfdownloads visit.php *solved*
by irmtfan on 2006/10/21 22:17:10

Or instead you can change all " to ' in "google ads code" like i do!

Quote:
if you upload the files to your server using the browse function on the submit form, you will never see that screen when you click to download it..


So as m0nty mentioned why not add the code to templates like "wfdownloads_singlefile.html" that i think too much better.
Re: adding google ads to wfdownloads visit.php *solved*
by martyboy on 2006/10/21 22:10:15

OK I got this one fixed, woo hoo,

after a quick search on google I realsied i was getting the T_STRING error because the original echo statement was opened with " and I had to escape out any " in the ad code with /" I tried tha however and i couldnt get it to work..so, after the original echo Quote:
/n";


I opened a new echo with Quote:
echo '
using ' instead of " i pasted the google code into this new echo and it all works fine.
Re: adding google ads to wfdownloads visit.php *solved*
by martyboy on 2006/10/21 21:44:01

I have encountered a problem, I added the code like irmtfan said but I get:
Quote:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in ****\html\modules\wfdownloads\visit.php on line 121


Line 121 is:Quote:
<script type="text/javascript"><!--


I took out the code and just put in plain text and the plain text shows up fine, not sure whats going wrong and im not sure where ',' or ';' should be within line 121, any ideas?

Thanks.
Re: adding google ads to wfdownloads visit.php
by martyboy on 2006/10/21 19:59:15

Thanks for your help guys

Quote:

m0nty wrote:
but note. you only ever see that screen when your downloads are using a remote url..

if you upload the files to your server using the browse function on the submit form, you will never see that screen when you click to download it..


Thanks for that monty, I didnt know that was the case, i only have a few donwloads uploaded, the most popular ones i FTP then type the url in.

Cheers.
Re: adding google ads to wfdownloads visit.php
by m0nty on 2006/10/21 19:21:33

yep you should be able to.. use the echo command in php tho as irmtfan mentioned.

but note. you only ever see that screen when your downloads are using a remote url..

if you upload the files to your server using the browse function on the submit form, you will never see that screen when you click to download it..

Who's Online

532 user(s) are online (481 user(s) are browsing Support Forums)


Members: 0


Guests: 532


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits