You could create another database definition file called users.cfg that is based on the structure of your DCScript's user file.
Then create two other files:
mylinks.cfg
mylinks.db
Then you will have to re-write the mylinks.cgi or portal.cgi to write the following data to the mylinks.db file:
ID
UserID
LinkID
You have to reference the UserID in the DCScript's user file, and then pull the LinkID of the link that is being added.
The problem is that this will be highly intensive on your CPU, Memory, and Disk Space (especially with a flat file system).
The better solution is to upgrade to Links SQL and do away with flat file systems forever. Links SQL has a new user management system and you could possibly use jerry su's My Link Modification for Links SQL v.1.X with the new version of Links SQL.
Regards,
Eliot Lee
Then create two other files:
Code:
mylinks.cfg
mylinks.db
Then you will have to re-write the mylinks.cgi or portal.cgi to write the following data to the mylinks.db file:
Code:
ID
UserID
LinkID
You have to reference the UserID in the DCScript's user file, and then pull the LinkID of the link that is being added.
The problem is that this will be highly intensive on your CPU, Memory, and Disk Space (especially with a flat file system).
The better solution is to upgrade to Links SQL and do away with flat file systems forever. Links SQL has a new user management system and you could possibly use jerry su's My Link Modification for Links SQL v.1.X with the new version of Links SQL.
Regards,
Eliot Lee