| 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 ' |
| 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:
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.. |