4096
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Is there a way of only displaying the title when visitors are logged out and when they log in to show the full post?
I use this MOD at a site where confidential data gets posted in the news section. It would be great to hide the actual news block from non-members ..
<tr>
<td class="row2" ><div align="right"><small>(Date Posted: {news_comment_date})</small></div><b>Headline: {news_comment_headline}</b></td>
</tr>
{if user_loggedin}
<tr>
<td class="row1" align="left">{news_comment_text}</td>
</tr>
{endif user_loggedin}
"url_member" => (!empty($url_member)) ? $site_sess->url($url_member) : $site_sess->url(ROOT_PATH."member.php"),
"url_member_profil" => (!empty($url_member)) ? $site_sess->url($url_member) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$user_info['user_id'].""),
<a href="{url_member_profil}">Mein Profil</a>
...
<td>
<a href="{cat_url}" class="maincat">{cat_name}</a> ({num_images})
{if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}
</td>
...
and in your /templates/<your_template>/style.css the code for "aligned left" should be .maincat {
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
font-weight: bold;
padding-left: 5px;
}
@mawenzi
wäre es möglich hinter dem Kategorie name die Beschreibung einzufügen?
$category_list .= "<img src=\"".get_gallery_image("folder.gif")."\" alt=\"\"><b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id)."\">".$cat_cache[$category_id]['cat_name']."</a></b> - ".$cat_cache[$category_id]['cat_description']." - ( Bilder: ".$cat_cache[$category_id]['num_images']." ; Hits: ".$cat_cache[$category_id]['cat_hits']." ]<br />";
» <a href="{url_top_images}">{lang_top_images}</a><br>
» <a href="{url_new_images}">{lang_new_images}</a><br>
» <a href="{url_search}">{lang_search}</a><br>
» <a href="http://www.deine_seite.de/.../seite.php">deine Seite</a><br>
oder so ähnlich ... z.B. in einer Tabelle ... reines html ...