Jump to content

Download: Automatic Topic Descriptions


Alan

Recommended Posts


Is there a way to create the description for all existing topics ? It could be a good thinks for making all topics clean with a description.





That's great idea if he can make as default to cover all topics that already posted.. :shifty:




I'll see what I can come up with. Due to the size of some forums it probably won't be an integrated part of this mod but a separate addon in the ACP that runs through the topics table adding descriptions as it goes. I'll try and come up with something next week :)
Link to comment
  • 1 month later...
  • 2 weeks later...

Found a forum where this was installed, and post preview no longer worked when this hook was enabled.



Yep, I can confirm this. When you write up a new topic and hit the Preview Post button, you get redirected back to a URL like this:

http://www.site.com/index.php?showtopic=


You may need to redo this hook as a data hook instead, using the postFirstPost option. From there you should be able to get the content of the post, query for the info about the topic that post is in, see if it has a topic description, and set one if it doesn't.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...