New messages Members Forum rules Search
  • Page 1 of 1
  • 1
Forum moderator: kostova  
uCoz Support Forum by uCozers » uCoz » Forum » Code for Thanks button? (sml[answered])
Code for Thanks button?
barc00deDate: Friday, 2009 September 04, 9:55 PM | Message # 1
Font size: A | A |
Lieutenant
Group: uCozer
Message: 55
[ ]
Offline
Hi, I need a code for adding the Thanks button on fourms.
 
BrazenDate: Saturday, 2009 September 05, 0:02 AM | Message # 2
Font size: A | A |
Colonel
Group: Administrator
Message: 304
[ ]
Offline
I guess you just want a regular button that says Thanks on it
Code
<input type="button" value="Thanks"
onClick="window.location='http://www.google.com/'">


LOL With Us! l Game Blog l 3D Autos

"knowledge without wisdom is curse" Alex Seb

 
KroneDate: Tuesday, 2009 October 13, 12:17 PM | Message # 3
Font size: A | A |
Lieutenant
Group: uCozer
Message: 79
[ ]
Offline
What does the thanks button do? Give reputation?

http://www.gamescenterarcade.com/
 
kostovaDate: Tuesday, 2009 October 13, 12:21 PM | Message # 4
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Something like that. Brazen's code redirects to google. That's a helluva thanks haha.
 
KroneDate: Tuesday, 2009 October 13, 12:28 PM | Message # 5
Font size: A | A |
Lieutenant
Group: uCozer
Message: 79
[ ]
Offline
Lol, thats alittle useless, it should give +1 Rep with an auto-message of "Thanks" or something biggrin

http://www.gamescenterarcade.com/
 
kostovaDate: Tuesday, 2009 October 13, 1:20 PM | Message # 6
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
<input type="button" value="thank $USERNAME$" onclick="new _uWnd('AwD','Give award',380,200,{autosize:1,maxh:300},{url:'/index/55-1-28-forum-10_242_1440_16_1252094532'}); return false;"/>

It's not up to speed though, the url inside the onclick event is not specific, or it actually is too specific and I just basically copied it from Brazen's post (rep +thumbs up / -thumbsdown). Change the values to whatever you want.

 
EasyShareZDate: Saturday, 2009 October 17, 12:26 PM | Message # 7
Font size: A | A |
Sergeant
Group: User
Message: 39
[ ]
Offline
I like the button, but, is there anyways we can set the button up for another user instead of the poster them self?

Our members submit the post, then the moderators and admins post things after screening. We would like to put that button on the post but linked to the person who submitted the post instead of the person who posted it.

Or is there a way to post them in their name so they get the credit for the postings?

Thank you
EZ




Edited ByEasyShareZ - Saturday, 2009 October 17, 12:46 PM
 
AltricDate: Saturday, 2009 October 17, 6:27 PM | Message # 8
Font size: A | A |
Major
Group: uCozer
Message: 81
[ ]
Offline
Very Awesome. smile

"When you get frustrated, just ignore it and keep on enjoying life."
 
kostovaDate: Saturday, 2009 October 17, 9:38 PM | Message # 9
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Code
<?if($AWARDS_DO_URL$ && $USER_LOGGED_IN$ && $CUR_USER_ID$!=$UID$)?>
<input type="button" value="thank $USERNAME$" onclick="new _uWnd('AwD','Give award',380,200,{autosize:1,maxh:300},{url:'/index/55-$UID$-28-forum-$FID$_$TID$_$ID$_16_$TIMESTAMP$'}); return false;"/>
<?endif?>

I'm not sure what you mean, but I think this is what you want.
Or do you mean to always have a +/- rep for the first poster/thread maker?
 
EasyShareZDate: Monday, 2009 October 19, 1:36 AM | Message # 10
Font size: A | A |
Sergeant
Group: User
Message: 39
[ ]
Offline
kostova,

When I enter that code is comes back as user not found, how do I link it to that person?

Thanks
EZ


 
SDMTEAMDate: Tuesday, 2011 January 11, 7:22 AM | Message # 11
Font size: A | A |
Private
Group: User
Message: 14
[ ]
Offline
hi Colonel

i want this code also please help me, how to use this code use the thanks button add the point for user automatic

Thanks

 
uCoz Support Forum by uCozers » uCoz » Forum » Code for Thanks button? (sml[answered])
  • Page 1 of 1
  • 1
Search:


Copyrights uCozers 2009 - 2024 To TOP
Refresh Smileys Manager