 |
|
|
|

| Autor |
Nachricht |
cback
phpBB2.de User
 [KB] Manager

Anmeldungsdatum: 16.01.2004
Beiträge: 3321
Wohnort: Saarland
|
Verfasst am:
So 19 Dez, 2004 18:00 |
  |
So hier nach längerer Zeit mal ein neuer (kleiner) Mod von mir:
| Code: |
##############################################################
## MOD Title: Index Sidebar
## MOD Author: CBACK < > (Christian Knerr) http://www.cback.de
## MOD Description: Adds an Navigation and Search Sidebar on your Forum Index.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit: 4
## index.php
## language/lang_english/lang_main.php
## language/lang_german/lang_main.php
## templates/subSilver/index_body.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
## This MOD is compatible with phpBB 2.0.6 - 2.0.11 Boards.
## The MOD was generated by my own MOD-Creator Program "MIRO" you can download this program here:
## http://www.community.cback.de there you can also find a demonstration of this MOD on
## my Forum-Index.
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
|
Kompatibilität: phpBB 2.0.6 - 2.0.11
Demonstration: http://www.community.cback.de/index.php
Download:
Viel Spaß. |
_________________ [ Forensoftware | CBACK Software | SYNTACTION ]
Support only in Forum! - Support nur im Forum!
Zuletzt bearbeitet von cback am Di 06 Dez, 2005 21:45, insgesamt einmal bearbeitet |
|
     |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
-=NX=-
phpBB2.de User

Anmeldungsdatum: 06.05.2004
Beiträge: 335
|
Verfasst am:
Sa 07 Mai, 2005 22:21 |
  |
Ich hab gerade bei meinem Plus 1.5 (auf 1.13) den style subice geclonet und wollte das ausprobieren.
Problem:
In der index_body.tpl
finde ich
| PHP: |
<?php <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
|
nicht
und auch nichts, was so ähnlich aussieht  |
_________________ PageRank steigern? kein Problem: Webverzeichnisse nach PageRank sortiert |
|
    |
 |
$Dragonlord$
phpBB2.de User

Anmeldungsdatum: 05.06.2004
Beiträge: 669
|
Verfasst am:
Sa 07 Mai, 2005 23:25 |
  |
im Plus befindet sich das in der datei templates/fisubsilversh/index_box.tpl. |
_________________ Suchen bildet !!!
Kein Support per PN !!! Unaufgeforderte PNs werden ignoriert !!! |
|
    |
 |
-=NX=-
phpBB2.de User

Anmeldungsdatum: 06.05.2004
Beiträge: 335
|
Verfasst am:
So 08 Mai, 2005 10:23 |
  |
Danke, aber dann siehts so aus:
edit:
Hier noch meine index_box.tpl
| PHP: |
<?php <!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td style="vertical-align:top;">
<table width="100%" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<th width="126px" cellspacing="2" cellpadding="2" class="thCornerL" height="25" nowrap="nowrap"> {L_SIDEBAR} </th>
</tr>
<tr>
<td class="row1"><b>{L_SIDEBAR_FORUM}</b></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_FAQ}">{L_FAQ}</a></span></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_SEARCH}">{L_SEARCH}</a></span></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></span></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_GROUP_CP}">{L_USERGROUPS}</a></span></td>
</tr>
<tr>
<td class="row1"><b>{L_SIDEBAR_SETTINGS}</b></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_PROFILE}">{L_PROFILE}</a></span></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a></span></td>
</tr>
<tr>
<td class="row2"><span class="nav"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></span></td>
</tr>
</table>
<br />
<script type="text/javascript">
<!--
function checkSearch()
{
if (document.search_block.search_engine.value == 'google')
{
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
return false;
}
else
{
return true;
}
}
//-->
</script>
<form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()">
<table width="100%" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<th width="126px" cellspacing="2" cellpadding="2" class="thCornerL" height="25" nowrap="nowrap"> {L_SEARCH} </th>
</tr>
<tr>
<td align="center" class="row1"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center"><input class="post" type="text" name="search_keywords" size="15" /></td>
</tr>
<tr>
<td align="center"><select class="post" name="search_engine">
<option value="site">{L_FORUM}</option>
<option value="google">Google</option>
</select></td>
</tr>
<tr>
<td align="center"><input class="mainoption" type="submit" value="{L_SEARCH}" /></td>
</tr>
</table>
<input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" />
<br />
<a href="{U_SEARCH}" class="gensmall">{L_ADVANCED_SEARCH}</a>
</td>
</tr>
</table>
</td>
<td style="vertical-align:top;">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" width="100%" nowrap="nowrap"> {catrow.tablehead.L_FORUM} </th>
<th width="50" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" nowrap="nowrap"> {L_POSTS} </th>
<th nowrap="nowrap"> </th>
<th width="150" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td width="46" class="{catrow.cathead.inc.INC_CLASS}"><img src="{SPACER}" width="46" height="0" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" width="100%" colspan="{catrow.cathead.INC_SPAN}"><span class="cattitle"><a href="{catrow.cathead.U_VIEWCAT}" class="cattitle" title="{catrow.cathead.CAT_DESC}">{catrow.cathead.CAT_TITLE}</a></span></td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="5" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td width="46" class="{catrow.forumrow.inc.INC_CLASS}"><img src="{SPACER}" width="46" height="0" /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50" colspan="{catrow.forumrow.INC_SPAN}" valign="top">
<!-- BEGIN forum_icon -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" height="47">
<tr>
<td width="46" align="center"><a href="{catrow.forumrow.U_VIEWFORUM}"><img src="{catrow.forumrow.ICON_IMG}" border="0" /></a></td>
<td>
<!-- END forum_icon -->
<span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
<span class="gensmall">{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
<!-- BEGIN forum_icon -->
</td>
</tr>
</table>
<!-- END forum_icon -->
</td>
<!-- BEGIN forum_link_no -->
<td class="row3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.ICONS}</span></td>
<td class="row3" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" align="center" valign="middle" height="50" colspan="4"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td width="46" class="{catrow.catfoot.inc.INC_CLASS}"><img src="{SPACER}" width="46" height="0" /></td>
<!-- END inc -->
<td colspan="{catrow.catfoot.INC_SPAN}" height="1" class="spaceRow"><img src="{SPACER}" alt="" width="1" height="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table>
<br class="gensmall" />
<!-- END tablefoot -->
<!-- END catrow --> ?>
|
|
_________________ PageRank steigern? kein Problem: Webverzeichnisse nach PageRank sortiert |
|
    |
 |
|
|
|
|
|
Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
| |