Kategorie anzeigen bei "Neueste Beiträge"?

24.03.2011 11:21
avatar  hondafreak1981 ( Gast )
#1 Kategorie anzeigen bei "Neueste Beiträge"?
ho
hondafreak1981 ( Gast )

Kann man das einrichten das man auf der Seite "Neue Beiträge ansehen" auch sieht in welcher Kategorie der Thread ist?
www.hondayoungtimer.de

Habe das Phpp

Hier mein Template Element "Forum Ansicht"

Zitat
{{newmessage.start}}http://i235.photobucket.com/albums/ee320...timer/neu-3.gif{{newmessage.end}}
{{newforum.start}} <img src="{{global_img_new_index}}" border=0>{{newforum.end}}
{{thread_open.start}}http://i235.photobucket.com/albums/ee320...timer/alt-3.gif{{thread_open.end}}
{{thread_close.start}}{{img_server_2}}topic_read_locked.gif{{thread_close.end}}
{{thread_img_open.start}} <img src=" {{thread_img_open.end}}
{{thread_img_close.start}}" border=0>{{thread_img_close.end}}
{{leer.start}} {{leer.end}}
{{pages_start.start}}<span class="fths"> <img src="{{img_server}}msglot.gif" border=0>({{pages_start.end}}
{{pages_end.start}})</span>{{pages_end.end}}

{{global_on_page_0==true.start}}
{{pages_offset.startint}}0{{pages_offset.end}}
{{global_on_page_0==true.else}}
{{pages_offset.startint}}1{{pages_offset.end}}
{{global_on_page_0==true.end}}
{{tick(forums_cat_title)}}
<h2>{{showlast==true.start}} {[forum_title_newest]} {{showlast==true.end}}{{forum_title}}</h2>

{{subforum==true.start}}

<p>
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{[forum_subforum_list]}</dt>
<dd class="topics">{[name_threads]}</dd>
<dd class="posts">{[name_messages]}</dd>
<dd class="lastpost"><span>{[index_message_last]}</span></dd>
</dl>
</li>
</ul>
<ul class="topiclist forums">
{{tick(forums_before_subforum)}}
{{subforum.startlist}}
{{lastmessage.start}}<dfn>{[index_message_from]}</dfn> {[index_message_from]} {{user_registered==true.start}}<a href="{{subforum:lastmessage_user_link}}">{{user_registered==true.end}}{{subforum:lastmessage_user}}{{user_registered==true.start}}</a>{{user_registered==true.end}}<a href="{{subforum:lastmessage_link}}"><img src="{{img_server_2}}icon_topic_latest.gif" width="11" height="9" alt="Forum" /></a> <br /> {{subforum:lastchange|dateformat}}{{lastmessage.end}}
{{nolastmessage.start}} {{nolastmessage.end}}
<li class="row">
<dl class="icon" style="background-image: url({{subforum:new_messages==true.start}}{{img_server_2}}forum_unread_subforum.gif{{subforum:new_messages==true.else}}{{img_server_2}}forum_read_subforum.gif{{subforum:new_messages==true.end}}); background-repeat: no-repeat;">
<dt title="No new posts">


<a href="{{subforum:link}}" class="forumtitle">{{subforum:title}}</a>
{{subforum:description==true.start}}<br />{{subforum:description}}{{subforum:description==true.end}}

{{user_registered==true.start}}
{{forum:readable==false.start}}
<strong style="margin-bottom: 3px; display: block;">{{forum:title}}</strong><br/>
{{forum:readable==false.else}}
<a href="{{subforum:link}}" class="forumtitle">{{subforum:title}}</a>
{{forum:readable==false.end}}

{{user_registered==true.else}}
<a href="{{subforum:link}}" {{forum:readable==false.start}} onClick="return hpm_openDialog('{{forum:link}}');"{{forum:readable==false.end}} class="forumtitle">{{subforum:title}}</a><br/>
{{user_registered==true.end}}

{{subforum:moderator==true.start}}<br /><strong>{[name_moderator]}:</strong> {{subforum:moderator}}{{subforum:moderator==true.end}}</dt>
<dd class="topics">{{subforum:threads_count|numberformat}} <dfn>Topics</dfn></dd>

<dd class="posts">{{subforum:posts_count|numberformat}} <dfn>Posts</dfn></dd>
<dd class="lastpost"><span>
{{subforum:posts_count>0.lastmessage.nolastmessage}}</span>
</dd>
</dl>
</li>
{{subforum.end}}
{{tick(forums_after_subforum)}}
</ul>

<span class="corners-bottom"><span></span></span></div>
</div>

{{subforum==true.end}}

<div class="topic-actions" style="margin-top: 2em;">

<div class="buttons">
<div class="post-icon"><a href="{{new_thread_link}}" title="{[forum_create_thread]}"{{can_create_topic==false.start}} onClick="return hpm_openDialog('{{new_thread_link}}');"{{can_create_topic==false.end}}><span></span>{[forum_create_thread]}</a></div>
</div>
<div id="search-box" class="search-box">

<form method="get" action="{{link_search}}" name="hpmsearchform">

<input type="hidden" name="zeit" value="9999">
<input type="hidden" name="s" value="2">
<input type="hidden" name="forum" value="{{forum_id}}">

<fieldset>

<input name="suchen" id="keywords" type="text" maxlength="128" title="{[search_forum_searchbox]}" class="inputbox search tiny" value="{[search_forum_searchbox]}…" onclick="if(this.value=='{[search_forum_searchbox]}…')this.value='';" onblur="if(this.value=='')this.value='{[search_forum_searchbox]}…';" />
<input class="button2" value="{[search_submit]}" type="submit" /><br />
<a href="{{link_search}}" title="{[search_advanced_style2]}">{[search_advanced_style2]}</a> </fieldset>
</form>

</div>
<div class="pagination">
{{user_registered==true.start}}{[forum_mark_read]} • {{user_registered==true.end}}

{{forum_topics_count|numberformat}} {[name_threads]} •
{{pages_html.start}}
{[pages_page]} <strong>{{pages_current}}</strong> {[pages_page_of]} <strong>{{pages_all}}</strong>
{{pages==true.start}} •
<span>
{{firstpage_number==true.start}}<a href="{{firstpage_link}}">1</a> ...{{firstpage_number==true.end}}
{{pages.startlist}}{{ptrenn}}{{pages:now==true.start}}<strong>{{pages:now==true.else}}<a href="{{pages:link}}">{{pages:now==true.end}}{{pages:number}}{{pages:now==true.start}}</strong>{{pages:now==true.else}}</a>{{pages:now==true.end}}{{ptrenn.start}}<span class="page-sep">, </span>{{ptrenn.end}}{{pages.end}} {{lastpage_number==true.start}} ... <a href="{{lastpage_link}}">{{lastpage_number}}</a>{{lastpage_number==true.end}}
</span>
{{pages==true.end}}
{{pages_html.end}}
{{pages_html}}

</div>
</div>
<!-- Add Announcement -->
{{nomessage==false.start}}
<div class="forumbg">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{[name_threads]}</dt>
<dd class="posts">{[name_answers]}</dd>
<dd class="views">{[name_hits]}</dd>
<dd class="lastpost"><span>{[forum_message_last]}</span></dd>

</dl>
</li>
</ul>
<ul class="topiclist topics">

{{aend_tag.start}}</a>{{aend_tag.end}}

{{Topthema.start}}{{global_hot_topic}}{{Topthema.end}}

{{tick(forums_before_first_thread)}}
{{thread.startlist}}

{{hits.start}}{{thread:hits_count}}{{hits.end}}
{{user_registered==true.start}}{{thread:user_link_tag.start}}<a href="{{thread:user_link}}">{{thread:user_link_tag.end}}{{user_registered==true.end}}
{{thread:img_tag.start}}<img src="{{img_server}}{{thread:img}}" border="0">{{thread:img_tag.end}}
{{thread:user_color_tag.start}}<span style="color: {{thread:user_color}}">{{thread:username}}</span>{{thread:user_color_tag.end}}

{{thread:pinned==true.start}}

{{thread_stat_image.start}}
{{thread:new_message==true.start}}
{{thread:closed==true.start}}{{img_server_2}}sticky_unread_locked.gif
{{thread:closed==true.else}}{{img_server_2}}sticky_unread.gif
{{thread:closed==true.end}}{{thread:new_message==true.else}}

{{thread:closed==true.start}}{{img_server_2}}sticky_read_locked.gif
{{thread:closed==true.else}}{{img_server_2}}sticky_read.gif
{{thread:closed==true.end}}
{{thread:new_message==true.end}}
{{thread_stat_image.end}}

{{thread:pinned==true.else}}

{{global_hot_topic_activ==true.start}}
{{hits>=Topthema.start}}
{{thread_stat_image.start}}
{{thread:new_message==true.start}}
{{thread:closed==true.start}}{{img_server_2}}topic_unread_locked.gif
{{thread:closed==true.else}}{{img_server_2}}topic_unread_hot.gif
{{thread:closed==true.end}}
{{thread:new_message==true.else}}
{{thread:closed==true.start}}{{img_server_2}}topic_read_locked.gif
{{thread:closed==true.else}}{{img_server_2}}topic_read_hot.gif
{{thread:closed==true.end}}
{{thread:new_message==true.end}}
{{thread_stat_image.end}}
{{hits>=Topthema.else}}
{{thread_stat_image.start}}
{{thread:new_message==true.start}}
{{thread:closed==true.start}}{{img_server_2}}topic_unread_locked.gif
{{thread:closed==true.else}}{{thread:new_message==true.newmessage}}
{{thread:closed==true.end}}
{{thread:new_message==true.else}}
{{thread:closed==true.thread_close.thread_open}}
{{thread:new_message==true.end}}
{{thread_stat_image.end}}
{{hits>=Topthema.end}}
{{global_hot_topic_activ==true.else}}

{{thread_stat_image.start}}{{thread:new_message==true.start}}{{thread:closed==true.start}}{{img_server_2}}topic_unread_locked.gif{{thread:closed==true.else}}{{thread:new_message==true.newmessage}}{{thread:closed==true.end}}{{thread:new_message==true.else}}{{thread:closed==true.thread_close.thread_open}}{{thread:new_message==true.end}}{{thread_stat_image.end}}
{{global_hot_topic_activ==true.end}}
{{thread:pinned==true.end}}

<li class="row bg2">
<dl class="icon" style="background-image: url({{thread_stat_image}}); background-repeat: no-repeat;">
<dt style="background-image: url(./images/icons/smile/mrgreen.gif); background-repeat: no-repeat;" title=""><a href="{{thread:link}}" class="topictitle">{{thread:title}}</a>
<br />
{[forum_message_by]} {{thread:user_link==true.thread:user_link_tag}}{{thread:user_color==true.thread:user_color_tag.thread:username}}{{user_registered==true.start}}{{thread:user_link==true.aend_tag}}{{user_registered==true.end}}, {{thread:time_created|dateformat}}
{{thread:pages==true.start}}<strong class="pagination" style="padding: 3px 0px 3px 15px;"><span>
{{lastpage.start}}<a href="{{thread:lastpagelink}}">{[thread_goto_page_last]}</a>{{lastpage.end}}
{{komma.start}}{{komma.end}}{{thread:pages.startlist}}{{pageslist.start}}{{cur_page.startint}}{{pages:page}}+{{pages_offset}}{{cur_page.end}}<a href="{{pages:link}}">{{cur_page}}</a>{{pageslist.end}}{{pages:page<7.komma}}{{pages:page<6.pageslist}}{{pages:page==6.lastpage}}{{komma.start}} {{komma.end}}{{thread:pages.end}}
</span></strong>{{thread:pages==true.end}}
</dt>
<dd class="posts">{{thread:answers_count|numberformat}} <dfn>{[name_answers]}</dfn></dd>
<dd class="views">{{thread:hits_count|numberformat}} <dfn>{[name_hits]}</dfn></dd>
<dd class="lastpost"><span><dfn>{[forum_message_last]} </dfn>{[forum_message_by]} {{user_registered==true.start}}<a href="{{thread:lastname_link}}">{{user_registered==true.end}}{{thread:lastname}}{{user_registered==true.start}}</a>{{user_registered==true.end}}
{{user_registered==true.start}}<a href="{{thread:last_link}}"><img src="{{img_server_2}}icon_topic_latest.gif" width="11" height="9" alt="{[forum_message_last]}" title="{[forum_message_last]}" /></a>{{user_registered==true.end}} <br />{{thread:messagetime|dateformat}}</span>

</dd>
</dl>
</li>
{{tick(forums_after_thread)}}
{{thread.end}}
{{tick(forums_after_last_thread)}}
</ul>
{{nomessage==false.else}}
<div class="clear"></div>
<div class="panel bg1">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset><center><label>{[forum_empty_info]}</label></center></fieldset>
{{nomessage==false.end}}



<span class="corners-bottom"><span></span></span></div>
</div>

<fieldset class="display-options">
{{previous_page_link==true.start}}<a href="{{previous_page_link}}" class="left-box left">{[name_back]}</a>{{previous_page_link==true.end}}
{{next_page_link==true.start}}<a href="{{next_page_link}}" class="right-box right">{[name_forward]}</a>{{next_page_link==true.end}}
</fieldset>

<hr />
<ul class="linklist">
<li class="rightside pagination">{{pages_html}}</li>

</ul>


 Antworten

 Beitrag melden
25.03.2011 10:52
avatar  hondafreak1981 ( Gast )
#2 RE: Kategorie anzeigen bei "Neueste Beiträge"?
ho
hondafreak1981 ( Gast )

Keiner eine Idee???


 Antworten

 Beitrag melden
25.03.2011 13:21
avatar  Patrick
#3 RE: Kategorie anzeigen bei "Neueste Beiträge"?
avatar
Technik

Hm, leider gibt es an der Stelle keine Variable für die Kategorie. Wenn du magst, kannst du aber einen Verbesserungsvorschlag machen, um das zu ändern

Viele Grüße,
Patrick


Technik · Xobor · Miranus GmbH


 Antworten

 Beitrag melden
Bereits Mitglied?
Jetzt anmelden!
Mitglied werden?
Jetzt registrieren!