MyBB Community Forums

Full Version: ThankYou Graphic Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I appreciate any help you can provide,

I have a custom template on my board http://www.mypricesavings.com/forums

I would like to use the ThankYou plugin however, it pastes a graphic for Add Thanks or Remove thanx as a button in the bottom left of the threads.

I have contacted the designer that did my theme for me and attempted to contact the plugin author as well.

The designer is not sure how to make the change needed and the plugin author has not replied to me yet, so I am hoping that someone within these forums could help me.

What I would like to do is remove the Graphic and have the button be text to match the rest of my forums that is styled with CSS

The way it works is the graphic shows +thanks or -thanks graphic depending if you have added it or not.

so I would need it to show a text of Add Thanks or Remove Thanks depending on the scenario instead of the Graphic.

I am lost at how to do this.

I can provide this detail
<td align="right">{$post['social1']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>

so the {$post['thanks']} I assume is coding the location for the button,

how do I find that reference to make it not use the Graphic?

I hope that I have detailed my request well enough to receive an answer, I am not a programmer so if helping please be descriptive.

I appreciate you

Derrick
I am guessing {$post['social1']} is the button that needs to be changed?

I am not familair with the plugin but i would look for a postbit_social1 template in postbits. There you can edit out the <img part...
(2009-09-22, 08:57 PM)dronis Wrote: [ -> ]I am guessing {$post['social1']} is the button that needs to be changed?

I am not familair with the plugin but i would look for a postbit_social1 template in postbits. There you can edit out the <img part...

Thank you for your reply, but not the social plugin is not the one that I need, Its the ThankYou Plugin and if you visit my site you can see the delema I am having.
Overwrite your current inc/plugins/thx.php file with the attached one and let me know if it worked correctly.
(2009-09-23, 02:08 AM)Scoutie44 Wrote: [ -> ]Overwrite your current inc/plugins/thx.php file with the attached one and let me know if it worked correctly.

Thank you it almost works correctly.

It replaces the Graphic with the Text properly. however, upon clicking the thanks it sits at the loader graphic if you hit stop and refresh the page it will show the no thanks, if you click the no thanks it will sit at the ajax loader graphic too.

now sure why but thats what is happening at this time.

Thank you for all you have done so far
have you attached the javascript html @ your headerinclude template?
(2009-09-23, 04:21 AM)AndrewPH Wrote: [ -> ]have you attached the javascript html @ your headerinclude template?

with the button it worked flawlessly just didnt match the site, with the new one I copied over the new file as instructed and had them errors, I deactivated and reactivated the plugin after uploading the new file to the server so I am not sure what is needed at this point.
Hmm, it's definitely a Javascript issue. I'll look a bit deeper later today if I can.
(2009-09-23, 04:34 AM)technix Wrote: [ -> ]
(2009-09-23, 04:21 AM)AndrewPH Wrote: [ -> ]have you attached the javascript html @ your headerinclude template?

with the button it worked flawlessly just didnt match the site, with the new one I copied over the new file as instructed and had them errors, I deactivated and reactivated the plugin after uploading the new file to the server so I am not sure what is needed at this point.

check the javascript if it is attached in your headerinclude template Smile
(2009-10-03, 01:17 PM)AndrewPH Wrote: [ -> ]
(2009-09-23, 04:34 AM)technix Wrote: [ -> ]
(2009-09-23, 04:21 AM)AndrewPH Wrote: [ -> ]have you attached the javascript html @ your headerinclude template?

with the button it worked flawlessly just didnt match the site, with the new one I copied over the new file as instructed and had them errors, I deactivated and reactivated the plugin after uploading the new file to the server so I am not sure what is needed at this point.

check the javascript if it is attached in your headerinclude template Smile
yes it is in the template here is the url http://mypricesavings.com/forums/jscript...s?ver=1400
(2009-10-03, 01:17 PM)AndrewPH Wrote: [ -> ]
(2009-09-23, 04:34 AM)technix Wrote: [ -> ]
(2009-09-23, 04:21 AM)AndrewPH Wrote: [ -> ]have you attached the javascript html @ your headerinclude template?

with the button it worked flawlessly just didnt match the site, with the new one I copied over the new file as instructed and had them errors, I deactivated and reactivated the plugin after uploading the new file to the server so I am not sure what is needed at this point.

check the javascript if it is attached in your headerinclude template Smile
yes it is in the template here is the url http://mypricesavings.com/forums/jscript...s?ver=1400