https://www.icyphoenix.com/viewtopic.php?f=28&t=6349
-----------------------------------
Danielc
Sat 22 Aug, 2009 16:46

Thanks For All Posts
-----------------------------------
I want to request if there is any way that i can put a Thanks button for all the posts of a theme and not just for the first.


-----------------------------------
Mighty Gorgon
Thu 27 Aug, 2009 21:31

Re: Thanks For All Posts
-----------------------------------
Nope... this feature should be coded... and would require some extra SQL in viewtopic... and I won't code it, because I don't want to charge viewtopic with other unnecessary things.


-----------------------------------
Danielc
Fri 28 Aug, 2009 00:40

Re: Thanks For All Posts
-----------------------------------
Thanks !!. Any way.. I'm waiting for someone that port "Karma Mod" for the latest IP ..


-----------------------------------
spydie
Fri 28 Aug, 2009 00:45

Re: Thanks For All Posts
-----------------------------------
why don´t you try yourself Danielc.

It is´nt all that difficult to port an .27 Mod to 1.3


-----------------------------------
Danielc
Fri 28 Aug, 2009 04:25

Re: Thanks For All Posts
-----------------------------------
Yeah, i should try it.. I will try when i have some time..


-----------------------------------
Lopalong
Fri 28 Aug, 2009 07:05

Re: Thanks For All Posts
-----------------------------------
On a more serious note - - -  :mricy: 

Daniel,

I do believe that there were two "Thank You" MODS for phpbb2* - One did what the one here at IP does - The other had options for both or one or the other.

IF! you can find the one that does both, I may just look at it to see what needs to be done to it for IP.  :shock:

Bottom Line: You find it - We'll look at it.  :twisted:


-----------------------------------
Danielc
Sat 29 Aug, 2009 15:39

Re: Thanks For All Posts
-----------------------------------
Is [url=http://www.phpbb.com/community/viewtopic.php?f=15&t=373805&start=15]this the mod you say?? I am not sure because there isn't a DEMO of the MOD, but i have seen another one mod that is for the first post only..
Thanks.
EDIT: Possibly is [url=http://www.phpbb.com/community/viewtopic.php?t=441758]this mod.


-----------------------------------
Lopalong
Sun 30 Aug, 2009 02:09

Re: Thanks For All Posts
-----------------------------------
I'll have a look at both of them later - But a quick read indicates that they are only for the first post. :(

Will check it out.  :mryellow:

[b]Edit:[/b]

Ok! Daniel, I have something that may also interest MG and want to run it past him first. Because if he thinks it's worthwhile to add it to Icy Phoenix - Then he can do all the hard work.

 :mryellow:


-----------------------------------
spydie
Sun 30 Aug, 2009 13:15

Re: Thanks For All Posts
-----------------------------------
I´m with Danielc in this.

because a lot of times you help to fix a problem but can´t receive the thank´s for it, because you posted the fix in the Topic there the question (problem) was.

I understand perfectly what he want´s to archieve


-----------------------------------
Lopalong
Sun 30 Aug, 2009 13:34

Re: Thanks For All Posts
-----------------------------------
vB I believe has the same thing - Working on it.  :shock:


-----------------------------------
Danielc
Tue 01 Sep, 2009 00:36

Re: Thanks For All Posts
-----------------------------------
Thanks!!! I just wait xD..


-----------------------------------
Lopalong
Tue 01 Sep, 2009 02:48

Re: Thanks For All Posts
-----------------------------------
Update for you Daniel. ;)

I've got something working in IPv1.2  (Which for me was the easiest way to start) and it does what I think you want it too.

MG has re-coded and "moved" so much stuff in IPv1.3 that I am having some problems working out what is where and coding some sections of it in. :(

If all else fails - I'm going to ask MG for some help.  :mricy:



[b][i]I'm going to ask MG for some help.[/i][/b] == [i]I'm going to hound him to death![/i]  :lol:


-----------------------------------
Danielc
Wed 02 Sep, 2009 05:23

Re: Thanks For All Posts
-----------------------------------
Excellent News!!! Thanks for your help...
I hope that you can solve your problems!!! And thanks to MG also for the help you may give to Lopalong.


-----------------------------------
spydie
Wed 09 Sep, 2009 01:21

Re: Thanks For All Posts
-----------------------------------
Have a look on this one . 

It´s original from 1.0.27, i found it in Todo Mod´s.

should work on 1.3


-----------------------------------
Lopalong
Wed 09 Sep, 2009 02:14

Re: Thanks For All Posts
-----------------------------------
Thanks spydie,

But!

That one only covers viewtopic and is hard-coded with db_ prefixes etc. We're working on one that does a lot more and is switchable in the ACP. 

The only problem is that I'm waiting for MG to show me how he re-vamped the applicable Admin files because he's moved so much stuff around and changed so much of the script - He totally lost me. 

 :shock:


-----------------------------------
spydie
Wed 09 Sep, 2009 11:04

Re: Thanks For All Posts
-----------------------------------
not only you are lost , Lopa

i think he´s got the most of the coders crazy, searching around


-----------------------------------
Lopalong
Wed 09 Sep, 2009 12:02

Re: Thanks For All Posts
-----------------------------------
If and when the MOD is finished, it should be a good example of how MG now handles the catrows and block vars in forum_admin.php and forum_extend_admin.php.

While I can see what he has done - working out the whole scenario left me somewhat bewildered. :(

Anyway, he did say he would have a look at it this weekend. So we're getting closer. ;)


-----------------------------------
Danielc
Fri 11 Sep, 2009 00:06

Re: Thanks For All Posts
-----------------------------------
Thanks again..
If you can tell me, i would like to know if you continue doing this..
If that's true, i would like to see the code... So, i can try to help you xD..
Thanks!!


-----------------------------------
Lopalong
Fri 11 Sep, 2009 05:45

Re: Thanks For All Posts
-----------------------------------
Yes, we're going to continue doing it until it's working 100%.

As for the code - I think it's better if MG sorts out the Admin problems because he did make it quite different from what we're all used to.

;)


-----------------------------------
Mighty Gorgon
Fri 11 Sep, 2009 23:16

Re: Thanks For All Posts
-----------------------------------
I'll hopefully have a look tomorrow on this.


-----------------------------------
Lopalong
Sat 12 Sep, 2009 01:40

Re: Thanks For All Posts
-----------------------------------
I'm gonna' fly over to Italy and look over your shoulder while your doing it.!

So don't start until I get there!!  :twisted:


-----------------------------------
Mighty Gorgon
Sat 12 Sep, 2009 10:10

Re: Thanks For All Posts
-----------------------------------
If you are interested, I may point my webcam on my LCD... :lol:


-----------------------------------
Lopalong
Sat 12 Sep, 2009 10:34

Re: Thanks For All Posts
-----------------------------------
Hehehehe!,

I had another look at that rotten MOD today, and still couldn't work it out. :(

But your other post with the tutorial has hopefully thrown some light on what you are up to. Other than that - - I've gone as thick as a brick!  :mryellow:


-----------------------------------
Mighty Gorgon
Sat 12 Sep, 2009 11:09

Re: Thanks For All Posts
-----------------------------------
That mod is a total mess... it needs a recode.

I have just made some basic adjustments and fixes (for example the common thanks switch is used, so there is no need to add another one).

I have added some constants and removed some unuseful code.

I have also reformatted the code and the TPL.

What I would do:
[list][*]I would remove the buttons to thanks and I would just add a text link (avoid unuseful graphics elements in mod... or we need to have graphics for all styles!).
[*]I would remove the popup feature (it is awfully coded and unuseful because it doesn't update the post view).
[*]I would optimize the SQL which currently aren't... and those SQL will add a lot of charge to viewtopic.
[*]I would add the "cleaning" parts to functions and integrate them properly into Icy Phoenix functions (this to avoid that some mess remains after users / posts deletion).[/list]

Apart of that... the mod should work at least in a basic way. :lol:

I don't have the time to improve it further now, because I'm working on other stuffs.


-----------------------------------
Lopalong
Sat 12 Sep, 2009 12:13

Re: Thanks For All Posts
-----------------------------------
[quote user="Mighty Gorgon" post="44317"]That mod is a total mess... it needs a recode.[/quote]

What did you expect for a phpBB version 1.nothing MOD?  :mryellow: 

I knew it was rough and probably a Hackers "Dream" - But I didn't want to take it any further until I could see that it could in fact address the Db from the admin panel just to turn the "Bloody" thing on and off.  :lol: 

You have done us all proud MG, and we do appreciate it. Now I'll have a look-see and see if I can make all the recommended changes and present it as an acceptable MOD.

If I can't - I'm gonna' kill myself.  :censored: 

PS: Do you want me to add your name to the credits, or should I say "MOD by MG - Lopa' helped a little bit".  :icy_lol_flag:  :lol_flag:


-----------------------------------
Lopalong
Mon 14 Sep, 2009 15:08

Re: Thanks For All Posts
-----------------------------------
I've given this thing away, so anyone else can have a go if they wish.  :mryellow: 

I'm also beginning to agree with MG too that the thing is going to give the DB one hell of a workout once users start congratulating others excessively, and is not something that Icy Phoenix needs. :(

But I have started on something else which in my opinion does basically the same thing under a different name. And I don't know how long this one will take me to finish, but I do prefer this to the Thanks Mod.

[img]http://www.icyphoenix.com/files/images/3531/untitled_2_1252933568_491662.png[/img]


-----------------------------------
spydie
Mon 14 Sep, 2009 15:36

Re: Thanks For All Posts
-----------------------------------
I agree with you and MG on that.

It´s already dificult not to overcharge the db operations. And if a thank´s mod start´s crosschecking everything it will drive us all crazy. And maybe timeout or crash in the worst.


-----------------------------------
Danielc
Tue 15 Sep, 2009 00:22

Re: Thanks For All Posts
-----------------------------------
I also like the idea of a Karma Mod or Reputation.. I previously posted in that topic about porting that mod to the new version... If that is lighter and you can do it, i like the idea!!!


-----------------------------------
spydie
Tue 15 Sep, 2009 11:20

Re: Thanks For All Posts
-----------------------------------
I´m working on the Karma Mod from Todo-Mod´s

will post it here when i got it up and running


-----------------------------------
Lopalong
Fri 18 Sep, 2009 14:34

Re: Thanks For All Posts
-----------------------------------
I've finished the Reputation MOD. Now all I have to do is drag out all the changes and do fresh install, put it all together and write up the Docs for it. ;)

Sometime in the next week, because I have a few other things to do that are priority one. :P


-----------------------------------
Danielc
Sat 19 Sep, 2009 00:25

Re: Thanks For All Posts
-----------------------------------
Excellent!!!!!!!! Thanks for your work.. I will wait it!!


-----------------------------------
Lopalong
Sat 19 Sep, 2009 06:57

Re: Thanks For All Posts
-----------------------------------
Here you go Daniel - You can Beta test it!  :mricy: 

http://www.icyphoenix.com/viewtopic.php?p=44501#p44501


-----------------------------------
Danielc
Sun 20 Sep, 2009 22:29

Re: Thanks For All Posts
-----------------------------------
Thanks.. I will test it now!!!


-----------------------------------
Lopalong
Mon 21 Sep, 2009 03:20

Re: Thanks For All Posts
-----------------------------------
Keep checking the MOD Release thread Daniel, because three files have already been changed. ;)


-----------------------------------
Danielc
Tue 22 Sep, 2009 00:56

Re: Thanks For All Posts
-----------------------------------
Yes... I always check that section, so i will install it now that seems to work perfectly.. Thanks for your attention!!


-----------------------------------
Ripley
Sat 17 Apr, 2010 01:44

Re: Thanks For All Posts
-----------------------------------
We can thank user for the topic, is it possible just to put thanks button in every post in the topic? Will that work?  :oops: I do not know how it works, but if we can thanks for the topic we can also give thanks for post.


-----------------------------------
Mighty Gorgon
Sat 17 Apr, 2010 10:17

Re: Thanks For All Posts
-----------------------------------
[quote user="Ripley" post="48731"]We can thank user for the topic, is it possible just to put thanks button in every post in the topic? Will that work?  :oops: I do not know how it works, but if we can thanks for the topic we can also give thanks for post.[/quote]
Nope, it won't work. In standard Icy Phoenix only topic_id is stored when thanking a topic. So if you need to thank single posts you will need to add DB fields (and maybe a new table), alter a couple of SQL and then edit viewtopic and its template.


-----------------------------------
Ripley
Sat 17 Apr, 2010 14:07

Re: Thanks For All Posts
-----------------------------------
Okay I will try that way, thank you for responce  :)


