The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Thanked Message

View previous topic View next topic Go down

Solved Thanked Message

Post by Cr4ZyBoY on April 25th 2013, 9:13 pm

Hello People Hello
I want to ask how can i make the picture than shows when someone press on thanks button like here in forumotion when u thank someone a picture appears 2 stars with text in it i need help how to add this Razz
Thanks


Last edited by Cr4ZyBoY on April 26th 2013, 6:02 pm; edited 1 time in total

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by Jophy on April 26th 2013, 11:41 am


Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 1:00 pm

one of these is for phpbb3 and one of them have nothing to help me :/

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 1:12 pm

Add this to your JS Management (Check to topics only)
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2[style="background-color:#;"] div.clear').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});

bye


Last edited by E-Mark on April 26th 2013, 1:19 pm; edited 1 time in total

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 1:14 pm

as u can see
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards.
its for phpbb3 i use phpbb2
also it didnt worked

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 1:20 pm

Dude, i can't edit it, since it's a copyrighted code. It's a notice. bye
The code works on my test forum, i tried it.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 5:28 pm

It wont work for me ...
i did like this new javascript management for topics only and this code ...

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by Jophy on April 26th 2013, 5:31 pm

Is your Javascript enabled?:
Admin panel > Modules > Javascript Code Management:
Enable Javascript code management : Yes
> Save

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 5:34 pm

it is set to yes

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 5:35 pm

Is it working to you Jophy? bye

Crazy: Ok wait.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 5:35 pm

Waiting Untill I Die Razz

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by DustyBones on April 26th 2013, 5:40 pm

Not to cut in on another's topic but I'm following along trying to install this and not getting this to work either. phpbb2 also.
Javascript enabled as I also have other scripts installed.
I put my thanks background color code in space provided.

DustyBones
Active Poster

Male Posts : 1227
Reputation : 517
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 5:42 pm

Crazy and Dust: Ok. Here give it a try now. I just fix it, it should be working now. Nevermind the phpbb3 version boards copyright notice:
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 div.postbody div.clear').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 5:45 pm

It Worked Thanks Again Mark Smile
:wouhou: :wouhou: :wouhou:

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by DustyBones on April 26th 2013, 5:47 pm

That works.. Very Happy
Is there a way for it to be at the bottom of the post instead of right under the text?



Last edited by DustyBones on April 26th 2013, 5:50 pm; edited 1 time in total

DustyBones
Active Poster

Male Posts : 1227
Reputation : 517
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 5:50 pm

As for you Dustbones, use this one instead Very Happy:
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 span.gensmall').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by DustyBones on April 26th 2013, 5:55 pm

that one scattered it down my whole page.
That's ok, I'll use the first code it works fine.. Smile
Thanks E-Mark, your coding skills are amazing..

and thanks Cr4ZyBoY for allowing me to drop in on your topic.. Smile

DustyBones
Active Poster

Male Posts : 1227
Reputation : 517
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 6:00 pm

xD No Problem But Mark is The Main Helper Here Razz and yeah like u said its scattered down but both codes are Good Razz

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 6:00 pm

Oh noooooooo. shaking
Yeah, i didn't notice that.

Can you provide me your viewtopic_body template.
Since i'm free today, i'll work with that one. bye


Last edited by E-Mark on April 26th 2013, 6:17 pm; edited 1 time in total

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by sasukekun on April 26th 2013, 6:11 pm

this conclusion how?
whether it can be used in "phpBB2"

tutorial how, can mean back,

example:
first: go to bla bla bla
paste in bla bla bla

please help me: D

I'm confused, see the comments above, where the code is correct and is not Very Happy

sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Solved Re: Thanked Message

Post by Cr4ZyBoY on April 26th 2013, 6:14 pm

Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 span.gensmall').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});
this will be on the buttom of the message but will be a little bit bad
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 div.postbody div.clear').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});
and this also works but will be above the signature or when u edit a post

Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Thanked Message

Post by sasukekun on April 26th 2013, 6:18 pm

@Cr4ZyBoY wrote:
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 span.gensmall').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});
this will be on the buttom of the message but will be a little bit bad
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 div.postbody div.clear').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});
and this also works but will be above the signature or when u edit a post

it all, placed where? first step?
Cssstyleshet or viewtopic_body? or other?

detail please, because I've learned: D

sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Solved Re: Thanked Message

Post by E-Mark on April 26th 2013, 6:21 pm

Place them on Javascript management (ACP > Modules > HTML and Javascript)
Do not use this one:
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('td.row2 span.gensmall').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" />  The topic starter thanks you!  <img style="vertical-align:top" src="http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png" /></div>');
});

I made a slightly mistake. xD.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: Thanked Message

Post by sasukekun on April 26th 2013, 6:54 pm

its work, thanks mr e-mark

you very very help member on this forum Very Happy

amazing salut

sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Solved Re: Thanked Message

Post by Jophy on April 26th 2013, 6:56 pm

I will consider this solved now, anybody who still have a question about this, please open a new thread, thanks Smile

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum