Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Can I use PHP inside XThreads settings?
Author Message
Jazzy Offline
Newbie
*
Posts: 0
Joined: Sep 2024
Post: #2
RE: Can I use PHP inside XThreads settings?
Hi Team,
I have a question regarding this option.

So, I want to create a listbox as Custom Thread Field. The Values for this listbox should be the topics the respective user wrote in forum A. With creating a new topic or with each new reply in forum B, the users should be able to choose from this listbox. After submitting the newthread/newreply,  I want to add the result of this selection to the postbit.

Both plugins, (xThread-Custom Thread Fields and PHP in Templates) are active.

At the moment my settings look like this (pls see Attachement). I entered the query to call all topics in fid32 (= forum A) that the logged in user wrote and put it in the values list.

However when I create a new topic in Forum B (where I activatated this custom thread field) I receive the blank code on newthread.

Did I understand above question wrong, or did I make a mistake?
Can I only post existing mybb-variables but not whole and own queries?


Attached File(s) Thumbnail(s)
   
09-29-2024 08:27 PM
Find all posts by this user Quote this message in a reply


Messages In This Thread
RE: Can I use PHP inside XThreads settings? - Jazzy - 09-29-2024 08:27 PM

Forum Jump: