News:

Create A Forum Installed

Author Topic: Custom Code?  (Read 954 times)

0 Members and 1 Guest are viewing this topic.

Offline Griff Grof

  • Full Member
  • ***
  • Posts: 151
  • Karma: 0
  • cachewalker.co.uk
    • View Profile
    • CacheWalker

Badges: (View All)
Fourth year Anniversary Level 5 Third year Anniversary
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: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
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

Badges: (View All)
Fourth year Anniversary Level 5 Third year Anniversary
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
4480 Views
Last post December 02, 2014, 06:57:57 pm
by CyanProductions
0 Replies
316 Views
Last post April 05, 2012, 07:49:35 pm
by Alex
9 Replies
1166 Views
Last post November 10, 2012, 05:32:39 pm
by Lionel
4 Replies
713 Views
Last post March 03, 2013, 04:17:10 pm
by aIURbliS
13 Replies
1424 Views
Last post March 13, 2013, 07:12:14 pm
by JJ