Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

October 05, 2022, 03:59:05 PM

Login with username, password and session length
Members
  • Total Members: 3848
  • Latest: rrolle
Stats
  • Total Posts: 193516
  • Total Topics: 21093
  • Online today: 87
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 59
Total: 59

Author Topic: Refer a friend  (Read 19685 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Refer a friend
« Reply #10 on: April 15, 2006, 09:35:28 AM »
Mine dosent open in a new window, I have it in a article and Iframe, works ok for me

try this in a article and iframe..
Code: [Select]
<iframe src="http://yoursite.com/Recommend/csRecommend.cgi?command=showrecommend&page=http%3A//www.lesmonds.co.uk/smf/index.php"height="500" width="100%" frameborder="0" Scrolling="no"></iframe>
and this in a block to link to the article

Code: [Select]
<center><form method="POST" action="http://www.yoursite.com/smf/index.php?page=your page #">
<p><button name="B3">Recommend Us</button></p>
</form>
</center>
Please don't PM me for support without an invitation.


Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Refer a friend
« Reply #11 on: April 15, 2006, 09:40:01 AM »
your right it doesn't work in IE :( I never tried it before, boy how do I fix that??
Please don't PM me for support without an invitation.


Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Refer a friend
« Reply #12 on: April 15, 2006, 10:08:49 AM »
Ok I think I have it fixed! try it now
Please don't PM me for support without an invitation.


cervante

  • Guest
Re: Refer a friend
« Reply #13 on: April 15, 2006, 10:19:40 AM »
That works...ok, how did you get it working?

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Refer a friend
« Reply #14 on: April 15, 2006, 10:28:22 AM »
I hade to put this in the block, I used a javascript/html one

Code: [Select]
<center><form method="POST" action="http://www.lesmonds.co.uk/smf/index.php?page=14">
<p>
<button name="Recommend" value="http://www.lesmonds.co.uk/smf/index.php?page=14" type="submit">Recommend Us</button></p>
</form>
</center>
dont know why I had to put the url in twice though but it worked :)
Please don't PM me for support without an invitation.


rbh

  • Guest
Re: Refer a friend
« Reply #15 on: April 15, 2006, 02:51:34 PM »
    lesmond, do you have to upload the script into cgi-bin or into your root directory? i uploaded to my htdocs and set everything up just fine with no problems. i tested it on my site and never recieved an email.

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Refer a friend
« Reply #16 on: April 15, 2006, 03:16:45 PM »
I have mine in the root, have you set the path to perl? mine is #!/usr/bin/perl
Please don't PM me for support without an invitation.


Xarcell

  • Guest
Re: Refer a friend
« Reply #17 on: April 15, 2006, 03:55:45 PM »
Nice little script.

alan s

  • Guest
Re: Refer a friend
« Reply #18 on: May 01, 2006, 02:47:43 PM »
Mine dosent open in a new window, I have it in a article and Iframe, works ok for me

try this in a article and iframe..
Code: [Select]
<iframe src="http://yoursite.com/Recommend/csRecommend.cgi?command=showrecommend&page=http%3A//www.lesmonds.co.uk/smf/index.php"height="500" width="100%" frameborder="0" Scrolling="no"></iframe>
and this in a block to link to the article

Code: [Select]
<center><form method="POST" action="http://www.yoursite.com/smf/index.php?page=your page #">
<p><button name="B3">Recommend Us</button></p>
</form>
</center>

i cant get the thing in the iframe to work? or am i doing something wrong im just putting the code into a php article and changing the links

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Refer a friend
« Reply #19 on: May 01, 2006, 02:51:10 PM »
I hade to put this in the block, I used a javascript/html one

Code: [Select]
<center><form method="POST" action="http://www.lesmonds.co.uk/smf/index.php?page=14">
<p>
<button name="Recommend" value="http://www.lesmonds.co.uk/smf/index.php?page=14" type="submit">Recommend Us</button></p>
</form>
</center>
dont know why I had to put the url in twice though but it worked :)

4 posts over yours ;)