Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Invite a friend MOD v.1.0 BETA
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Ryan
Average Member

USA
858 Posts

Posted - 09 July 2003 :  14:16:15  Show Profile  Visit Ryan's Homepage
Invite a Friend V.1.0 BETA

For forum v. 3.4.03
Author: reducks87
Tested on: Access
NOTES: This is a BETA version so be careful on install. MAKE A BACKUP!!! If it does not work then you can re-install the back-up. If you dont make a back-up and it doesnt work thats your own fault!
Ease of install (1-10 10 being hard): 2-3

This is my first real MOD release, so be easy on me!


It is a MOD which allows members to e-mail friends about your forum.
To view a demo click here. Login as SnitzTester password snitz.

To download click here.

Edited by - Ryan on 09 July 2003 14:18:45

Ryan
Average Member

USA
858 Posts

Posted - 09 July 2003 :  16:32:24  Show Profile  Visit Ryan's Homepage
Guess I should let people know where to find the MOD on the demo forum
Its in the list of links up top right under Active Topics.
I stuck it there so it is accessible anywhere you are on the forum.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 10 July 2003 :  05:05:44  Show Profile
thats great i was looking for something much the same but thought it might look nicer as a box under site statistics or active users...
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 10 July 2003 :  06:13:43  Show Profile  Visit Ryan's Homepage
The reason why I didnt do that is because the link would only be seen on one page.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 13 July 2003 :  16:59:43  Show Profile
Hello,

I have put this on my site and it works fine. I did do one little mod to it reducks87, and that was to edit line 175 in the pop_invite_a_friend.asp file from this:
			"              <tr>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ colspan=""2"" align=""center""><textarea name=""Msg"" cols=""40"" rows=""5"">Please visit [Title of site] at http://[URL of site]" & vbNewline & vbNewline & Request.QueryString("url") & "</textarea></td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _


to this (the code in red):
			"              <tr>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ colspan=""2"" align=""center""><textarea name=""Msg"" cols=""40"" rows=""5"">Please visit " & strForumTitle & " at " & strForumURL & "" & vbNewline & vbNewline & Request.QueryString("url") & "</textarea></td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _

Just saves changing the code in the pop_invite_a_friend.asp file.


Cheers,

David Greening
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 13 July 2003 :  20:02:37  Show Profile  Visit Ryan's Homepage
Great thanks! I will update the download when I get a chance.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 July 2003 :  14:21:03  Show Profile  Visit Ryan's Homepage
Zip updated. Here and at SnitzBitz.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 July 2003 :  23:56:50  Show Profile  Visit Ryan's Homepage
Sorry all. I updated the extra file but not the readme. The readme is now updated and available for download.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 15 July 2003 :  05:09:07  Show Profile  Visit Webbo's Homepage
Nice one reducks

Instead of using a new window though, try this in inc_header.asp:

quote:
" |" & vbNewline & _
" <a href=""javascript:openWindow2('pop_invite_a_friend.asp')""><acronym title=""Invite friends to this forum"">Invite a friend</acronym></a>" & vbNewline


as it keeps it more in tune with the rest of the forum

Edited by - Webbo on 15 July 2003 05:30:31
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 15 July 2003 :  06:10:20  Show Profile  Visit Ryan's Homepage
Will look into it.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 July 2003 :  07:51:42  Show Profile  Visit MarcelG's Homepage
Ok, short question ; my hostingprovidor limits the e-mail function on the site so that either the to or the from address should be an address hosted on the hostingprovidors environment.
this to prevent spamming using anonymous addresses.
Therefore I'd like to change the from field by default to a default address (forum@opzolder.net).
Could you give me a hunch were this should be changed in this code ?

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 15 July 2003 :  10:49:28  Show Profile  Visit Ryan's Homepage
Sure. Find this chunk of code:

	Response.Write	""" value=""" & YEmail & """ size=""25""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
			if YEmail <> "" then
				Response.Write(YEmail)
                                end if


Change it to:

	Response.Write	""" value=""YEmail"" size=""20"" readonly>forum@opzolder.net<font face=""" & strDefaultFontFace & """ 

size=""" & strDefaultFontSize & """>"
			if YEmail <> "" then
			end if


Only problem I had was the e-mail address (which is readonly cant be changed) is larger than the other text. Maybe you know how to fix it or someone here can help.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help

Edited by - Ryan on 15 July 2003 10:51:33
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 15 July 2003 :  10:58:11  Show Profile
k - i have seen the demo site but it doesnt seem to send me an email! does the demo site work??

will add it to my forum tonight
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 15 July 2003 :  11:14:23  Show Profile  Visit Ryan's Homepage
I just tested it and it worked right away. It may not have worked for you because I was working on the slight modification I made for marcelgoertz just a little while ago.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 15 July 2003 :  11:23:19  Show Profile
okies will give it another go!
Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 15 July 2003 :  11:26:50  Show Profile
just tried it again - my inbox is still empty!
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07