Author Topic: [REQ]colour membergroup posts  (Read 2341 times)

0 Members and 0 Guests are viewing this topic.

Offline Thornton136

  • Newbie
  • *
  • Posts: 32
  • Karma: -2
    • View Profile
[REQ]colour membergroup posts
« 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

Share on Facebook Share on Twitter


Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #1 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
« Last Edit: February 14, 2012, 12:35:05 am by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Thornton136

  • Newbie
  • *
  • Posts: 32
  • Karma: -2
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #2 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


Offline Thornton136

  • Newbie
  • *
  • Posts: 32
  • Karma: -2
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #3 on: July 07, 2012, 11:16:33 pm »
Bump.. Really need this code

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #4 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/
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.


Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #6 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>
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Thornton136

  • Newbie
  • *
  • Posts: 32
  • Karma: -2
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #7 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
 

« Last Edit: July 08, 2012, 05:12:43 pm by Thornton136 »

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #8 on: July 08, 2012, 05:57:53 pm »
Well, looks like the code is failing on me ._.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Thornton136

  • Newbie
  • *
  • Posts: 32
  • Karma: -2
    • View Profile
Re: [REQ]colour membergroup posts
« Reply #9 on: July 08, 2012, 10:09:37 pm »
Unfortunatly i don't know how to code this haha

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
157 Views
Last post September 25, 2012, 06:32:11 pm
by Andrew
9 Replies
2076 Views
Last post March 13, 2013, 10:51:19 pm
by aIURbliS
2 Replies
875 Views
Last post November 26, 2012, 04:48:38 am
by aIURbliS
3 Replies
528 Views
Last post December 09, 2017, 02:10:24 am
by Shin-Jones
1 Replies
301 Views
Last post November 15, 2018, 10:16:20 pm
by CreateAForum