News:

Wondering if this will always be free?  See why free is better.

Main Menu

Thank You Mod (V1.2.3)

Started by ディン1031, January 11, 2006, 12:29:00 PM

Previous topic - Next topic

ディン1031

Hmmm strange i looked now if i forogt something to change in the ThankYou.php by the upgrade but all is in it... very strange...

Sorry for the problem you had :), good to hear that it work know.

Bye
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

dreamboxforum

THX for the Great Mod, but I have little Problem with this...
I have installed this Mod without Erorrs, than I have make new "Test Post" and I can´t seen any "Thank you Button" ...

I have check the *.xml and seems all files are on the right place, I have checked manually all Permission, use English Lang. but NOTHING. :'(

Use just "default" theme another themes are not present.

Hope anyone can Help me, you will find my SMF Board here: hxxp:www.dreamboxforum.eu [nonactive]

Thank you  

Bigguy

Are you using a custom theme ???

ディン1031

Quote from: dreamboxforum on February 14, 2007, 07:36:51 PM
THX for the Great Mod, but I have little Problem with this...
I have installed this Mod without Erorrs, than I have make new "Test Post" and I can´t seen any "Thank you Button" ...

I have check the *.xml and seems all files are on the right place, I have checked manually all Permission, use English Lang. but NOTHING. :'(

Use just "default" theme another themes are not present.

Hope anyone can Help me, you will find my SMF Board here: www.dreamboxforum.eu

Thank you  
First, did you enable it in the board?
Second, if other not see it, did you set the premissionens?

Bye
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

dreamboxforum

#164
Yes I have enabled it , and i have set Permission....

I don´t have install "Hide Mod" and "Hide Post" ..is it required for run this mod?

ディン1031

#165
Quote from: dreamboxforum on February 15, 2007, 03:57:35 AM
Yes I have enabled it , and i have set Permission....

I don´t have install "Hide Mod" and "Hide Post" ..is it required for run this mod?
Nope not needed...

Hmmm... *thinking* and also enabled it on the board settings. There where you enable automatic thank you there is a option to enable it for the board?

Bye
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

dreamboxforum

Sorry I found this OPTION now  in "Board Setttings"  now.

Thank you for your Help :)

St@rm

Can this mod be installed and be used with a custom theme,and if yes what needs to be changed,thanks.

ディン1031

Quote from: St@rm on February 20, 2007, 08:22:48 AM
Can this mod be installed and be used with a custom theme,and if yes what needs to be changed,thanks.
Hmmmm depend on the files the them have. The Themechanges are:


<edit file>
$themedir/Display.template.php
</edit file>

<search for>
else
unset($normal_buttons['custom']);
</search for>

<add after>

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}
</add after>

<search for>
if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
$mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'javascript:document.quickModForm.submit();');
</search for>

<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>


<edit file>
$themedir/ManageBoards.template.php
</edit file>

<search for>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</search for>

<replace>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';

// Here is the Thank You Option for the enable of the Thank you in this board!
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_topics_enable'], '</b><br />
', $txt['mboards_thank_you_topics_enable_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you_topics_enable" ', $context['board']['thank_you_topics_enable'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
// Here is the New Thank You Option for the Board Premissions
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_automatic'], '</b><br />
', $txt['mboards_thank_you_automatic_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you" ', $context['board']['thank_you_automatic'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</replace>

<edit file>
$themedir/Post.template.php
</edit file>

<search for>
<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>', $context['can_announce'] && $context['is_first_post'] ? '
<tr>
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</search for>

<add after>
', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
<tr>
<td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] || $context['thank_you_automatic'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</add after>


Bye
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

St@rm

Thanks for your reply DIN1031,I'm using the PDX-DK Theme so just tell me what file needs to be changed and I could post here the file and you could give me directions where to do it,thanks.

ディン1031

Quote from: Xiphi on February 25, 2007, 02:52:43 AM
i need this one: (Thank You Mod Vbullitin Style)

Write me a pm, than i sent you beta version of it ;).

Bye
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

PUMPHOCKEY

HI DIN1031,

ich bräuchte mal Hilfe... hab vorhin den Thank You Mod per Packages installiert und irgendwie funktioniert er nicht. Ich hab vorher den Hide Special von dir installiert. Hab eine neue Forenkategorie erstellt, das Forum darin und hab Enable Thank You Bot gemacht... trotzdem kommt nichts, wenn ich als Admin den thread gepostet hab, steht unten drunter "No user in the list" oder s.ä.... wenn ich nun mich als mein Testuser einlogge, seh ich da gar nichts... keine Buttons oder so...

Wäre echt schön, wenn du mir helfen könntest!!!

MfG j0ki

edit:

btw... wo kann ich die deutsche lang. datei dazu finden?

edit2:

sry, bin aber noch ein totaler noob... hab heute erst das SMF installiert!

ディン1031

#172
So die Deutsche Sprachfile findest du in diesen Thread auf der ersten Seite im ersten Post :). Da ist das deutsch Sprachpacket zum installieren der Deutschen Sprache angehängt.

Das andere ist hast du den User auch die Berechtigungen gegeben das sie Danke sagen dürfen und es lesen dürfen ;P. Weil als admin hat man erst mal von vorn herein alle rechte ;P.

Macht man unter AdminCP->Berechtigungen

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

dheeraj

hey Man..

Recently i downloaded ur ThankYouMod111 and i hav
the SMF version 1.12,im new to SMF and i dont know
how to install mods..can u plz tell me how to install
this Mod..

I will be Thank ful to you if u help me..

PUMPHOCKEY

#174
Hallo... danke hab die german lang. vorhin gar nicht gesehen ^^... hab fast alle 12 Seiten durchgeschaut -.-'

so... hat leider nicht wirklich geklappt... hab Häckchen bei "Zeige DANKE Liste", "Danke aussprechen" und "Danke hinzufügen" gemacht...

es sind keine buttons zu sehen und da steht immer "No Users found in the list"...

edit:

und was verdammt komisch ist, dass wenn ich die lang auf englisch hab, dann werden mir die DANKE sachen im ACP auf Deutsch angezeigt und wenn ich die deutsche lang drin hab, dann wird mir an den Stellen im ACP gar ncihts angezeigt!

edit2:

hab gerade mal alles komplett neu installiert... nachdem die install fertig war, im ACP auf german gewechselt, den Thank You Mod installiert, die deutsche Sprachdatei danach und nun funktioniert es, außer dieser dumme Fehler mit englisch -> deutsch im acp und deutsch -> nichts im acp

edit3:

sry, für die vielen edits... aber der hidden mod ist ja auch von dir... der zeigt mir das da jetzt an -> ./Sources/Display.php     Test failed
soll man erst den hidden und dann den thx mod installieren?


ディン1031

@j0ki

Uff ich dachte du hast den Hide Mod schon installiert xD. Hmmmm normal dachte ich immer es geht auf beiden wegen, aber jetzt kann es schon das das ich durch das das ich den Thank You Mod zum Hide Post kompatible gemacht habe, dass mein Hide Tag nicht mehr auf dem zweiten weg geht... wobei sicher bin ich mir da net.

Aber kann auch sein das ich es immer umgekerht installiert habe ;). Muß ich aber erst heut abend nachvollziehen ob das so ist. Hast du irgendwelche anderen Mods installiert? Und du meinst schon mit Hie Mod den Hide Mod Special?

---

@dheerja -> Via Package Manager? Upload it to the Package dir and klick on install.

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

PUMPHOCKEY

Hi DIN1031... danke erstmal, dass du meine Probleme so bereitwillig aufnimmst und versuchst mir zu helfen!

So nun zum Problem... ne ich hab die gesamte DB geleert und das Forum neu installiert, da ich halt diesen komsichen Bug hatte, mit den Sprachdateien ( dazu später nochmal mehr ) und der Thx Mod wurde mir nicht angezeigt. Dann hab ich SMF neu installiert und habe dann gleich den THX Mod ausprobiert ( muss wohl nochmal neu installieren? oder einfach thx mod deinstallieren und dann den Hide Special [ja den mein ich, den von dir halt ^^] installieren und dann nochmal die install vom thx mod?? ).

Zum Sprachproblem... hab hier mal zwei Screenis gemacht...

1:

und

2:

Ich bin folgendermaßen vorgegangen, bei der Install:

1. SMF Forum installiert,
2. Nach der Install vom Forum, im ACP auf GERMAN gestellt,
3. Im Paket Manager den Thank You Mod hochgeladen,
4. Installiert,
5. Im Paket Manager die German Dateien vom TY Mod hochgeladen,
6. Installiert,
7. Done

Muss ich den zweiten Schritt weglassen und im ACP erstmal englisch lassen????

edit: sry, hab deine frage vergessen zu beantworten... nein, hab sonst keine anderen mods.

ディン1031

#177
Ne Ne ist schon so in ordnung ;). Das mit dem Hide Tag Special scheint ja dann wirklich so zu sein, ich werde es einfach heut aben nachgucken in so kompatibel machen das es auch in der Variante geht, sollte eigentlich zu machen sein. ;) Ich weiß sogar ohne auszuprobieren woran es scheitert xD.

Natürlich kannst auf den Thanks Mod deinstallieren, Hide Special installieren und dann wieder Thanks Mod Installieren da ja nichts an den einstellungen verloren geht. ;) (In der Reihenfolge bin ich mir sicher das gehen sollte).

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

PUMPHOCKEY

#178
Ok, werd ich so machen. Und bezüglich mein Problem mit den Sprachen??

edit:

jetzt hab ich wieder nen problem ^^... hab jetzt thx deinstalliert, hide installiert, thx installiert und wenn man in einem thread etwas in [hide][/hide] schreibt und thx anhängt, dann wird der text nach dem bednaken nicht sichtbar

ディン1031

#179
Hast du auch die option angewählt zum sichtbar machen? Also wenn man es anschaltet geht es astrein ;), hab es ausprobiert.

Und welches sprachproblem? Kann es vielleicht sein das du utf-8 hast ?_?.

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

Advertisement: