AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Threaded automatic forum selected

4 Posts
2 Users
0 Reactions
1,605 Views
Posts: 85
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@zeeshan333)
Estimable Member
Joined: 7 years ago
[#11200]

Hi there,

Because my forum is in its early stages, I only need one section in my extended forum section.

Here is a link to the forum: http://examqa.com/forums/

Is there a way such that when a user clicks "Add topic", it automatically selects the first forum in the menu rather than the user clicking the corresponding forum in the drop down menu? I feel as though this will make things less complicated for my users as they aren't used to forums and will get confused over things like this.

Cheers.


3 Replies
Sofy
Posts: 5777
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi zeeshan333,

I'll ask the developers and let you know if there is an easy solution. 


Sofy
Posts: 5777
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @zeeshan333,

Please follow the steps below:

1. Install the Simple Custom CSS and JS plugin:  https://wordpress.org/plugins/custom-css-js/

2. Add the following JS code via the plugin

jQuery(document).ready(function(){
jQuery("#wpforo #wpforo-wrap .wpfl-4 .add_wpftopic:not(.not_reg_user)").click(function (e){
var wrap = jQuery(this).closest('div.wpfl-4');
var form_wrap = jQuery( ".wpf-topic-form-extra-wrap", wrap );
if (!jQuery(e.target).find('.fa-times').length && !jQuery(e.target).hasClass('fa-times')) {
setTimeout(function(){jQuery(".wpf-topic-form-forumid", form_wrap).val("9").change()}, 500);
}
});
});

It'll work as you expected.


Posts: 85
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@zeeshan333)
Estimable Member
Joined: 7 years ago

Wow, cheers for the quick reply.


Share: