Author Topic: Custom Code?  (Read 794 times)

0 Members and 0 Guests are viewing this topic.

Offline Griff Grof

  • Full Member
  • ***
  • Posts: 151
  • Karma: 0
  • cachewalker.co.uk
    • View Profile
    • CacheWalker
Custom Code?
« 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>';

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 6256
  • Karma: 294
    • View Profile
Re: Custom Code?
« Reply #1 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.

Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Griff Grof

  • Full Member
  • ***
  • Posts: 151
  • Karma: 0
  • cachewalker.co.uk
    • View Profile
    • CacheWalker
Re: Custom Code?
« Reply #2 on: April 05, 2012, 08:37:59 pm »
Thank you very much  ;D

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
3463 Views
Last post December 02, 2014, 06:57:57 pm
by CyanProductions
0 Replies
205 Views
Last post April 05, 2012, 07:49:35 pm
by Alex
9 Replies
819 Views
Last post November 10, 2012, 05:32:39 pm
by Lionel
4 Replies
517 Views
Last post March 03, 2013, 04:17:10 pm
by aIURbliS
13 Replies
1039 Views
Last post March 13, 2013, 07:12:14 pm
by JJ