| Author |
Message |
skalinks Admin
|
Posted: 14 Jun 2005 05:45:30
Version 1.2 comes with new features and several bugfixes. More details about changes are at http://www.skalinks.com/download.php. Follow http://www.skalinks.com/inst_manual.php to install script properly.
|
Bart Member
|
Posted: 14 Jun 2005 15:34:23
Funky dudes :) Just spent half an hour manually comparing versions as I tweaked my SkaLinks 1.1 already ;) Can't just overwrite it...
Anyhoo I fixed design.php to handle javascript (or html) in the advertisement blocks:
Replace line 166:
$output.=$result['Template'];
With:
$output.=str_replace("<", "<", str_replace(">", ">", $result['Template']));
Now you are able to add javascript advertisements like Adsense :) :)
|
skalinks Admin
|
Posted: 15 Jun 2005 02:21:26
Advertisement block works nice, we don't see any reasons to change anything i code. Anyhoo I fixed design.php to handle javascript (or html) in the advertisement blocks:
Replace line 166:
$output.=$result['Template'];
With:
$output.=str_replace("<", "<", str_replace(">", ">", $result['Template']));
We don't understand the sense of remark :)
In new version of SkaLinks we will give a new tooling for upgrade old version of script. It will be a new changelog script. Pleas, give us a lot of time :)
Thank you!
|
Anonymous
|
Posted: 15 Jun 2005 05:31:56
Allright; I'll explain :) The current advertisement block does not allow < or > characters in the advertisement 'template'. Therefore it is not possible to use javascript inside the advertisement template. But many bannersystems, affiliatesystems and also Google's Adsense use javascript to display the advertisement.
In order to be able to use javascript inside the advertisement template and to be able to add it to a page you need to replace the < and > with < and > while displaying the template. This way the script won't crash and you'll be able to add the advertisement to a page.
Just out of curiosity; how long are you working on SkaLinks and how long are coding PHP in general? Please do not get offended but your code is far from good...
|
skalinks Admin
|
Posted: 15 Jun 2005 06:12:48
Man, do you really think so? Please, if you have a lot of time go to www.motoracle.com/dir/ and see how our advertisement system works with Google's Adsense without JavaScript :)
Any questions?
Thank you
|
Anonymous
|
Posted: 15 Jun 2005 10:06:00
[quote]
Google's Adsense without JavaScript :)
[/quote]
Did you view the source of that page yourself? It displays Google's Adsense Javascript code. What do you mean "without javascript"?
Anyhow, you missed the point. I didn't state advertisement blocks with javascript in them could not be used, I just said you cannot add them to a page. You cannot deny that :)
Install a clean 1.2, don't change a thing, add the google adsense javascript to a advertisement block and try to add that block to a page. It WILL result in a javascript error (undefined variabeles to be exact).
|
skalinks Admin
|
Posted: 16 Jun 2005 01:28:14
It is not what I meant. I meant that after the full installation of 1.2 version
you can easily add Google Adsense without the code modification. And it works properly.
If you have some problems, you can post them in Technical support section,
particularly describe the error and the version of the browser that you use if it is necessary.
Thanks for your attention.
|
Darkhorse
|
Posted: 18 Jun 2005 02:18:14
Have installed V.2 without a problem. Spent the last day or so modding the templates to suite my site design.
Will post a link to it in the next few days once it is complete, Just wanted to thank you for a great script mate.
Well done.
|
skalinks Admin
|
Posted: 20 Jun 2005 00:26:16
We are very glad to hear about it :)
Thank you for using our product!
|
Anonymous
|
Posted: 20 Jun 2005 06:37:13
Have this problem installing v. 1.2:
no matter what path combination I use, I cannot set the variable for "$_dir_root." I understand paths on the file server system.
During installation, the field defaults to something like "maximum length = 80," not a file path declaration.
On my server, the path to my home directory is:
d:\www\c\f\mysite.com\www\dir\home
I have used all of the above, then tried every combination by eliminating one directory at a time. (I of course used forward slashes instead of backslashes). Nothing worked.
The error message I keep getting is: "The path to directory is wrong. Couldn't find dump file."
Can you tell me what "dump file" the program is looking for? If I know that, I can hardcode the path to wherever the dump file is.
Otherwise can you post a sample headers.php file? I can modify it to include parameters peculiar to my setup.
Thanks.
|
skalinks Admin
|
Posted: 20 Jun 2005 22:09:57
Which version of operation system and web server do you mean?
The requirements for the script to work properly are:
operation system: Unix
Web server: Apache
Data base: MySql
We didn't test this script for Windows and don't know how it works. But we will certainly test the next version and we will create the version that will be Windows-compatible.
Thanks.
|