Adding New Option in The Forums

voodooo

New Member
Hello,
I installed CometChat and I want to add option to disable/enable it

I added a new profile field which appear in the options page

and i edited the codes in the header and footer to be like this

PHP:
<if condition="$post['field13']== 'Enable' ">
<link type="text/css" rel="stylesheet" media="all" href="/chat/css/cometchat.css" />  
</if>

PHP:
<if condition="$post['field13']== 'Enable' ">
<script type="text/javascript" src="/chat/js/jquery.js"></script>
<script type="text/javascript" src="/chat/js/cometchat.js"></script>
</if>


but it didn't work :(
anyone know what is the problem?
 

h@ck3r

New Member
Sorry I don't know.. but I would love this.

I've had to remove it from my forums because some members don't like it, and there's no way of disabling it. :)
 

voodooo

New Member
h@ck3r said:
Sorry I don't know.. but I would love this.

I've had to remove it from my forums because some members don't like it, and there's no way of disabling it. :)


its the only way to let users to enable/disable it for the forum options , but unfortunately its not working tell now , hope some one help us

btw : some members reported that it makes the website slower especially with IE 7 ,
 

h@ck3r

New Member
voodooo said:
btw : some members reported that it makes the website slower especially with IE 7 ,

Same here, and reports that it makes the website pages 'Jumpy', but hey that's not part of this discussion.. there's a support thread for this.

Fingers crossed someone can help you finish what you have started.. I'm sure many others (Including me) will benefit from it. :)
 
Top