The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Different 'editpost' template for first post in thread
Hi,
I'm currently developing a role-playing game system for my forums. Every first post in a thread will be part of a story, all other posts are merely comments. So far, I was able to make it happen that the first post in a thread uses a different 'postbit' template. Also, 'newthread' and the whole 'forumdisplay' business are already working. What I still lack is the ability to use a different 'editpost' template for the first post in a thread. As those first post use different data (new columns in the database, etc.), editing them differs from editing a comment (a comment being a regular post). I have non-rpg forums, too: it would be nice to be able to enable this only for certain forums. Doesn't have to be a funky new page in the Admin Control Panel, source code suffices. I'm not very good at coding, my brain is empty right now, after working for so many hours. Could anyone please help me? 'All I need' is some source code prodiving the described functionality, documented/explained if possible. Please! :classic: (My English is very cruel, I know. I'm sorry. ) |
#2
|
||||
|
||||
edit "editpost.php", find:
PHP Code:
PHP Code:
Enjoy. |
#3
|
|||
|
|||
This looks stunningly easy and elegant.
Thanks, Logician, gonna try it out now. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|