MyBB Hacks

Full Version: XThreads input value into global user value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello o/

Is it possible to write XThreads input value (for example {$GLOBALS['threadfields']['mykey']}) into value assigned to specific user (author of post)?
I need only one value of 'mykey' at time, so its ok to overwrite it. I also want to make this value easly to change with every post, so thats why I dont want to use custom profile fields (cause it takes so much time to go to profile editor, save changes and then go back to topic).
I'm not sure what exactly do you want to achieve.

Here is a basic explanation so you can decide whether it is possible or not:

1. You create thread A with value X for mykey thread field.
2. You create thread B with value y for mykey thread field.

Whenever you view the thread A, by default, the mykey value is always x.
Whenever you view the thread B, by default, the mykey value is always y.
I see...

I wanted to:

Create any thread where user can reply giving value X for mykey
Value X is visible on user's profile or/and on every that user's postbit near avatar etc.
User can change/overwrite mykey value for that user with new post

I tried before somehow place form with one of custom profile fields in newreply template, but I dont know mybb structure well, so I failed Frown
The main focus of XThreads is related to threads, not user's information.
I think he wants to create a thread field that when updated, one of the author's profile fields will be filled with that same input.
Yeah, I know that with his last reply:

(03-10-2018 07:17 AM)Lilz Wrote: [ -> ]Create any thread where user can reply giving value X for mykey
Value X is visible on user's profile or/and on every that user's postbit near avatar etc.
User can change/overwrite mykey value for that user with new post

The main focus is with the new reply. I don't think that it is the main focus of XThreads. CMIIW.
Reference URL's