DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Create a Forum Codes and Support
*****************************************************
#Post#: 4218--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 21, 2012, 11:43 am
---------------------------------------------------------
When I compared the code you used with the original code, I
noticed that you were missing a couple of things in there which
would cause it to not work. Did you use any sort of compression
tool on this code or something? I don't have any other
explanation on how you missed some parts of the code unless you
didn't copy and paste it.
Use this code instead:
--- Code ---
<script type="text/javascript"
src="
HTML https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
function GroupImage(Group, Image){
//Created by Agent Moose
var PostGroup = document.getElementsByTagName("li");
for(x=0;x<PostGroup.length;x++){
if(PostGroup[x].className === "membergroup" &&
PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
$(PostGroup[x]).parent().prev().find("a:last").prepend("<img
src='" + Image + "' />");
};
if(PostGroup[x].className !== "membergroup" &&
PostGroup[x].className === "postgroup" &&
PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
$(PostGroup[x]).parent().prev().find("a:last").prepend("<img
src='" + Image + "' />");
};
};
};
GroupImage("Administrator",
"
HTML http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png");
</script>
--- End Code ---
What exactly do you mean by "the one before 2.0"?
#Post#: 4219--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 21, 2012, 1:04 pm
---------------------------------------------------------
That code didnt work...so im guessing we have a dif version?
#Post#: 4220--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 21, 2012, 1:08 pm
---------------------------------------------------------
We never updated our forums so its the reg one, request another
code.
#Post#: 4221--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 21, 2012, 1:23 pm
---------------------------------------------------------
I've just checked your forum right now and it DOES work. The
problem is that you need to update your web browser to latest
version available or get a new one.
Chrome:
HTML http://www.google.com/intl/en/chrome/
Firefox:
HTML http://www.mozilla.org/en-US/firefox/new/
IE9(Windows Vista/7 only):
HTML http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages
#Post#: 4222--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 21, 2012, 1:40 pm
---------------------------------------------------------
It matter?
#Post#: 4223--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 21, 2012, 1:40 pm
---------------------------------------------------------
Yes it actually does
#Post#: 4224--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 21, 2012, 1:43 pm
---------------------------------------------------------
So once i dl that firefox is should work ?
#Post#: 4225--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 21, 2012, 1:44 pm
---------------------------------------------------------
Yes, any of the 3 I listed above will work.
#Post#: 4226--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 21, 2012, 1:48 pm
---------------------------------------------------------
Once i dled do i go on that browser of firefox and re enter
code?
#Post#: 4227--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 21, 2012, 1:49 pm
---------------------------------------------------------
You don't have to re-enter the code again, you will see the code
work because the image will appear next to your name.
*****************************************************
Page 4 of 7
DIR Previous Page
DIR Next Page