Create A Forum - Support Forums

Support => Create a Forum Codes and Support => Topic started by: Griff Grof on April 05, 2012, 07:44:40 pm

Title: Custom Code?
Post by: Griff Grof on April 05, 2012, 07:44:40 pm
Can I put a bit of custom code to the right place in the index.template.php file in the /themes/default directory? Is this possible? If so, how?


The code I want, is to be added to the profile fields displayed by each post (next to webpage, main, twitter etc under profile pic)


This is the code I intend to use:


//Show gc.com profile[/size][/size][/size][/size]         echo'<li> <a href="http://www.geocaching.com/profile/?u=', $message['member']['username'],'" target="_blank"><img src="http://www.emcache.com/gspro.gif" alt="GC.com Profile" title="Geoaching.com Profile"></a></li>';
Title: Re: Custom Code?
Post by: CreateAForum on April 05, 2012, 07:49:39 pm
No but you can probably create a custom profile field to do the same thing or you can probably right a javascript code to do so.

Title: Re: Custom Code?
Post by: Griff Grof on April 05, 2012, 08:37:59 pm
Thank you very much  ;D