News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Thank You Mod (V1.2.3)

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

Previous topic - Next topic

Webhausfrau

Hi All,

I installed this MOD on SMF 1.1 in german language.
All files with .german in the name, which are not changed by the paket manager, I changend on my own.

But I still get 1 error an I don't know why or know how to solve.

The error:

8: Undefined index: d_thank_you
Datei: /Sources/Subs.php
Zeile: 3583



the code in the script:

3580 if (!$settings['use_image_buttons'])
3581 return $txt[$alt];
3582 elseif (!empty($settings['use_buttons']))
3583 return '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');
3584 else
3585 return '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />';
3586 }


Please can anybody help me?

greets Webhausfrau

SMF Forum 1.1.2 Theme Dilber MC

Webhausfrau

Now I added the line

$txt['d_thank_you'] = 'Danke'; in index.german.php

and no Errors occourse.

Hope that was the right way  ::)

greetz Webhausfrau
SMF Forum 1.1.2 Theme Dilber MC

mladen_nl

Hi, :D

It seems that I have a problem properly uninstalling Thank You Mod.
Installation went without a problem. Pre-installation check was OK, no errors were reported.
While replying to a posting in one of the forums I noticed that there were two Add Thank You buttons. This was for me the reason to uninstall Thank You Mod and install it again.
I went to Admin/Packages/Browse Packages and used Delete button on the most right side of the installed module. This was obviously WRONG :(. I should use Tab Installed Packages and button Uninstall.
If I look now in Forum Error Log I get enormous number of error messages which are related to Thank You Mod.
I tried to download and make a fresh install which would overwrite remaining files from the previous installation. Unfortunately on SMF MOD's Download page there is no Download link at Thank You Mod which is indication that SMF Install Manager assumes that this mod is already installed.
Now my question is... 
- How can I manually delete remains of my first installation of  Thank You Mod so I will be able to make a fresh install?
- Which lines in which .PHP files must I delete?
- How can I "fool"  ;) the system so I can download and install Thank You Mod for the second time?

I hope my explanation of my problem is a bit understandable. :o

Thank you for your comments and support

Mladen

Coldfx

Quote from: mladen_dfso on December 20, 2006, 03:20:37 PM
Hi, :D

It seems that I have a problem properly uninstalling Thank You Mod.
Installation went without a problem. Pre-installation check was OK, no errors were reported.
While replying to a posting in one of the forums I noticed that there were two Add Thank You buttons. This was for me the reason to uninstall Thank You Mod and install it again.
I went to Admin/Packages/Browse Packages and used Delete button on the most right side of the installed module. This was obviously WRONG :(. I should use Tab Installed Packages and button Uninstall.
If I look now in Forum Error Log I get enormous number of error messages which are related to Thank You Mod.
I tried to download and make a fresh install which would overwrite remaining files from the previous installation. Unfortunately on SMF MOD's Download page there is no Download link at Thank You Mod which is indication that SMF Install Manager assumes that this mod is already installed.
Now my question is... 
- How can I manually delete remains of my first installation of  Thank You Mod so I will be able to make a fresh install?
- Which lines in which .PHP files must I delete?
- How can I "fool"  ;) the system so I can download and install Thank You Mod for the second time?

I hope my explanation of my problem is a bit understandable. :o

Thank you for your comments and support

Mladen

Cheap solution: Replaced the files "Thank you Mod" had mod'd, remove the SQL columns of it (Under "[forum]_attachments"), and give a shot at re-installing.

Nice mod, but it may be even stronger, if you tie it in with the SMFShop developers (IE: 1 thanks = 5 points).  Similar to how you can run it on vBulletin.

mladen_nl

Hi Coldfx,

Thank you for your prompt reply. ;D
I tried to follow your instructions but doing that I was stuck at your first suggestion
QuoteCheap solution: Replaced the files "Thank you Mod" had mod'd,
The last part if this instruction (... had mod'd ) confuses me. What exactly do you mean by saying that?

Quoteremove the SQL columns of it (Under "[forum]_attachments"),
I have looked in ../smf/attachments but can not find any relation to SQL columns. But I do have a column called smf_thank_you in my SQL database. SMF and Joomla! Use the same database. Maybe you are suggesting that I delete this column (smf_thank_you ) in my database.

Please understand that I am not that familiar with this PHP stuff :-[
My wife sometimes explains things to me like I was two years old child just to understand things  :D

Again ... thank you very much for your input 8)

Mladen

ikaroweb

In order to express thanks I must click two times on the star.  :(

Kidsphoenixx

I have just finished reading all 8 pages on this thread, but found nothing about my problem.
I installed this mod before I fully understood SMF..... I would like to uninstall it until a later date....however, when I go to "Installed Packages", and click on uninstall, I receive this message:
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

Can someone please explain how I uninstall the mod then? I don't want to just delete it, cos I've read that doing that will often cause problems.
Thanks for any advice. :)
T.A.N.S.T.A.A.F.L.

mgaidia

would this work with hide tag special?

ディン1031

#108
Yes, it have a special option, to work with the hide tag special.

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

ディン1031

So updated to 1.1.1.

Must wait until it aproved <<... can take some time :x
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

Svatov

Where is the mod? I couldn't download it ... waiting so brutal for me =(


ディン1031

Hehe it take now a little bit time until the files are shown, because the must be aproved from the moderators of the mods :). But now it's here and downloadable.

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

Svatov

Thanks...You are the best...It is so nice present for me under New Year tree.... Good luck and happy in your life...

Flying Drupalist

Is there a way to sort the forum by threads with the most thankyous? Thanks!

ディン1031

Not really, okay it's madeable but it need a slow query (take a lot time to calculate all at one time, or a diffrent system where i must store the thank you counter into the topics).

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

Flying Drupalist


ディン1031

#116
Okay some people wished for pictures of my Mod okay here they are ;D.

This is Version 1.0.3 installed on a smf 1.0.10.



This is a Thank you list a little bit larger ;).



But you can make it smaller, change the order or remove the counter at each user. It have also a link to a complete Thank You list.



This show a list who i not post a thank you, and you see the hidden content ist not viewable.



After i post my thank you the hidden content is viewable, as long the option is enabled and the other mod is installed.



This is a thread without "Thank You", if you allowed to create a thank you you can add there each time one.



This are the advanced option of the thread (new thread), you can add therer also the Thank You Option. This will be filled automatc if you enable a automatic option for a thread.



Features and Options


Later or this weekend i add pics of the options in english ;).
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

wicked1

yay the new version is working for my 1.1.1; thank you so much for this mod :)
the only problem is the "add thank you" button is showing up on all posts--not just the original post for the thread (the topic-starter)...and it's showing up even in boards I didnt set to put thank you's in (under modify boards > modify > "automatic thank you" --i kept it unchecked for those boards).
I like the fact that its working for older threads, which I don't think it did before, but is there a way to fix it so it doesnt do those two things i mentioned above?

ディン1031

I will work on this, because i don't use 1.1.1 offen and did not see this error :x (I thing it's since 1.1RC2 in it *g*), but i will try to fix this in the next release but this could take some time (because i must made a huge backup this weekend).

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

Svatov

Dear DIN1031
Hi from Ukraine=)

I have two  small problems.
1. When i push "Thank you" its added in the first post of a topic every time. i am so confused because i need to add "Thank you" in other posts of topic without dependence on their position. I'd like to add "thank you" not only to author of  topic but to another  users too who wrote in there. How can i do ?
2. This is question about language because i have another one. I made all changes(by your recommendation) in language files ...but finally i couldn't see one thing... you can see it on the screenshot...




Also i have one proposition ...to make  sum count of all "thank you" (which you got) in new option(or field) of your profile. And to add the same below your avatar or in  another place over your contact information...it will be very usefull


Advertisement: