I’m no expert but if you post a picture of how you want it to look like I can try to help. And also so you have already gotten the extra fields in but when the user press submits the data is not being posted?rudesmen wrote: 03 Sep 2024, 09:27 Yes, extra. I need a few of them. And the rest have other attributes like "not required" or are checkboxes. After the changes in the posting_editor_subject_after, I can already get the expected effect of how the form should look, but after sending the message, answers from checkboxes appear. I came to the conclusion that changes still need to be made in listener.php. I need to add new text boxes and few od them delete. I haven't figured it out yet.
3.1 & 3.2 Extensions Database 3.1 / 3.2 ⇒ Support Ticket
-
- Users
- Posts: 19
- Joined: 07 Jul 2024, 17:08
Re: Support Ticket
-
- Users
- Posts: 4
- Joined: 20 Aug 2024, 16:03
Re: Support Ticket
I ended up editing the common.php file to change the field description. posting_editor_subject_after.html is responsible for the arrangement of fields before sending a message. The listener.php file is responsible for what and how it appears after sending.

Now I have 3 things to solve.
1. What to do to make textarea's not required - when they are not required if they are empty, their descriptions do not appear after sending the post. I hope I figure it out today.
2. How to make the tab jump to the supporticket fields - now the tab skips them and jumps straight to the post content field. But if we No idea.
But if the cursor is in the first field of the support ticket, pressing tab moves the cursor to the second field of the support ticket
3. The biggest problem and most important for me.
Better but more difficult. I would like the content of one of the additional fields to be added to topic title, so that the content of selected additional field is visible together with topic title on topic listing of the board.
If I don't find a solution to this then I would like to at least bold some part of STS_HEAD. No idea too :(

Now I have 3 things to solve.
1. What to do to make textarea's not required - when they are not required if they are empty, their descriptions do not appear after sending the post. I hope I figure it out today.
2. How to make the tab jump to the supporticket fields - now the tab skips them and jumps straight to the post content field. But if we No idea.
But if the cursor is in the first field of the support ticket, pressing tab moves the cursor to the second field of the support ticket

3. The biggest problem and most important for me.
Better but more difficult. I would like the content of one of the additional fields to be added to topic title, so that the content of selected additional field is visible together with topic title on topic listing of the board.
If I don't find a solution to this then I would like to at least bold some part of STS_HEAD. No idea too :(
-
- Users
- Posts: 19
- Joined: 07 Jul 2024, 17:08
Re: Support Ticket
Problem #1. On mine only these 3 below where not showing if left Empty.rudesmen wrote: 04 Sep 2024, 13:07 1. What to do to make textarea's not required - when they are not required if they are empty, their descriptions do not appear after sending the post. I hope I figure it out today.
2. How to make the tab jump to the supporticket fields - now the tab skips them and jumps straight to the post content field. But if we No idea.
But if the cursor is in the first field of the support ticket, pressing tab moves the cursor to the second field of the support ticket![]()
3. The biggest problem and most important for me.
Better but more difficult. I would like the content of one of the additional fields to be added to topic title, so that the content of selected additional field is visible together with topic title on topic listing of the board.
If I don't find a solution to this then I would like to at least bold some part of STS_HEAD. No idea too :(
Only way I found out to make them appear is to add this in front of the VALUE
Code: Select all
value="{STS_BOARDLINK}"
Code: Select all
value=" {STS_BOARDLINK}"
Code: Select all
<dl>
<dt><label for="boardlink">{L_STS_BOARDLINK}</label><br /><span>({L_STS_OPTIONAL})</span></dt>
<dd><input type="text" name="boardlink" size="45" maxlength="255" value=" {STS_BOARDLINK}" class="inputbox autowidth" /></dd>
</dl>
<dl>
<dt><label for="phpversion">{L_STS_PHPVER}</label><br /><span>({L_STS_OPTIONAL})</span></dt>
<dd><input type="text" name="phpversion" size="45" maxlength="60" value=" {STS_PHPVER}" class="inputbox autowidth" /></dd>
</dl>
<dl>
<dt><label for="mysqlversion">{L_STS_SQLVER}</label><br /><span>({L_STS_OPTIONAL})</span></dt>
<dd><input type="text" name="mysqlversion" size="45" maxlength="60" value=" {STS_SQLVER}" class="inputbox autowidth" /></dd>
</dl>
And when you are in the second line you are basically entering the FORM so that is why the Tab works correctly than.
For your #3 Problem this EXTENSION is your best bet. (STS_HEAD BOLD part didn't understand probably an image of result you want will help out)
https://www.phpbb.com/customise/db/exte ... scription/
It will add this field "Topic description:"

And will look like this in the forum topics

-
- Users
- Posts: 4
- Joined: 20 Aug 2024, 16:03
Re: Support Ticket
I am very grateful to you for your answer. Unfortunately I don't speak English well. I'm using a translator and I see that we don't understand each other, which is why you spent time answering a question I didn't ask. :(
2. Thank you for your explanation.
3. I figured it out by formatting the text with HTML. Topic Description is great, but it doesn't work for me because the search engine doesn't index it.
Let's go back to
1. STS_PHPVER has the *not required attribute - how to give such an STS_SELFSOLUTION attribute? and
2. I had another idea. What should I do to make an additional field required to post a thread?
PS I haven't replied for a long time because DMZX doesn't work on some days - it doesn't load for me :(
2. Thank you for your explanation.
3. I figured it out by formatting the text with HTML. Topic Description is great, but it doesn't work for me because the search engine doesn't index it.
Let's go back to
1. STS_PHPVER has the *not required attribute - how to give such an STS_SELFSOLUTION attribute? and
2. I had another idea. What should I do to make an additional field required to post a thread?
PS I haven't replied for a long time because DMZX doesn't work on some days - it doesn't load for me :(
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.