Quickadmin

Read-Only-Modus

Das 01-Supportforum befindet sich im Read-Only-Modus. Es ist nicht mehr möglich sich zu registrieren, neue Themen zu erstellen oder auf bestehende Themen zu antworten.

Alle Inhalte stehen bis auf absehbare Zeit jedoch weiterhin lesend zur Verfügung.


Bei Fehlern oder Problemen mit PHP-Scripten von 01-Scripts.de erstellen Sie gerne einen Issue-Eintrag auf Github oder nehmen Sie per E-Mail Kontakt auf.

  • Hallo zusammen


    Ich wollte mir gerade das Quickadmin auf mein Forum installieren und hänge an einer Datei, die ich ändern soll, es aber nur bedingt bei mir gibt... was soll ich da machen ?


    Das soll ich suchen in der board.tpl


    <if($board['allowratings']==1)><then><td class="tabletitle"><b>{$lang->items['LANG_BOARD_RATING']}</b></td></then></if>


    Was aber bei mir so ausschaut:


    <if($board['allowratings']==1)><then><td class="tabletitle" nowrap="nowrap"><b><a href="board.php?boardid=$boardid&amp;page=$page&amp;daysprune=$daysprune&amp;sortfield=vote&amp;sortorder=<if($sortfield == 'vote' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_BOARD_RATING']}</a></b> <if($sortfield == 'vote')><then><a href="board.php?boardid=$boardid&amp;daysprune=$daysprune&amp;sortfield=$sortfield&amp;sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></td></then></if>


    was mach ich denn nu ?


    lg
    Shila

  • öhm...


    das ganze zeug löschen und nur einen kleinen code einfügen ?


    lg
    Shila


    Nein.
    Den Code dadurch ersetzen:

    Code
    1. <if($board['allowratings']==1)><then><td class="tabletitle" nowrap="nowrap"><b><a href="board.php?boardid=$boardid&amp;page=$page&amp;daysprune=$daysprune&amp;sortfield=vote&amp;sortorder=<if($sortfield == 'vote' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_BOARD_RATING']}</a></b> <if($sortfield == 'vote')><then><a href="board.php?boardid=$boardid&amp;daysprune=$daysprune&amp;sortfield=$sortfield&amp;sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></td></then>
    2. <else>
    3. <if($wbbuserdata['can_use_quickadmin']==1)>
    4. <then>
    5. <td class="tabletitle"><b>{$lang->items['LANG_BOARD_QADMIN']}</b></td>
    6. </then>
    7. </if>
    8. </else>
    9. </if></if>
  • hallo nochmal..


    also ich lösche komplett diesen code


    <if($board['allowratings']==1)><then><td
    class="tabletitle" nowrap="nowrap"><b><a
    href="board.php?boardid=$boardid&amp;page=$page&amp;daysprune=$daysprune&amp;sortfield=vote&amp;sortorder=<if($sortfield
    == 'vote' && $sortorder ==
    'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_BOARD_RATING']}</a></b>
    <if($sortfield == 'vote')><then><a
    href="board.php?boardid=$boardid&amp;daysprune=$daysprune&amp;sortfield=$sortfield&amp;sortorder=<if($sortorder
    ==
    'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img
    src="{$style['imagefolder']}/<if($sortorder ==
    'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>"
    alt="" border="0"
    /></a></then></if></td></then></if>


    und ersetze ihn durch diesen komplett


    <if($board['allowratings']==1)><then><td class="tabletitle" nowrap="nowrap"><b><a href="board.php?boardid=$boardid&amp;page=$page&amp;daysprune=$daysprune&amp;sortfield=vote&amp;sortorder=<if($sortfield == 'vote' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_BOARD_RATING']}</a></b> <if($sortfield == 'vote')><then><a href="board.php?boardid=$boardid&amp;daysprune=$daysprune&amp;sortfield=$sortfield&amp;sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></td></then>
    <else>
    <if($wbbuserdata['can_use_quickadmin']==1)>
    <then>
    <td class="tabletitle"><b>{$lang->items['LANG_BOARD_QADMIN']}</b></td>
    </then>
    </if>
    </else>
    </if></if>


    ist das richtig ?
    sorry, aber so genau kenne ich mich noch nicht aus damit


    lg
    shila