Tree lines like Phorum 3 module!
Posted by Brian Moon
Re: Tree lines like Phorum 3 module! January 20, 2006 07:10PM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: Tree lines like Phorum 3 module! January 23, 2006 10:09AM |
Registered: 19 years ago Posts: 71 |
Re: Tree lines like Phorum 3 module! January 23, 2006 10:51AM |
Registered: 18 years ago Posts: 30 |
in templates
list_threads.tpl
you need replace
{ROWS->indent_cnt} on {ROWS->indent}
read_threads.tpl
{MESSAGES->indent_cnt} on {MESSAGES->indent}
Next way to patch treeview.php
----
Yuri Abramenkov
forum.foxclub.ru
list_threads.tpl
you need replace
{ROWS->indent_cnt} on {ROWS->indent}
read_threads.tpl
{MESSAGES->indent_cnt} on {MESSAGES->indent}
Next way to patch treeview.php
befor 87 } 88 } after 87 } 88 $messages[$key]["indent_cnt"]=$messages[$key]["indent"]; 89 }
----
Yuri Abramenkov
forum.foxclub.ru
Yuri, i can't patch by your solution :( January 23, 2006 11:43AM |
Registered: 20 years ago Posts: 30 |
Quote
joys
list_threads.tpl replace {ROWS->indent_cnt} to {ROWS->indent}
read_threads.tpl replace {MESSAGES->indent_cnt} to {MESSAGES->indent}
patch treeview.php add row between 87^88: $messages[$key]["indent_cnt"]=$messages[$key]["indent"];
Yuri, i've tried, but without good result.
i think ident undefined, because i've got this picture:
Alexander Medentsev. Moscow. Russia.
Edited 2 time(s). Last edit at 01/23/2006 11:48AM by AlexSHO.
Re: Yuri, i can't patch by your solution :( January 23, 2006 11:51AM |
Admin Registered: 22 years ago Posts: 9,240 |
the corresponding line in list_threads.tpl looks for me like the following:
replacing the code there like before doesn't really help as its on a different place ;).
Thomas Seifert
<td class="PhorumTableRow<?php echo $rclass;?>">{ROWS->indent}{IF ROWS->sort PHORUM_SORT_STICKY}<span class="PhorumListSubjPrefix">{LANG->Sticky}: </span>{/IF}{IF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}<span class="PhorumListSubjPrefix">{LANG->Announcement}: </span>{/IF}{IF ROWS->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}: </span>{/IF}<a href="{ROWS->url}">{ROWS->subject}</a> <span class="PhorumNewFlag">{ROWS->new}</span></td> {IF VIEWCOUNT_COLUMN} <td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap" align="center">{ROWS->viewcount}</td>{/IF}
replacing the code there like before doesn't really help as its on a different place ;).
Thomas Seifert
Re: Yuri, i can't patch by your solution :( January 23, 2006 11:51AM |
Registered: 18 years ago Posts: 30 |
Hmm
Oh sorry :)
you need replace in list_threads.tpl
style="padding-left: {ROWS->indent_cnt}px">{marker}
on
>{ROWS->indent}
and in read_threads.tpl
style="padding-left: {MESSAGES->indent_cnt}px">{marker}
on
>{MESSAGES->indent}
----
Yuri Abramenkov
forum.foxclub.ru
Edited 1 time(s). Last edit at 01/23/2006 12:19PM by joys.
Oh sorry :)
you need replace in list_threads.tpl
style="padding-left: {ROWS->indent_cnt}px">{marker}
on
>{ROWS->indent}
and in read_threads.tpl
style="padding-left: {MESSAGES->indent_cnt}px">{marker}
on
>{MESSAGES->indent}
----
Yuri Abramenkov
forum.foxclub.ru
Edited 1 time(s). Last edit at 01/23/2006 12:19PM by joys.
Re: Yuri, i can't patch by your solution :( February 01, 2006 08:17PM |
Registered: 19 years ago Posts: 71 |
Re: Tree lines like Phorum 3 module! February 22, 2006 10:39PM |
Admin Registered: 23 years ago Posts: 4,495 |
I have updated this package with new instructions and removed the need to move the images to the images dir.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Tree lines like Phorum 3 module! February 23, 2006 07:41PM |
Registered: 19 years ago Posts: 71 |
What tree ? It simply doesn't work like that -> [phorum.internalspace.co.uk]
Sorry, only registered users may post in this forum.