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#: 1112--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Magrt
Date: November 7, 2010, 8:40 pm
---------------------------------------------------------
Please where can i put this code in my forum help me.
#Post#: 1113--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Alex P.
Date: November 7, 2010, 9:23 pm
---------------------------------------------------------
Please follow the directions in the first post of this topic.
The code goes in the footers section of the forum. ;)
#Post#: 3769--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: lizard king
Date: March 4, 2012, 2:22 am
---------------------------------------------------------
im trying to do this but it isnt working..
using his code:
and yes i followed all the directions.
--- Code ---
<script type="text/javascript"
src="
HTML http://smcodes.smfforfree3.com/jquery.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("Owner",
"
HTML http://i766.photobucket.com/albums/xx305/Lion2126/OWNER1.gif");
</script>
--- End Code ---
can someone make a code for just single users and not groups?
thanks
#Post#: 3777--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: March 4, 2012, 11:17 am
---------------------------------------------------------
It does work, you just gotta read the note:
--- Quote ---
>
> NOTE:
> The only way this code will work is if you remove "Post Group"
title for Admins/Mods:
> Admin-> Layout Settings-> Theme Settings-> Turn "Hide post
group titles for grouped members" to on. (section two-subsection
four-option six)
>
--- End Quote ---
As for editing the code, I do not have permission to do that.
#Post#: 3849--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: jie9
Date: March 13, 2012, 6:50 am
---------------------------------------------------------
it's really hard to put codes if you are not that knowledgeable
in formating codes but this codes are just to easy to put just
to copy and paste will do.
#Post#: 4198--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 19, 2012, 7:21 pm
---------------------------------------------------------
I need A code but I cant get can someone make it for me,
GROUP"Administrator" IMAGE"
HTML http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png"
HTML http://ascendancyx.createaforum.com/index.php-FORUMS
#Post#: 4201--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 19, 2012, 10:21 pm
---------------------------------------------------------
The code is already in the first post with clear instructions.
#Post#: 4206--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 20, 2012, 6:53 am
---------------------------------------------------------
Everytime I try it's doesn't ork, please bro.
#Post#: 4209--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: xboi209
Date: April 20, 2012, 8:24 pm
---------------------------------------------------------
1) Post the code that you tried to use.
2) Did you read the note in the first post?
3) What web browser and its version are you using?
#Post#: 4212--------------------------------------------------
Re: [Code] Membergroup Image
DIR By: Matt
Date: April 20, 2012, 9:17 pm
---------------------------------------------------------
<script type="text/javascript"
src="
HTML https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
HTML https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><br
/><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.className ===
"membergroup" && PostGroup.innerHTML.toLowerCase() ===
Group.toLowerCase()){
$(PostGroup).parent().prev().find("a:last").prepend("<img src='"
+ Image + "' />"); }; if(PostGroup.className !== "membergroup"
&& PostGroup.className === "postgroup" &&
PostGroup.innerHTML.toLowerCase() === Group.toLowerCase()){
$(PostGroup).parent().prev().find("a:last").prepend("<img src='"
+ Image + "' />"); }; }; }; GroupImage("Administrator", "
HTML http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png
HTML http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png
");
</script>
Yes, I did.
And the one before 2.0, ivthink idk.
*****************************************************
Page 3 of 7
DIR Previous Page
DIR Next Page