Seite 33 von 67

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 04.11.2009 23:06
von ALLSTAR-STYLEZ
Hallo ich habe ein Problem im Profil wird angezeigt wie oft man ein Danke bekommen und abgegeben hat aber im Profil also viewtopic nicht hier ein Beispiel
http://gfx-united.org/viewtopic.php?f=87&t=486

Was muss ich machen damit das angezeigt wird??

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 04.11.2009 23:40
von Mahony
Hallo
Zeig mal bitte deine viewtopic.php im Pastebin.

Grüße: Mahony

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 04.11.2009 23:55
von ALLSTAR-STYLEZ

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:03
von Mahony
Hallo
Versuchs mal damit

Suche in der viewtopic.php

Code: Alles auswählen

$user->setup('mods/simple_hide_bbcode');

// Start Ultimate Points
$user->setup('mods/points');
// End Ultimate Points 
Ersetze mit

Code: Alles auswählen

$user->setup(array('mods/points', 'mods/thanks')); 
Suche und entferne

Code: Alles auswählen

//Begin Thank Post MOD
$user->add_lang('mods/thanks');
//End Thank Post MOD 

Grüße: Mahony

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:07
von ALLSTAR-STYLEZ
Hat sich leider nichts geändert :(
Weiter so wie vorhin.

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:27
von Mahony
Hallo
O.K. ..nächster Versuch
Suche und entferne

Code: Alles auswählen

// Start Ultimate Points
$user->setup('mods/points');
// End Ultimate Points   
Suche

Code: Alles auswählen

//Begin Thank Post MOD
$user->add_lang('mods/thanks');
//End Thank Post MOD   
Füge danach ein

Code: Alles auswählen

// Start Ultimate Points
$user->add_lang('mods/points');
// End Ultimate Points   
oder ersetze mit

Code: Alles auswählen

$user->add_lang(array('mods/points', 'mods/thanks')); 



Grüße: Mahony

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:37
von ALLSTAR-STYLEZ
Verstehe das letze nicht??
Also habe diesen Poins Code raus und nach Thanks ist weiter wie davor. :(
Wieso will das nicht gehen. :/

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:49
von Mahony
Hallo
Weiter gehts..

Suche

Code: Alles auswählen

if ($poster_id == ANONYMOUS)
        {
            $user_cache[$poster_id] = array(
                'joined'        => '',
                'posts'            => '',
//Begin Thank Post MOD
                'thanks'        => $row['user_thanks'],
                'thanked'        => $row['user_thanked'],
                'thanks_post'    => $row['user_thanks_post'],
                //End Thank Post MOD                
                'from'            => '', 
Ersetze mit

Code: Alles auswählen

if ($poster_id == ANONYMOUS)
        {
            $user_cache[$poster_id] = array(
                'joined'        => '',
                'posts'            => '',
                'from'            => '',
                //Begin Thank Post MOD
                'thanks'        => (isset($row['user_thanks'])) ? $row['user_thanks'] : '',
                'thanked'        => (isset($row['user_thanked'])) ? $row['user_thanked'] : '',
                'thanks_post'    => (isset($row['user_thanks_post'])) ? $row['user_thanks_post'] : '',
                //End Thank Post MOD 
Suche

Code: Alles auswählen

$user_cache[$poster_id] = array(
                'joined'      => $user->format_date($row['user_regdate'], 'd.m.Y'),
                'posts'            => $row['user_posts'],
                'warnings'        => (isset($row['user_warnings'])) ? $row['user_warnings'] : 0,
                'from'            => (!empty($row['user_from'])) ? $row['user_from'] : '', 
Ersetze mit

Code: Alles auswählen

$user_cache[$poster_id] = array(
                'joined'        => $user->format_date($row['user_regdate']),
                'posts'            => $row['user_posts'],
                //Begin Thank Post MOD
                'thanks'        => (isset($row['user_thanks'])) ? $row['user_thanks'] : '',
                'thanked'        => (isset($row['user_thanked'])) ? $row['user_thanked'] : '',
                'thanks_post'    => (isset($row['user_thanks_post'])) ? $row['user_thanks_post'] : '',
                //End Thank Post MOD
                'warnings'        => (isset($row['user_warnings'])) ? $row['user_warnings'] : 0,
                'from'            => (!empty($row['user_from'])) ? $row['user_from'] : '', 

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 00:56
von ALLSTAR-STYLEZ
Danke es ging schau :) http://gfx-united.org/viewtopic.php?f=87&t=574
Sag mal folgt vllt noch was demnächst?? Also schon was in Planung für eine neue Version von dem Mod? ^^

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Verfasst: 05.11.2009 01:00
von Mahony
Hallo
Hm..wenn ich mal wieder die Zeit dazu finde, werde ich wohl die Bugfixes in die Installations-Anleitung einbauen.



Grüße: Mahony