Advertisement:

Button "alle gelesen" und Rückkehr zum Boardindex

Aloittaja pupsi, elokuu 04, 2007, 03:02:30 IP

« edellinen - seuraava »

pupsi

Hallo,

ich hoffe Ihr könnt mir helfen.
Ich möchte gerne,  wenn der Button "alle gelesen" in einem Board betätigt wird, dass man dann zum Schluss der Aktion automatisch zum Boardindex zurückkehrt.

Version smf 1.1.2

Danke !

pupsi


ディン1031

#2
Eigentlich ziemlich einfach :)

In der $sourcedir/Subs-Board.php
Suche nach

if (!empty($_SESSION['old_url']) && strpos($_SESSION['old_url'], 'action=unread') !== false)
redirectexit('action=unread');


Ersetzten  mit

// if (!empty($_SESSION['old_url']) && strpos($_SESSION['old_url'], 'action=unread') !== false)
// redirectexit('action=unread');


Normal sollte er jetzt nur noch zum Boardindex zurückkehren.

Gruß
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

pupsi


Advertisement: