Author |
Topic |
MaGraham
Senior Member
USA
1297 Posts |
Posted - 29 March 2013 : 23:15:16
|
This just sounds super exciting!
I especially like the thought of an option to change from "thanks" to "like" with this!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 12 April 2013 : 05:11:49
|
anyone have solotuion ? |
======================= http://www.Giumer.it/forum
======================= |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 12 April 2013 : 11:49:37
|
Working on it, Giumer. Taking longer than I thought it would, keep interrupting myself with other short-termed projects. |
|
|
Giumer
Junior Member
Italy
163 Posts |
|
golfmann
Junior Member
United States
450 Posts |
Posted - 08 May 2013 : 10:34:29
|
Any "luck" ?
If you ever get it I say we name it the Carefree Thanks Mod |
Edited by - golfmann on 09 May 2013 14:55:12 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 09 May 2013 : 22:05:02
|
I'll finish it sooner or later. I suppose I should try and concentrate on it more. Don't know what it is about this one, I work on it a few minutes and do almost anything else to get away. |
|
|
golfmann
Junior Member
United States
450 Posts |
Posted - 09 May 2013 : 22:47:24
|
If I can help beta test or something, let me know. I am sure others are willing to pitch in as well.
You're not alone, ya' know... |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 10 May 2013 : 08:49:42
|
quote: Originally posted by Carefree
I'll finish it sooner or later. I suppose I should try and concentrate on it more. Don't know what it is about this one, I work on it a few minutes and do almost anything else to get away.
I've got a project or two like that myself. |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 03 October 2013 : 22:37:46
|
Carefree mate have news for this mod ? |
======================= http://www.Giumer.it/forum
======================= |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 06 March 2015 : 07:06:46
|
I had forgotten this project. I'm really good at forgetting now. At any rate, I finished this idea before I forgot about it. This allows all members to express "Thanks" for a topic/reply, only once each. Members cannot "Thank" their own post. It displays the count beside the icon. I chose NOT to have it display names of thanking users. The link is disabled if not a member or if a member has already "Thanked" a topic/reply. There is also prevention to preclude someone creating the link for an automatic script.
Get an updated copy on SnitzBitz or follow instructions below.
Super easy to install, maybe a 1 out of 10.
1. Save the following as "dbs_thanks.asp" in your forum folder, run it from the admin console.
Thanks 1.0
[CREATE]
THANKS
TOPIC_ID#INT##0
REPLY_ID#INT##0
MEMBER_ID#INT##0
[END]
2. Modify the following two files as indicated:
"inc_iconfiles.asp"
"topic.asp"
3. Finally, save the following image (or make your own) in your images folder, titled "icon_thanks.png".
To display names in a popup, here's what you need:
Use this code INSTEAD of the one above for "topic.asp"
"inc_header.asp"
Save the following as "pop_thanks.asp". Set the value on line 11 to who you wish to allow to view.
|
Edited by - Carefree on 10 March 2015 19:27:53 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 07 March 2015 : 18:43:40
|
Hi Carefree,
I hope that you do not mind, but I did a slight change to stop non-members/not signed in members from clicking the thanks button as I got a few robots clicking the links shortly after putting it up.
Small change to iconfiles.asp:
Small change to topic.asp:
I also created a new icon if that is OK:
I kinda went like the Farcebook like icon, but the other way and darker. |
Cheers, David Greening |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 07 March 2015 : 20:33:25
|
I incorporated anti-spammer/anti-hacker into the previous post now. Didn't think about bots before, thanks. You need to do one additional step, though, to prevent an automatic script from adding to the count - look at my code.
As for the icon and sizing, that's entirely up to you, it doesn't affect performance. |
Edited by - Carefree on 07 March 2015 20:37:34 |
|
|
golfmann
Junior Member
United States
450 Posts |
Posted - 08 March 2015 : 14:42:55
|
I'd really like to have the members who thanked pop up upon hovering on the number. Would that be too much of a problem to do?
(hopefully not) |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 08 March 2015 : 19:16:52
|
See previous page for instructions on displaying names. |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 10 March 2015 : 02:36:13
|
I got the following error message when running the dbs file...
quote:
Creating table(s)... CREATE TABLE FORUM_THANKS( THANKS_ID INT (11) DEFAULT '' NOT NULL auto_increment , TOPIC_ID int NOT NULL DEFAULT 0, REPLY_ID int NOT NULL DEFAULT 0, MEMBER_ID int NOT NULL DEFAULT 0,KEY FORUM_THANKS_THANKS_ID(THANKS_ID)) CREATE TABLE FORUM_THANKS( THANKS_ID INT (11) DEFAULT '' NOT NULL auto_increment , TOPIC_ID int NOT NULL DEFAULT 0, REPLY_ID int NOT NULL DEFAULT 0, MEMBER_ID int NOT NULL DEFAULT 0,KEY FORUM_THANKS_THANKS_ID(THANKS_ID)) -2147467259 | [MySQL][ODBC 5.1 Driver][mysqld-5.1.73-community]Invalid default value for 'THANKS_ID'
|
Edited by - Webbo on 10 March 2015 02:36:57 |
|
|
Topic |
|
|
|