Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Support (Version 2)

Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 please post in the phpLD 3.0 Support Forum.

Closed Thread
 
topic widgets
Old 09-13-2005   #1
ing
 
Join Date: Sep 2005
Posts: 90
Default Contact page?

Hi,

First off, thanks for the great script.

I'm wondering how hard it would be to add a contact page, a basic form so site visitors may contact the webmaster. I've seen a few of the sites have a contact link with a mailto: link to their email address, but I think a form would be better.

The form would only need 3 fields - Name, Email, and Comment/Question. I'm thinking it would be similar to the submit.php and submit.tpl, but I'm not really sure.

Would this be easy to do, or not?

Thanks
ing is offline  
Old 09-13-2005   #2
Ap0s7le
 
Join Date: Jun 2005
Location: The world
Posts: 813
Default

Hello ing,

This shouldn't be to difficult.

I sent you a PM.

Kind Regards

-Casey
__________________
Casey Wilson / Ap0s7le
Freelance Programmer
Need help with PHPLD? PM me
Ap0s7le is offline  
Old 09-16-2005   #3
ginger
 
Join Date: Jun 2005
Posts: 101
Default

Hi,
I have the same request.
How can I add a contact forum to my directory?
Thanks.
ginger is offline  
Old 09-16-2005   #4
Ap0s7le
 
Join Date: Jun 2005
Location: The world
Posts: 813
Default

Hi Ginger,

I sent you a PM.

If anyone else is interested, feel free to PM me directly.

Thank you for your time.

-Casey
__________________
Casey Wilson / Ap0s7le
Freelance Programmer
Need help with PHPLD? PM me
Ap0s7le is offline  
Old 09-16-2005   #5
senaia
Supporter
 
Join Date: Sep 2005
Posts: 124
Default

Code:
Content visible to registered users only.
Can you please pm me also. Thanks
senaia is offline  
Old 09-17-2005   #6
Romario
 
Join Date: Sep 2005
Location: Russia
Posts: 55
Default

And me, please.
Romario is offline  
Old 09-17-2005   #7
Nobody
Supporter
 
Join Date: Aug 2005
Location: Sweden
Posts: 218
Default

Why don't you just reveal it all in the public area? :lol:
Nobody is offline  
Old 09-17-2005   #8
WebDesignPoint
 
Join Date: Aug 2005
Posts: 37
Default

I've done this on my directory. Maybe this info should be added to the wiki?

Last edited by David; 03-06-2008 at 06:37 PM.
WebDesignPoint is offline  
Old 09-17-2005   #9
vkaryl
 
Join Date: Aug 2005
Posts: 260
Default

Sounds like a good idea, webdesignpoint. Be good if you handled that, since you're the one with an operative form....

Thanks. Great site, too!
__________________
Directory Scripts
Rock Template
vkaryl is offline  
Old 09-17-2005   #10
WebDesignPoint
 
Join Date: Aug 2005
Posts: 37
Default

I'll need to register on the wiki first. If the admin is ok with it, I'll put it up tomorrow or the next day.
WebDesignPoint is offline  
Old 09-17-2005   #11
David
Administrator
phpLD Administrator
Supporter
 
David's Avatar
 
Join Date: Jan 2005
Posts: 12,325
Default

Sure, go for it!
David is offline  
Old 09-18-2005   #12
WebDesignPoint
 
Join Date: Aug 2005
Posts: 37
Default

It's a nightmare trying to add this to the wiki, so I'm going to post it here instead.

Create a file called 'contact.php' with the code below and place it in the root PLD folder.

contact.php
Code:
Content visible to registered users only.
Create a file called 'contact.tpl' with the code below and place it in the templates folder.

contact.tpl
Code:
Content visible to registered users only.
Add a link to your contact.php file in your header.tpl or footer.tpl or where ever you want to link to it.

Note: You need to change this line in contact.php:
Code:
Content visible to registered users only.
Replace the email address with your own and the name with your name.

I'll post some other details about what other changes can be made shortly.
WebDesignPoint is offline  
Old 09-18-2005   #13
David
Administrator
phpLD Administrator
Supporter
 
David's Avatar
 
Join Date: Jan 2005
Posts: 12,325
Default

Yes, the wiki is not what I had hoped it would be, mainly because we still have not figured out how to add code and images. As time allows I'll try to work toward an alternative solution.

Thanks for posting the code.
David is offline  
Old 09-22-2005   #14
hosted
 
Join Date: Sep 2005
Location: Australia
Posts: 16
Default

Just added this contact form, and thought that I would share the changes I made to header.tpl

It is pretty simple, and it puts the contact link to the R/H side just above the Search button

Just go into the standard header.tpl file and change the Last line only to :

Original line

Code:
Content visible to registered users only.
New line

Code:
Content visible to registered users only.
* just make sure it is all on 1 line in your file
hosted is offline  
Old 02-14-2006   #15
John D
 
Join Date: Nov 2005
Posts: 159
Default

This doesn't seem to work for me..

Here is my contact.php

Code:
Content visible to registered users only.
contact.tpl

Code:
Content visible to registered users only.
I can't see any problems..anyone see whats wrong?
John D is offline  
Old 02-21-2006   #16
clubracer
 
Join Date: Feb 2006
Posts: 133
Default

Installed the contact files on an v2.0 and it was working fine.
On a v3.2 installation the contact page is showing up but no emails are send...
clubracer is offline  
Old 02-21-2006   #17
Kevuk2k
 
Join Date: Jan 2006
Location: Global
Posts: 564
Default Re: Contact page?

Code:
Content visible to registered users only.

No disrespect to others but I have already said to people that for a small donation to this forum and you can have a copy of mine. :wink:

Last edited by David; 03-06-2008 at 06:37 PM.
Kevuk2k is offline  
Old 02-21-2006   #18
Neticus
Supporter
 
Neticus's Avatar
 
Join Date: Dec 2005
Posts: 484
Default

@clubracer

If it helps you troubleshoot, I have 'contact us' working in v3.02 have not touched the files since v2, seems to work fine.

For now...

-
Neticus is offline  
Old 02-21-2006   #19
clubracer
 
Join Date: Feb 2006
Posts: 133
Default

Code:
Content visible to registered users only.
Can you send me your (working) contact files (php & tpl) without your personal (email) information?

Thnx in forward.
clubracer is offline  
Old 02-21-2006   #20
Neticus
Supporter
 
Neticus's Avatar
 
Join Date: Dec 2005
Posts: 484
Default

Here is the child of elusive temperment, hope it works for ya:


contact.php

Code:
Content visible to registered users only.

contact.tpl

Code:
Content visible to registered users only.

-
Neticus is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.