View Full Version : Limiting Link Submission
Lionel
09-04-2009, 06:41 PM
Hi,
I looked and saw that it's not an option.
Which file should I modify so I limit only one link per member?
Brian
09-07-2009, 01:30 PM
Pretty much everything to do with adding links is located in the links/addlink.php and forum/includes/vba_links_functions_savelink.php files.
Lionel
09-07-2009, 01:51 PM
Thanks Brian,
I got it under control by inserting the newlinkid in table user and if they try to add a new link
if($vbulletin->userinfo['linkid'])
{
header("Location: addlink.php?do=editlink&l=" . $vbulletin->userinfo['linkid']);
}
The reason I am limiting that is because I am using vba links to create a portfolio site for a client. I also preset the link to profile as a hidden field when they first create the link
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.