Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: wwe9112 on October 13, 2008, 09:59:50 AM

Title: addthis
Post by: wwe9112 on October 13, 2008, 09:59:50 AM
I want to add addthis to my view topic page. I want it to show up on the first post - the topic starter - where I can submit topics. Where would I add in the code at? Thanks.
Title: Re: addthis
Post by: Adish - (F.L.A.M.E.R) on October 13, 2008, 12:29:05 PM
http://custom.simplemachines.org/mods/index.php?action=parse;mod=790;attach=47161;smf_version=1.1.6

There isnt any mod as such but those edits might help you out. It may not work as the mod wasnt compatible with 2.0 versions. While it is very small edits, hence try if it works out.
Title: Re: addthis
Post by: wwe9112 on October 13, 2008, 02:02:14 PM
So what would I do? Do that code and add in my addthis code with it?

Also, how would I go about making this a mod for 2.0? I'd like to do that as it's easy to do if it's juat that little bt above...also could I use my board as the demo board?
Title: Re: addthis
Post by: Adish - (F.L.A.M.E.R) on October 13, 2008, 02:27:31 PM
try using the codes over a test board first as i am not sure if it will work or not. In order to make it compatible, you should try asking the mod author.

It tells you where to add the codes and which place. Try it if that helps out.
Title: Re: addthis
Post by: wwe9112 on October 13, 2008, 04:53:49 PM
let's start of simple ;) I have a piece of HTML code I need to insert into the display topic where that is. I think I found that. How do I post html in the display topic page? I tried and I got a huge error and couldn't even browse the forum so I took it out...so how do I add in HTML in all that php?
Title: Re: addthis
Post by: Adish - (F.L.A.M.E.R) on October 14, 2008, 03:13:53 PM
HTML in posts can be enabled by going to:-

Admin Panel --> Posts and Topics --> Enable basic HTML in posts --> Tick it.

Are we talking about the same feature you have requested about above ?
Title: Re: addthis
Post by: wwe9112 on October 14, 2008, 04:56:44 PM
ARRG...Yea< I know how to do that. I need to add HTML to the source code. When I try to add HTML to the source code I get a huge error and I can't even browse the forum because SMF was write in PHP. ..Someone whoith coding experience will prob be needed to answer this,
Title: Re: addthis
Post by: Rumbaar on October 27, 2008, 06:33:21 AM
You need to echo 'HTML in here'; your HTML in your php files.  Look at the php files in a decent text editor and you should be able to see the correct syntax required.