TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 09:19:10 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 98
  • Total: 98

Invite A Friend Block [side block]

Started by akulion, April 12, 2007, 05:49:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiminoregon

Quote from: arrisje on July 11, 2007, 11:53:44 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

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

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

Quote from: arrisje on July 13, 2007, 12:19:45 AM
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

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?

IchBin

Did you look at the other script that was posted in this topic?

Polymath

#16
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.

Polymath

This is fixed rewrote some of it from bits and pieces from the net

darkacex

I tried inviting myself and it didn't work o_o

Skb

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. ////// 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