Email to a friend script...
Email to a friend script...
I adapted this from someone else. Feel free to give it a try...
You can see it in action here:
http://www.animalsense.com
Download here:
http://www.mlbmarketing.com/wcms/
Please post question, comments or errors.
Thanks.
You can see it in action here:
http://www.animalsense.com
Download here:
http://www.mlbmarketing.com/wcms/
Please post question, comments or errors.
Thanks.
This was recommended to me to install on my site, and I have been trying to get it to work, however I am having problems.
When I change:
and enter my URL to the script I get an error in the pop up message that says:
"Error loading up link for recommendation."
I have tried everything and can;t seem to get this to work. Any ideas?
When I change:
Code: Select all
$scripturl = "http://www.animalsense.com/phpincludes/rgnrecommend.php";
// this is the location of this script
"Error loading up link for recommendation."
I have tried everything and can;t seem to get this to work. Any ideas?
-
- Posts: 47
- Joined: Sat 10. Apr 2004, 12:53
- Location: NL
Same problem here. I have tried everything! As soon as you figure what the prob is please let me know.
http://qoala.nl - Nieuws om op te reageren!
So does his site:
http://www.animalsense.com/phpincludes/rgnrecommend.php
http://www.phpwcms.de/forum/viewtopic.php?p=14023#14023
line 45 in the conf.inc.php
http://www.animalsense.com/phpincludes/rgnrecommend.php
Perhaps this would help? Just a wild guess...Error loading up link for recommendation.
http://www.phpwcms.de/forum/viewtopic.php?p=14023#14023
line 45 in the conf.inc.php
Code: Select all
$phpwcms["allow_remote_URL"] = 1; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
It ~WAS~ NEW w/ latest release(s)
But an even NEWER update can now be downloaded that has support for a new replacment tag:
http://www.phpwcms.de/forum/viewtopic.php?p=14061#14061
But an even NEWER update can now be downloaded that has support for a new replacment tag:
http://www.phpwcms.de/forum/viewtopic.php?p=14061#14061
hello dexxusDeXXus wrote:It ~WAS~ NEW w/ latest release(s)
But an even NEWER update can now be downloaded that has support for a new replacment tag:
http://www.phpwcms.de/forum/viewtopic.php?p=14061#14061
the question is if this patch will works withe rc3 together! i don't believe this!
I'm using this in RC3 here and it's working:
http://www.healthyschoolscampaign.org/index.php
I'll take a look and see if I see any errors.
{PHP:phpincludes/rec_link.php}
and you can edit rec_link.php and format it as you need. This way the rec_link.php file will pass the page variable to the recomemend script and it should work. (I hope)
Email or post if you have questions.
http://www.healthyschoolscampaign.org/index.php
I'll take a look and see if I see any errors.
You can't link directly to this script because if you do you will not correctly pass the page variable to the script to process. To use it you need to include a PHP include on your page. You'll need to input this somewhere (I placed it in my footer in the template)So does his site:
http://www.animalsense.com/phpincludes/rgnrecommend.php
Quote:
Error loading up link for recommendation.
{PHP:phpincludes/rec_link.php}
and you can edit rec_link.php and format it as you need. This way the rec_link.php file will pass the page variable to the recomemend script and it should work. (I hope)
Email or post if you have questions.
Last edited by sporto on Wed 16. Jun 2004, 16:28, edited 1 time in total.
The latest versions have #php_flag register_globals Off
in the .htaccess and that is what kills this script... so I guess a person needs to find out if why and if they can be turned on...
I commented out this line and the error goes away "Error loading up link for recommendation."
And the script works.
Comments from the Gurus on this... I am just a hack
Stephan
in the .htaccess and that is what kills this script... so I guess a person needs to find out if why and if they can be turned on...
I commented out this line and the error goes away "Error loading up link for recommendation."
And the script works.
Comments from the Gurus on this... I am just a hack
Stephan
-
- Posts: 56
- Joined: Thu 7. Jul 2005, 16:05
hi,
the script is working so far on my website, but there is one problem:
The recommended site is always the URL which is set in the phpwcms/config.php:
$phpwcms["site"] = "http://www.myhomepage.com/";
So when I get the recommend message it always links to the same URL and not directly to the site from where the recommendation was sent.
Looks like this in the mail header:
>>>>>>>>>>>>>>
I found this web page you should check out! Go ahead and click the link below.
This person has recommended:
=> http://www.myhomepage.de/
on [phpwcms-DEMO]
>>>>>>>>>>>>>>
What am I doing wrong?
the script is working so far on my website, but there is one problem:
The recommended site is always the URL which is set in the phpwcms/config.php:
$phpwcms["site"] = "http://www.myhomepage.com/";
So when I get the recommend message it always links to the same URL and not directly to the site from where the recommendation was sent.
Looks like this in the mail header:
>>>>>>>>>>>>>>
I found this web page you should check out! Go ahead and click the link below.
This person has recommended:
=> http://www.myhomepage.de/
on [phpwcms-DEMO]
>>>>>>>>>>>>>>
What am I doing wrong?