Jump to content

Recommended Posts

Posted

Topic Presets

Zobacz plik

🔹 Topic Presets is a smart autofill tool designed for forums that require structured topic formats. It allows administrators to define preset templates for topic creation, ensuring consistency and clarity across user submissions.

 

🧩 Whether it's support requests, recruitment threads, or bug reports - users simply select a preset, and the topic fields are automatically populated with the required format. No more confusion, no more formatting errors.

 

✨ Key Features:

  • Admin-defined topic templates
  • One-click autofill for users
  • Ideal for forums with strict posting guidelines
  • Reduces moderation workload and improves user experience

 

  • 4 months later...
Posted

Hello Split,

 

I found a compatibility issue with Topic Presets 1.0.0 on Invision Community 5.

 

When Topic Presets is enabled, creating a new topic produces the following error if POLLS are disabled for that forum:

 

Attempt to assign property "value" on null

 

The error occurs in the custom template hook:

 

forums_front_submit_createTopicForm__formContainer__before

 

The full stack trace points to:

 

/system/Theme/CustomTemplate.php(458) : eval()'d code

 

This only happens when the forum's poll option is disabled. If I enable polls, the topic form works normally. If I disable the Topic Presets application, the topic form also works normally with polls disabled.

 

It appears the application expects a poll-related form element to always exist and attempts to assign its value property even when that form element is null.

 

Could you please add a null or existence check before modifying the relevant form element?

 

The affected forum is my Newbie Introductions forum, where I do not want members to create polls.

 

Thank you.

-James

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.