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?

August 11, 2022, 08:16:18 AM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 52
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 36
Total: 36

Author Topic: Invite A Friend Block [side block]  (Read 28981 times)

0 Members and 1 Guest are viewing this topic.

jiminoregon

  • Guest
Re: Invite A Friend Block [side block]
« Reply #10 on: July 11, 2007, 10:53:03 PM »
I tried this one to and did not work for me neither. My forum is using gmail. Is there a possibility to use that somewhere in this code?
Thanks for all the great help I have been getting on this board. :)
B.T.W. Here is my forum http://arrisje.110mb.com/Forum/index.php

Try this tellck.php...it worked for me...I put in your ip.

Jim

arrisje

  • Guest
Re: Invite A Friend Block [side block]
« Reply #11 on: July 12, 2007, 04:45:03 PM »
Thanks Jim for the effort it still doesn't work. Still get that parse error ;(. Well it just have to go by word of mouth :0)

arrisje

  • Guest
Re: Invite A Friend Block [side block]
« Reply #12 on: July 12, 2007, 05:19:45 PM »
Before I installed tiny portal I had invite mod installed on smf. For some odd reason the invite seem to have vanished. When I tried to uninstall it it would not let me it kept telling me errors. Anyways I downloaded it again from smf mods and reiinstalled ( mind you it did tell me that there are errors.) I figured well I am going to try it anyways. Everything or nothing lol. Installed it again and it works again. ;)

jiminoregon

  • Guest
Re: Invite A Friend Block [side block]
« Reply #13 on: July 12, 2007, 07:16:29 PM »
Before I installed tiny portal I had invite mod installed on smf. For some odd reason the invite seem to have vanished. When I tried to uninstall it it would not let me it kept telling me errors. Anyways I downloaded it again from smf mods and reiinstalled ( mind you it did tell me that there are errors.) I figured well I am going to try it anyways. Everything or nothing lol. Installed it again and it works again. ;)

Cool...now check your error log...bet it's filling up with errors related to the mod...if it's the same error over and over...you might just need to chmod that file to 777...uninstall and reinstall.  Or you could just ignore them if they're not causing a problem...

Good Luck,

Jim

Polymath

  • Guest
Re: Invite A Friend Block [side block]
« Reply #14 on: June 12, 2008, 02:43:47 PM »
I know this is old, But I am making another website using another script. This works/instals apart from the validating

Your email address is not correct
Please enter your name
Your Friends address is not correct
Please enter your friend's name
Please enter your message details

Anybody fix this at all?

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Invite A Friend Block [side block]
« Reply #15 on: June 12, 2008, 05:24:48 PM »
Did you look at the other script that was posted in this topic?

Polymath

  • Guest
Re: Invite A Friend Block [side block]
« Reply #16 on: June 12, 2008, 05:36:05 PM »
Yep. There was nothing different in it from the first. I looked for this IP part that they added but didn't see it. Also all that was trying to fix was the page URL I think, not validating that the form was filled out.

And hello IchBin. Good to see others still here too from a long time ago.
« Last Edit: June 12, 2008, 05:37:39 PM by Polymath »

Polymath

  • Guest
Re: Invite A Friend Block [side block]
« Reply #17 on: June 12, 2008, 10:25:59 PM »
This is fixed rewrote some of it from bits and pieces from the net

darkacex

  • Guest
Re: Invite A Friend Block [side block]
« Reply #18 on: July 18, 2008, 10:24:07 AM »
I tried inviting myself and it didn't work o_o

Offline Skb

  • Full Member
  • ***
  • Posts: 128
    • Metabolically Challenged
Re: Invite A Friend Block [side block]
« Reply #19 on: August 13, 2016, 04:21:43 AM »
I used this snippet to create a Tell a Friend Block. I've managed the display & send mail. After sending the mail the thank you page appears, and redirects the member to the site index, but as logged out. However, if the "click here" link is clicked, the member is able to go back to forum index as logged in.
Code: [Select]
////// Mail posting ends here ///////////
echo "<center><font face='Verdana' size='2' ><img src='Email024.gif'><br>Thank You, Your message has been emailed to $f_name</font></center>";
echo "<br><center>You are being redirected back to the main page, if you are not diverted in 10 seconds please <a href='http://www.diabetic.pub/forum/index.php'>click here</a></center><br><center>Or Click the back button on your browser to return to the previous page</center>";
//////////// Sending the message ends here /////////////
}else{// display the error message
echo "<center><font face='Verdana' size='2' color=red>$msg</font></center>";
Anything I can do to make this work ?

SMF 2.1 RC4 (default theme) / TP 2.1.0