Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Using XThreads Custom Thread Fields For Plugin Settings
Verilog Offline
Member
***
Posts: 50
Joined: Nov 2013
Post: #45
RE: Using XThreads Custom Thread Fields For Plugin Settings
Is it possible to display xthreads fields using this example, I added this code in the plugin file run phase but it didn't work for me. I used this example from other plugins posted here

Code:
1
2
3
4
5
6
			$threadfields = array();
			foreach($threadfieldscache as $k => &$v) {
				xthreads_get_xta_cache($v,$tids);
				$threadfields[$k] =& $thread['xthreads_'.$k];
				xthreads_sanitize_disp($threadfields[$k],$v,(!xthreads_empty($thread['username']) ? $thread['username'] : $thread['threadusername']));
			}

01-19-2018 04:22 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Using XThreads Custom Thread Fields For Plugin Settings - Verilog - 01-19-2018 04:22 AM

 Standard Tools
Forum Jump: