×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Auto fill in new topic subject with URL

More
8 years 8 months ago #1 by mik0392
Hey there,

I was wondering if there's a way to redirect someone to a new topic page, and have extra parameters in the URL to auto fill in the Subject field?

Any help on this is much appreciated, thank you!

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #2 by sozzled
"Auto fill in the Subject field" ... with what? Based on what? Why?

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #3 by mik0392

sozzled wrote: "Auto fill in the Subject field" ... with what? Based on what? Why?


For example,

I would have "buttons" on the home page, that would have a link like:

index.php?option=com_kunena&view=post&catid=4&do=new&subject=[Support]
or
index.php?option=com_kunena&view=post&catid=4&do=new&subject=[Bug]

if you know what I mean?

Just something small that I like to keep things looking nice.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago - 8 years 8 months ago #4 by sozzled
Perhaps, anywhere from six minutes to six months (or longer) someone may be able to provide you with a free-of-charge feature that will do that. What you've asked for, while I can see could be desirable, is not simple thing to do but, yes, it's quite achievable. I can see that something like this could be done with Javascript (create a popup and feed the radio-button response back into the Subject text field).

It's also just as easy to ask your users to create topics with a more "structured" kind of format ... by hand, themselves.

However, creating separate URL links, on the basis of a radio-button selection, is puzzling to me. What do you expect to happen as the result of resolving the targets of these links:
  • index.php?option=com_kunena&view=post&catid=4&do=new&subject=[Support]
  • index.php?option=com_kunena&view=post&catid=4&do=new&subject=[Bug]
Of course, it's possible to create menu items to create these kinds of URLs. It's my guess that you want the URL "parameters" (generated by those menu items/buttons) to "drive" the backend and thereby part-complete the subject field. In order to drive the backend, you need to script the backend (with PHP). I would not do it that way. I would still use the New Topic button/menu and, when the form is displayed, add a Javascript popup, with radio buttons, to complete part of the Subject entry.

No matter how you do it, though, if you make things too "easy" for your users, they won't think for themselves at all. Interesting idea but I think there will be problems with the execution of it. Just my few cents' worth. Good luck.
Last edit: 8 years 8 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago - 8 years 8 months ago #5 by sozzled
There is another way you could achieve a similar result. If I understand your question, you want your users to better "categorise" their questions into, say, "bugs" and "support".

If you setup separate categories for each of these things and then create menu items to direct your users to a specific category, then the [xxxx] part of the subject is redundant. Anything in the "bugs" category is obviously something that would imply "[Bug]" in the subject, woudn't it? Just like we have here, at this forum, separate categories for different things, adding that extra information in the subject is unnecessary, isn't it? If something is posted in the K 1.6 and K 1.7 Support category, the implication is that it's something to do with support for K 1.6 and/or K 1.7. Does that make sense to you?
Last edit: 8 years 8 months ago by sozzled.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.116 seconds