Author |
Message |
999
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA
|
Posted:
Thu Nov 12, 2009 10:52 am |
|
I didn't notice this 'till now but since the 2.4 update, anytime someone tries to edit their forum profile it doesn't work correctly. When you go to the page, there's a fullscreen dark boxover that you have to click on to make it go away. After that, anything you edit within the profile doesn't save.
Just wondering if anyone else is having this issue or if it's just me? I commented out the jquery code in profile.php which got rid of the boxover, but any changes in the profile still aren't saved. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
eldorado
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/52f4453749f5c4a233463.gif)
Joined: Sep 10, 2008
Posts: 424
Location: France,Translator
|
Posted:
Thu Nov 12, 2009 3:12 pm |
|
Yep , and it's normal. You shouldn't use the forum profile but the Your_Account one
the boxover explains it I think ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
_________________ Only registered users can see links on this board! Get registered or login! (My RN site)- Only registered users can see links on this board! Get registered or login!(cod4 clan) - Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/181553f049aa2a5924cda.jpg)
Joined: Jun 06, 2005
Posts: 732
|
Posted:
Thu Nov 12, 2009 8:32 pm |
|
Ya, but on my upgrade, I need to scroll way down to be able to see what the boxover displays. On a fresh install this is not the case - boxover text is visible without scrolling. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Nov 13, 2009 6:53 am |
|
Doulos, If it works on a fresh install and not on your upgrade, one of two things come to mind:
1. You have not uploaded all the new and modified 2.40.00 scripts, or
2. You have a JavaScript conflict somewhere. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Fri Nov 13, 2009 7:11 am |
|
I agree with Montego. My upgrade works just like fresh install. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hamrdeye
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 20, 2008
Posts: 28
|
Posted:
Mon Apr 05, 2010 2:42 pm |
|
I am having the same problem. I see the box with the spinning loading logo, and the x to close it at the bottom and nothing ever happens. If I close the box, it continues to my forum profile and I do believe it allows changes. I dont know what files I need to re upload to fix it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Mon Apr 05, 2010 5:59 pm |
|
I can confirm what Montego and Nuken have said. Testing, if you click continue on the "thing" that says unless you are uploading an avatar you should use Your Account, you will get the Forum Profile but all input except the avatar is disabled. The screen is there but you can't make any changes in it.
In terms of what files to reupload, use something like Beyond Compare if you can't get the job done with a normal FTP client. All your files need to be in synch with 2.40.01 and all the old gunk needs to be cleaned out.
It may look like Forum profile allows changes, but try it and see. I don't think so. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/44fbb573445a9d36e3110.jpg)
Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana
|
Posted:
Wed Feb 23, 2011 4:41 pm |
|
So what you all are saying is the only options that can be changed when editing your profile through the Forums is Avatar settings?
If that is the case then why can you make changes to your Profile through the Forum here at Ravenphpscipts?
I found the change in the changelog:
0001562: [Module - Forums] Make fields in forum profile readonly/disabled and add message about using YA (Palbin) - resolved.
This happened in version 2.40.00 RC1
Can I ask why it was disabled?
Because now I have a Forum Profile with all these fields and changes can't be edited. I have confused members.
I'm not sure about any black box. I've uploaded all upgraded files and I don't get any message telling me or my members to NOT use the Forum Profile to edit their information. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 23, 2011 7:53 pm |
|
For everyone's info: I just did a fresh install of 2.40.1 on a test site. I get nothing telling me to not use the Forum Profile for editing my info.
Any ideas? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Wed Feb 23, 2011 9:29 pm |
|
Just to trouble shoot have you tried with a default theme? |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 23, 2011 9:58 pm |
|
Palbin wrote: | Just to trouble shoot have you tried with a default theme? |
Per my post above. Yes.
Fresh install, default themes. Tried RavenIce and FiSubice.
I noticed on ravenphpscripts.COM it works. It looks like it uses colorbox. I am using colorbox in other areas of my "working" website and it works there. I have not tried to use colorbox on the Fresh install website. I just want to see if this so-called forum edit profile pop-up works and it does not appear to on a fresh install for me.
Again, bear in mind. I have done a fresh default install of Raven 2.4.01 and I get no pop up warning when modifying profile through forum. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu Feb 24, 2011 4:12 am |
|
myrtletrees wrote: | So what you all are saying is the only options that can be changed when editing your profile through the Forums is Avatar settings?
If that is the case then why can you make changes to your Profile through the Forum here at Ravenphpscipts?
|
Because as has been stated many times, this site does not use RavenNuke (tm) at the moment. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 6:29 am |
|
myrtletrees wrote: | Palbin wrote: | Just to trouble shoot have you tried with a default theme? |
Per my post above. Yes.
Fresh install, default themes. Tried RavenIce and FiSubice.
I noticed on ravenphpscripts.COM it works. It looks like it uses colorbox. I am using colorbox in other areas of my "working" website and it works there. I have not tried to use colorbox on the Fresh install website. I just want to see if this so-called forum edit profile pop-up works and it does not appear to on a fresh install for me.
Again, bear in mind. I have done a fresh default install of Raven 2.4.01 and I get no pop up warning when modifying profile through forum. |
I will do a fresh install and check tonight. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 10:01 am |
|
I have just installed 2.4.01 on a live domain and on my localbox, both show the modal box when accessing the Profile link within the forums. Tested with FF and Opera (I don't have IE installed). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 11:49 am |
|
Guardian2003 wrote: | I have just installed 2.4.01 on a live domain and on my localbox, both show the modal box when accessing the Profile link within the forums. Tested with FF and Opera (I don't have IE installed). |
I'll d/l the package again and try another fresh install. If I cant get it to work, I'll just put a line of text at the top of the Forum profile page that says:
USE THIS SCREEN ONLY FOR CHANGING AVATAR - ALL OTHER CHANGES TO SETTINGS WILL NOT BE SAVED
I'd rather have the ability for my users to modify their account settings in both places. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 12:17 pm |
|
I'll tell you how to change it back if you want and if I have time tonight. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 2:19 pm |
|
Palbin wrote: | I'll tell you how to change it back if you want and if I have time tonight. |
Change what back? ![Confused](modules/Forums/images/smiles/icon_confused.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 2:21 pm |
|
So you can edit your profile in the forums. It shouldn't be to hard to change back. I just need to refresh my self on what exactly we did. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 7:51 pm |
|
Guardian2003 wrote: | myrtletrees wrote: |
If that is the case then why can you make changes to your Profile through the Forum here at Ravenphpscipts?
|
Because as has been stated many times, this site does not use RavenNuke (tm) at the moment. |
No offense but wouldn't that be the same as the owner of Ford Motor Company driving a Mazda?
This is the craziest thing. I just downloaded a fresh 2.40.1 package from here. I just got done uploading and installing everything I still don't get the pop up message when editing the Forum Profile.
Tried FF, and IE and IE tab in FF.
Something is sure fishy. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Thu Feb 24, 2011 9:32 pm |
|
Do you see code for the #ya_warning in modules/Forums/profile.php ??
Do you see it added to the HTML source when you view the page?
Looks like the profile fields are set to read-only via jQuery, so if the modal warning isn't working in this situation, the "read-only" probably isn't either. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 24, 2011 10:44 pm |
|
spasticdonkey wrote: | Do you see code for the #ya_warning in modules/Forums/profile.php ??
Do you see it added to the HTML source when you view the page?
Looks like the profile fields are set to read-only via jQuery, so if the modal warning isn't working in this situation, the "read-only" probably isn't either. |
Yes I do see the code for #ya_warning in profile.php and I also see it when viewing the source of that webpage.
The read-only appears to be working as I cannot edit any info via the Forum Profile.
EDIT: I think we might be onto something.
The java script in profile.php is stripped when viewing the page.
When I view source at ravennuke.com I see the java in the header. When I view it at my site, java is gone.
This is just plain crazy!~
I think I would rather have my users be able to edit their profile through the Forums than try to figure this out. It's obvious this won't work for me on my server since I just proved that fact by installing a fresh install 2 times now with the same results both times.
FYI My server runs Linux CentOS 5.2, PHP Version 5.2.10, Apache 2, MySQL 5.0.77 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 25, 2011 10:03 am |
|
FYI: Here's the information from the Source when editing Profile in Forums at ravennuke.com:
Code:<link rel="StyleSheet" href="./themes/ravennuke.css" type="text/css" />
<link rel="StyleSheet" href="./themes/fisubice/style/style.css" type="text/css" />
<link rel="StyleSheet" href="themes/fisubice/style/Forums.css" type="text/css" />
<link rel="StyleSheet" href="includes/nukeSEO/nukePIE.css" type="text/css" />
<link rel="StyleSheet" href="includes/jquery/css/nukeNAV.css" type="text/css" />
<link rel="StyleSheet" href="themes/fisubice/style/nukeNAV.css" type="text/css" />
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.colorbox-min.js"></script>
<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);
}
});
});
</script><script type="text/javascript" language="JavaScript" src="includes/rn.js"></script>
<script type="text/javascript">
<!--
function openwindow(){
window.open ('modules/Forums/copyright.php','Copyright','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=400,height=200');
}
//-->
</script>
<script type="text/javascript">
$(document).ready(function(){
$(".colorbox").colorbox({opacity:0.65, current:"{current} of {total}"});
$(".colorboxSEO").colorbox({opacity:0.50, width:"750", height:"300", iframe:true});
});
</script>
|
Here's mine on a BRAND new fresh install of RN 2.40.1:
Code:<link rel="StyleSheet" href="./themes/fisubice/style/style.css" type="text/css" />
<link rel="StyleSheet" href="themes/fisubice/style/Forums.css" type="text/css" />
<link rel="StyleSheet" href="includes/jquery/css/colorbox.css" type="text/css" />
<link rel="StyleSheet" href="includes/nukeSEO/nukePIE.css" type="text/css" />
<link rel="StyleSheet" href="includes/jquery/css/nukeNAV.css" type="text/css" />
<link rel="StyleSheet" href="themes/fisubice/style/nukeNAV.css" type="text/css" />
<script type="text/javascript" language="JavaScript" src="includes/rn.js"></script>
<script type="text/javascript">
<!--
function openwindow(){
window.open ('modules/Forums/copyright.php','Copyright','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=400,height=200');
}
//-->
</script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.js"></script>
<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.colorbox-min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".colorbox").colorbox({opacity:0.65, current:"{current} of {total}"});
$(".colorboxSEO").colorbox({opacity:0.50, width:"750", height:"300", iframe:true});
});
</script>
|
If you do a side by side comparison, you will see what is missing from head tags. The keys to this problem, that's what is missing. Why? Is it my webserver? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 25, 2011 4:12 pm |
|
I have reproduced this, and am currently looking into it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 25, 2011 4:45 pm |
|
Palbin wrote: | I have reproduced this, and am currently looking into it. |
OMG, thank goodness, I'm NOT crazy! Well, then again..crazy like a fox... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 25, 2011 4:50 pm |
|
OK, first to fix the problem of not getting the pop-up.
Open modules/Forums/profile.php and find line 27
Code:
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) {
|
Replace it with the following:
Code:
if ( isset($_GET['mode']) || isset($_POST['mode']) ) {
|
Second if you want to allow users to edit their profiles in the forums you need to do the following two edits.
Open modules/Forums/profile.php and find line 51
Code:
addJSToHead($inlineJS, 'inline');
|
Replace it with the following:
Code:
//addJSToHead($inlineJS, 'inline');
|
Open modules/Forums/includes/usercp_register.php and find lines 523-542
Code:
if ($avatar_sql != '') {
$avatar_sql = substr($avatar_sql, 2);
$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $avatar_sql . '
WHERE user_id = ' . $user_id;
//$sql = "UPDATE " . USERS_TABLE . "
// SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
// WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) ) {
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
}
// We remove all stored login keys since the password has been updated
// and change the current one (if applicable)
if ( !empty($passwd_sql) ) {
session_reset_keys($user_id, $user_ip);
}
}
|
Replace it with the following:
Code:
//if ($avatar_sql != '') {
$avatar_sql = substr($avatar_sql, 2);
//$sql = 'UPDATE ' . USERS_TABLE . '
// SET ' . $avatar_sql . '
// WHERE user_id = ' . $user_id;
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) ) {
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
}
// We remove all stored login keys since the password has been updated
// and change the current one (if applicable)
if ( !empty($passwd_sql) ) {
session_reset_keys($user_id, $user_ip);
}
//}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|