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#: 6940--------------------------------------------------
[Code] Color Membergroup Posts
DIR By: xboi209
Date: October 28, 2012, 4:28 pm
---------------------------------------------------------
Description: Colors the membergroups' posts of your choice.
This code utilizes jQuery, please use the latest version found
in this thread:
HTML http://support.createaforum.com/5/jquery-v1-8-update/
HTML http://support.createaforum.com/5/jquery-v1-8-update/
Footers:
--- Code ---
<script>function
xboi209_colormembergroupposts(membergroup,color){$("li.membergroup:contains('"+membergroup+"')").closest("div.post_wrapper").css("background-color",color)}xboi209_colormembergroupposts("MEMBERGROUP","COLOR");</script>
--- End Code ---
Editing instructions: Look towards end of the code for
MEMBERGROUP and COLOR and replace that with the title of the
membergroup and the color that you want for its posts. To do
this for more membergroups, add
xboi209_colormembergroupposts("MEMBERGROUP","COLOR"); before
</script>.
#Post#: 8236--------------------------------------------------
Re: [Code] Color Membergroup Posts
DIR By: terrel8125
Date: January 29, 2013, 11:00 pm
---------------------------------------------------------
would the color be in color code or just red or wht?
#Post#: 8247--------------------------------------------------
Re: [Code] Color Membergroup Posts
DIR By: xboi209
Date: January 30, 2013, 2:26 pm
---------------------------------------------------------
You can type in stuff like red or you can use hex codes.
#Post#: 8249--------------------------------------------------
Re: [Code] Color Membergroup Posts
DIR By: Thornton136
Date: January 30, 2013, 3:50 pm
---------------------------------------------------------
Doesn't work
the code I inserted
--- Code ---
<script>function
xboi209_colormembergroupposts(membergroup,color){$("li.membergroup:contains('"+membergroup+"')").closest("div.post_wrapper").css("background-color",color)}xboi209_colormembergroupposts("The
Staff","Green");</script>
--- End Code ---
#Post#: 8250--------------------------------------------------
Re: [Code] Color Membergroup Posts
DIR By: xboi209
Date: January 30, 2013, 5:25 pm
---------------------------------------------------------
Can you show me a webpage where it isn't working?
#Post#: 8264--------------------------------------------------
Re: [Code] Color Membergroup Posts
DIR By: Thornton136
Date: February 1, 2013, 9:12 am
---------------------------------------------------------
you can delete this post after, but here is my entire footers..
the headers has the uptodate jquery in it too.
--- Code ---
<script>function
xboi209_colormembergroupposts(membergroup,color){$("li.membergroup:contains('"+membergroup+"')").closest("div.post_wrapper").css("background-color",color)}xboi209_colormembergroupposts("The
Staff","Green");</script>
<form action="
HTML https://www.paypal.com/cgi-bin/webscr"<br
/>method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN
gopher.createaforum.com:70 /forums/support/p/1909:79: line too long