Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Using XThreads Custom Thread Field to Hold Additional Data
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Using XThreads Custom Thread Field to Hold Additional Data
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 Biggrin).

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
That is our custom thread field that will be used to hold the data of users who have marked a download thread as downloaded.
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:
   

2. If users mark a download thread as downloaded:
   

3. If users already marked a download thread as downloaded:
   

4. The data can be viewed, edited, or deleted by Administrators directly in a download thread by full editing the thread.
   

That is my idea. Not quite sure whether it is OK or not Biggrin

Note:
Do Not use this plugin in a production forum. This is for example and an idea only.


Attached File(s)
.7z  xt_mad.7z (Size: 1.02 KB / Downloads: 417)

(This post was last modified: 03-22-2011 02:25 PM by RateU.)
03-22-2011 01:34 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Using XThreads Custom Thread Field to Hold Additional Data - RateU - 03-22-2011 01:34 PM

 Standard Tools
Forum Jump: