Posts background color with gradient image for admin & users
3 posters
Page 1 of 1
Posts background color with gradient image for admin & users
Hi,
I am samy,
I have forum with Forumotion.
Admin posts background color with green/white gradient.
Users posts background color with blue/white gradient.
Kindly give that javascript/CSs codes.
Thanks in Advance
cheers
samy
I am samy,
I have forum with Forumotion.
Admin posts background color with green/white gradient.
Users posts background color with blue/white gradient.
Kindly give that javascript/CSs codes.
Thanks in Advance
cheers
samy
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
Re: Posts background color with gradient image for admin & users
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Posts background color with gradient image for admin & users
Thanks for reply Mr. slg. But not working
I given below that Javascript & CSS
ACP >> Modules >> JavaScript Code Mgmt. | in the topic
var escapeRegExp;(function(){var a=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");escapeRegExp=function(b){return b.replace(a,"\\$&")}})();var postbg={add:function(a,c){a=escapeRegExp(a);a=a.replace(/\s?,\s?/g,"|");$(function(){var b=$(".postprofile").get();for(i=0;i<b.length;i++)RegExp("^"+a+"$","g").test($(b[i].getElementsByTagName("a")[1]).text())&&$(b[i]).closest(".post").addClass(c)})}};
postbg.add('admin', 'adminpost');
CSS:
.adminpost
{
background:url(https://i.servimg.com/u/f48/17/48/49/15/photo10.png) repeat-y scroll left top #e5f1f9;
}
i am referred http://www.malware-site.www/t17-how-to-modify-the-post-background-of-a-specific-user?highlight=post+background also.
i am a beginner for Forumotion so that please give me full script here
Kindly help me.
Cheers
gp.samy
I given below that Javascript & CSS
ACP >> Modules >> JavaScript Code Mgmt. | in the topic
var escapeRegExp;(function(){var a=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");escapeRegExp=function(b){return b.replace(a,"\\$&")}})();var postbg={add:function(a,c){a=escapeRegExp(a);a=a.replace(/\s?,\s?/g,"|");$(function(){var b=$(".postprofile").get();for(i=0;i<b.length;i++)RegExp("^"+a+"$","g").test($(b[i].getElementsByTagName("a")[1]).text())&&$(b[i]).closest(".post").addClass(c)})}};
postbg.add('admin', 'adminpost');
CSS:
.adminpost
{
background:url(https://i.servimg.com/u/f48/17/48/49/15/photo10.png) repeat-y scroll left top #e5f1f9;
}
i am referred http://www.malware-site.www/t17-how-to-modify-the-post-background-of-a-specific-user?highlight=post+background also.
i am a beginner for Forumotion so that please give me full script here
Kindly help me.
Cheers
gp.samy
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
Re: Posts background color with gradient image for admin & users
Kindly help me above issue... bump
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
Re: Posts background color with gradient image for admin & users
Kindly hep me Forumotion.com team.
I waiting last 3 days
I waiting last 3 days
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
Re: Posts background color with gradient image for admin & users
Hi,
Try this tutorial:
http://www.malware-site.www/t17-how-to-modify-the-post-background-of-a-specific-user
Make sure you follow the tutorial according to your forum version. Here is a previous problem about it:
https://help.forumotion.com/t112262-gradient-help?highlight=gradient
Try this tutorial:
http://www.malware-site.www/t17-how-to-modify-the-post-background-of-a-specific-user
Make sure you follow the tutorial according to your forum version. Here is a previous problem about it:
https://help.forumotion.com/t112262-gradient-help?highlight=gradient
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Re: Posts background color with gradient image for admin & users
I already referred that forum links.
Not working.
Kindly help me sir
I am a beginner to forum/Forumotion.
Not working.
Kindly help me sir
I am a beginner to forum/Forumotion.
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
rgpsamy- New Member
- Posts : 8
Reputation : 2
Language : Tamil, English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum