03-22-2011, 01:34 PM
I have an idea to use XThreads Custom Thread Fields to hold additional data for a thread (I don't know how to say this correctly ).
Here is a simple example for this:
In our download forum, we will try to use a custom thread field to add "Mark This File as Downloaded" link, and hold the data of users who have marked a download thread as downloaded.
In this example, we are assuming that we already had a custom thread field with key: fupload as file uploader in our download forum.
Create Custom Thread Field:
With the custom thread field above, Administrators has an ability to view, edit or delete the data directly in a thread (using full edit).
Put {$xt_mad_link} variable in our showthread or template_prefix_showthread template.
Screenshot:
1. If users not mark a download thread as downloaded:
[attachment=478]
2. If users mark a download thread as downloaded:
[attachment=479]
3. If users already marked a download thread as downloaded:
[attachment=480]
4. The data can be viewed, edited, or deleted by Administrators directly in a download thread by full editing the thread.
[attachment=482]
That is my idea. Not quite sure whether it is OK or not
Note:
Do Not use this plugin in a production forum. This is for example and an idea only.
Here is a simple example for this:
In our download forum, we will try to use a custom thread field to add "Mark This File as Downloaded" link, and hold the data of users who have marked a download thread as downloaded.
In this example, we are assuming that we already had a custom thread field with key: fupload as file uploader in our download forum.
Create Custom Thread Field:
- Title: Mark As Downloaded
- Key: dl_mad
- Applicable Forums: select our download forum
- Input Field Type: Multiline Textbox
- Editable by / Required Field?: Administrator
- Capture Tab Key: No
With the custom thread field above, Administrators has an ability to view, edit or delete the data directly in a thread (using full edit).
Put {$xt_mad_link} variable in our showthread or template_prefix_showthread template.
Screenshot:
1. If users not mark a download thread as downloaded:
[attachment=478]
2. If users mark a download thread as downloaded:
[attachment=479]
3. If users already marked a download thread as downloaded:
[attachment=480]
4. The data can be viewed, edited, or deleted by Administrators directly in a download thread by full editing the thread.
[attachment=482]
That is my idea. Not quite sure whether it is OK or not
Note:
Do Not use this plugin in a production forum. This is for example and an idea only.