Author Topic: Smilies in my forum don't work  (Read 2501 times)

0 Members and 0 Guests are viewing this topic.

Offline Bohord

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Gender: Male
  • Oxfords not bragues
  • Location: Philippines
    • View Profile
    • Fantasy FF2
Smilies in my forum don't work
« on: April 30, 2016, 11:46:55 am »
I tried doesn't work
This is the Jquery.

Code: [Select]
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>This is the code.



Code: [Select]
<script type='text/javascript'>
/* Image Changes on Page
SMF For Free 2009 - WWX */
var forumurl = "http://fantasyff2.createaforum.com/index.php";
function swap_img(){
var img_b = new Array();
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/smiley.gif" , "http://smfsupport.com/support/Smileys/smfnew/smiley.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/wink.gif" , "http://smfsupport.com/support/Smileys/smfnew/wink.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/cheesy.gif" , "http://smfsupport.com/support/Smileys/smfnew/cheesy.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/grin.gif" , "http://smfsupport.com/support/Smileys/smfnew/grin.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/angry.gif" , "http://smfsupport.com/support/Smileys/smfnew/angry.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/sad.gif" , "http://smfsupport.com/support/Smileys/smfnew/sad.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/shocked.gif" , "http://smfsupport.com/support/Smileys/smfnew/shocked.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/cool.gif" , "http://smfsupport.com/support/Smileys/smfnew/cool.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/huh.gif" , "http://smfsupport.com/support/Smileys/smfnew/huh.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/rolleyes.gif" , "http://smfsupport.com/support/Smileys/smfnew/rolleyes.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/tongue.gif" , "http://smfsupport.com/support/Smileys/smfnew/tongue.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/lipsrsealed.gif" , "http://smfsupport.com/support/Smileys/smfnew/lipsrsealed.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/undecided.gif" , "http://smfsupport.com/support/Smileys/smfnew/undecided.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/kiss.gif" , "http://smfsupport.com/support/Smileys/smfnew/kiss.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/cry.gif" , "http://smfsupport.com/support/Smileys/smfnew/cry.gif" ]
img_b[img_b.length++] = [ "http://" + forumurl ".createaforum.com/Smileys/default/embarrassed.gif" , "http://support.createaforum.com/Smileys/smfnew/embarrassed.gif" ]




var a_i = document.getElementsByTagName('IMG');
for(i=a_i.length-1;i>=0;i--) for(j=0;j<img_b.length;j++) if(a_i[i].src == img_b[j][0]) a_i[i].src = img_b[j][1];
}
swap_img();




Someone help.

I dare you to visit my forum and join.
http://fantasyff2.createaforum.com/index.php

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 6143
  • Karma: 288
    • View Profile
Re: Smilies in my forum don't work
« Reply #1 on: April 30, 2016, 01:12:29 pm »
forummurl should just be fantasyff2
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Bohord

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Gender: Male
  • Oxfords not bragues
  • Location: Philippines
    • View Profile
    • Fantasy FF2
Re: Smilies in my forum don't work
« Reply #2 on: May 05, 2016, 11:15:39 am »
Tried, doesn't work still.

I dare you to visit my forum and join.
http://fantasyff2.createaforum.com/index.php

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 6143
  • Karma: 288
    • View Profile
Re: Smilies in my forum don't work
« Reply #3 on: May 05, 2016, 12:13:04 pm »
Not sure then i didn't make that code.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Bohord

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Gender: Male
  • Oxfords not bragues
  • Location: Philippines
    • View Profile
    • Fantasy FF2
Re: Smilies in my forum don't work
« Reply #4 on: May 14, 2016, 06:04:39 am »
It works

I dare you to visit my forum and join.
http://fantasyff2.createaforum.com/index.php

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
681 Views
Last post June 22, 2011, 01:35:04 pm
by erika.key
2 Replies
1359 Views
Last post June 21, 2014, 11:11:59 am
by AntacidObject66
2 Replies
412 Views
Last post July 03, 2014, 09:21:31 pm
by AntacidObject66
13 Replies
1500 Views
Last post July 10, 2014, 03:27:26 pm
by hudumapoa
6 Replies
742 Views
Last post October 06, 2015, 04:05:25 am
by MormonCricket