Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
nextgen
Newbie
Newbie



Joined: Jan 09, 2007
Posts: 16

PostPosted: Thu Aug 23, 2012 6:21 pm Reply with quote

Friends is there a simple way to allow my users to use the bbtonuke profile section ? Any help would be great.
 
View user's profile Send private message Send e-mail
Palbin
Newbie
Newbie



Joined: Nov 26, 2007
Posts: 25

PostPosted: Thu Aug 23, 2012 9:43 pm Reply with quote

Are you are talking about RavenNuke, and the colorbox window that pops-up in the form profile?

If so you need to search for the following javascript and disable it. I can not remember what file it is in.

Code:

<script type="text/javascript">
   $(document).ready(function(){
      if ($("input[name=\"submit\"]").length != 0 && $("input[name=\"reset\"]").length != 0) {
         $.fn.colorbox({ open:true, inline:true, href:"#ya_warning", width:"600px", height:"300px" });
      }
      $("a.close").click(function() {
         $.fn.colorbox.close()
      });
      $("input[name=\"username\"],input[name=\"email\"],input[name=\"cur_password\"],input[name=\"new_password\"],input[name=\"password_confirm\"],input[name=\"confirm_code\"],input[name=\"icq\"],input[name=\"aim\"],input[name=\"msn\"],input[name=\"yim\"],input[name=\"website\"],input[name=\"location\"],input[name=\"occupation\"],input[name=\"interests\"],input[name=\"dateformat\"]").attr("readonly", true);
      $("textarea[name=\"signature\"]").attr("readonly", true);
      $("select[name=\"language\"],select[name=\"style\"],select[name=\"timezone\"]").attr("disabled", true);
      $("input[name=\"viewemail\"],input[name=\"hideonline\"],input[name=\"notifyreply\"],input[name=\"notifypm\"],input[name=\"popup_pm\"],input[name=\"attachsig\"],input[name=\"allowbbcode\"],input[name=\"allowhtml\"],input[name=\"allowsmilies\"]").each(function() {
         if (!this.checked) {
            $(this).attr("disabled", true);
         }
      });
   });
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunch