View Full Version : How create field "Description" - required field?
Romario
09-06-2005, 09:27 PM
How create field "Description" - required field?
yktan
09-07-2005, 04:18 PM
Hi Romario,
Do you mean making the description field mandatory in the "submit link" page? If so, do this:
Open \submit.php
Find:
Content visible to registered users only.
Add Below:
Content visible to registered users only.
Open \templates\submit.tpl
Find:
Content visible to registered users only.
Add after:
Content visible to registered users only.
Please make a backup of the files that you are going to change.
VSDan
09-07-2005, 10:21 PM
Couple errors (at least in reference to current release of PHPLD) with regard to files that require revision:
1. Change \templates\submit.tpl to \submit.php (1st file revision)
2. Change \submit.tpl to \templates\submit.tpl (2nd file revision)
Regards,
Dan
Virtual Solutions
monster-submit.com
Ap0s7le
09-08-2005, 06:17 AM
VSDan, you're totally correct and I made the changes to his post.
I'm sure he thanks you :)
later
Cymru
10-23-2007, 11:02 AM
Anyone any idea on how to do a non reqiured url field this in v 2.0 ?
Just create the field in your database table, let's say for links in the PLD_LINK table. As an example we'll call it "MYFIELD". In your template you would then add the form field, let's say a textarea:
Content visible to registered users only.
This would be then optional (non-required)
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.