Create A Forum - Support Forums

Support => Create a Forum Codes and Support => Topic started by: Thornton136 on August 01, 2011, 03:14:36 pm

Title: [REQ]colour membergroup posts
Post by: Thornton136 on August 01, 2011, 03:14:36 pm
hey guys ive been needing this code for almost a year now and there is still no help, not even a reply saying you cant do it
 
i really need this code so if you can do it atleast tell me how to convert the orgiinal code from smf forums to work on these forums
 
 
thanks
Title: Re: [REQ]colour membergroup posts
Post by: aIURbliS on August 01, 2011, 10:16:23 pm
Well CreateAForum support community isn't really big so you can't expect a response for every topic. Also, there's a much smaller community of coders for CreateaForum as well. I'm not exactly sure if you can or can't do it. Converting mods to work on these forums are very hard or impossible to do
Title: Re: [REQ]colour membergroup posts
Post by: Thornton136 on August 03, 2011, 07:11:32 pm
tbh i dont care if it slows it down, tbh smfforfree was alot better but i used this cause it looked better

i guess ill just wait for a reply

Title: Re: [REQ]colour membergroup posts
Post by: Thornton136 on July 07, 2012, 11:16:33 pm
Bump.. Really need this code
Title: Re: [REQ]colour membergroup posts
Post by: aIURbliS on July 08, 2012, 04:12:39 am
Do you want the posts to be colored or the membergroup name to be colored like this one: http://www.smfsupport.com/support/smf-for-free-codes-and-support/(code)-membergroup-color/
Title: Re: [REQ]colour membergroup posts
Post by: Thornton136 on July 08, 2012, 01:50:37 pm
The posts.
Like this:  http://www.smfsupport.com/support/smf-for-free-codes-and-support/(code)-group-post-background-color/
Title: Re: [REQ]colour membergroup posts
Post by: aIURbliS on July 08, 2012, 04:54:56 pm
Was just a few tweaks >.>
Headers:
Code: [Select]
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
Footers:
Code: [Select]
<script>var postColor = new Array()
postColor[postColor.length] = ["Administrator","blue"]

for(f=0;f<postColor.length;f++){$("li.membergroup:contains(" + postColor[f][0] + ")").each(function(){$(".post").addClass(postColor[f][0]+"Class");});document.write("<st"+"yle>." + postColor[f][0] + "Class{background-color: " + postColor[f][1] +";}</st"+"yle>")};</script>
Title: Re: [REQ]colour membergroup posts
Post by: Thornton136 on July 08, 2012, 04:55:46 pm
When I insert this code, it changes the backround colour for all membergroups.
is there a way to get it like this?? cause the code only gets it to highlight the text in the colour so far
 (https://support.createaforum.com/proxy.php?request=http%3A%2F%2Fi263.photobucket.com%2Falbums%2Fii146%2FBakacool%2Fhi-1.jpg&hash=485877502e9761b03c11908ebf5d2a6b55d2a0e7)

Title: Re: [REQ]colour membergroup posts
Post by: aIURbliS on July 08, 2012, 05:57:53 pm
Well, looks like the code is failing on me ._.
Title: Re: [REQ]colour membergroup posts
Post by: Thornton136 on July 08, 2012, 10:09:37 pm
Unfortunatly i don't know how to code this haha