Firefox PHP

Module: Thread start on each read page

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date  
thread_start_on_each_read_page-1.0.0.tar.gz 1.8 KB open | download Maurice Makaay 03/16/2010 Read message
thread_start_on_each_read_page-1.0.0.zip 3.6 KB open | download Maurice Makaay 03/16/2010 Read message
Module: Thread start on each read page
March 16, 2010 08:59AM
This module can be used to display the thread starting message on each read page. This way, the thread starting message can always be kept visible, while the user can browse the thread reply messages.

This supports implementing a structure like often seen on blogs or news message sites with a comment system.

Template changes are needed for this module. In the included README, you will find information about the required changes.

Changelog:
----------

2010-03-16 v1.0.0

   - Initial revision.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Attachments:
open | download - thread_start_on_each_read_page-1.0.0.tar.gz (1.8 KB)
open | download - thread_start_on_each_read_page-1.0.0.zip (3.6 KB)
Re: Module: Thread start on each read page
March 16, 2010 12:53PM
Works Great. A very nice module. You'll have to alter your template to use it but it's very customizable.

The alternative to this module (The one by Joe) is a one file mod that works the moment you activate it. Which is simple and easy to use for the majority of users who need that type of feature. This mod is for people who need more powerful customization.

TASCK.com - easiest todo list ever - try it!
Re: Module: Thread start on each read page
March 16, 2010 05:18PM
I didn't check out Joe's code when I compiled this module. This is basically some code that was ripped from another module. In fact, my original also has the feature to always reply to the starter message, but I did not include the code for that to this module.

I think that it is not really hard to combine the modules and to allow for using the resulting module without template changes (but keeping an option to do the template modification by hand for ultimate flexibility). I will take a look at this later tonight.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Un-intended but awesome feature?
March 22, 2010 08:22PM
I Think this mod gave me super-powers.

In the cc_prepost.tpl under the line
<a href="{PREPOST->URL->READ}">{PREPOST->subject}</a><br />

I added
{PREPOST->body}<br />

And now I can finally see previews of the threads that need approval, which is what I've always wanted (without having to use the Post Previews Mod)

Could this be due to this mod?

TASCK.com - easiest todo list ever - try it!
Re: Un-intended but awesome feature?
March 22, 2010 08:30PM
It's not because of this mod. It probably was possible before adding the mod too.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Un-intended but awesome feature?
September 17, 2010 10:07AM
@ Voltius: Thanks! That was a life saver! Simple but useful a lot!
Sorry, only registered users may post in this forum.

Click here to login