News:

Create A Forum Installed

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

0 Members and 1 Guest are viewing this topic.

Offline Bohord

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Gender: Male
  • Oxfords not bragues
  • Location: Philippines
    • View Profile
    • Fantasy FF2

Badges: (View All)
Linux User Mobile User Level 3
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: 7186
  • Karma: 327
    • View Profile

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

Badges: (View All)
Linux User Mobile User Level 3
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: 7186
  • Karma: 327
    • View Profile

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

Badges: (View All)
Linux User Mobile User Level 3
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
3 Replies
828 Views
Last post April 04, 2021, 08:02:33 am
by Azzerae
2 Replies
1790 Views
Last post June 21, 2014, 11:11:59 am
by AntacidObject66
2 Replies
582 Views
Last post July 03, 2014, 09:21:31 pm
by AntacidObject66
13 Replies
1640 Views
Last post July 10, 2014, 03:27:26 pm
by hudumapoa
6 Replies
877 Views
Last post October 06, 2015, 04:05:25 am
by MormonCricket