Log in

View Full Version : Is there a mod for this?


nyunyu
07-22-2008, 10:32 AM
As you can see from this thread.

https://vborg.vbsupport.ru/showthread.php?t=113792

It sort the article nicely like wrapping the image with the text. Also, look at Joe's about area on the right side.

Is there a mod of doing this? I'm planning to use it for my review section and this is certainly the best way to show a review.

Thank you.

Dismounted
07-22-2008, 11:56 AM
The layout is just a modified postbit AFAIK. You can change the template a post uses on-the-fly by changing the $this->templatename variable at postbit_display_complete/start.

nyunyu
07-22-2008, 12:51 PM
The layout is just a modified postbit AFAIK. You can change the template a post uses on-the-fly by changing the $this->templatename variable at postbit_display_complete/start.

Excuse me of being noobish..
Can you explain a little more details on how to do this exactly?

Thank you.

Dismounted
07-23-2008, 10:28 AM
Create another postbit template and name it "postbit_article" or something similar. Create your alternate template there. Then in a plugin at postbit_display_complete, add (X is the forum ID):
if ($thread['forumid'] == X AND $thread['firstpostid'] == $post['postid'])
{
$this->templatename = 'postbit_article';
}