inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Sept 30, 2009 14:16:08 GMT -8
I've had the same problem with this code before (you may remember my previous thread here), about a month or so ago.... so I wasn't counting on it to work when I first put it on my test site, but surprisingly, it did work. However, when I transferred it to the regular site, it stopped working. This is the test site, and this is the site it's not working on. I can see the code in the admin panel, and I can also create and edit options. However, when I go to modify my profile....nothing shows up. I know that the code fills in the 'website url' space in which to store the information....that is missing as well, and it's probably the reason I can't see the information I input into field I created with the crossfury code. ( Here you can see that there is no 'test' field in the miniprofile......while here you can see the 'test' field and the 'blah. test') I normally wouldn't be asking about this, as this code failed to work on my other site, but this code works on the test site.... not the site I want it to work on. As far as I can see, both sites have the exact same codes. The only differences I can see are minor ones, such as the amount of members and the boards, which probably don't affect the code. Can anyone tell me why this code is not working, or what coding difference there might be between the two sites?
|
|
inherit
58740
0
Jan 5, 2024 18:58:20 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 30, 2009 14:22:23 GMT -8
Hi,
[cross_fury]
& try moving the footer part under the "PBv4 Mini-Profile Tables by california" code.
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Sept 30, 2009 14:29:36 GMT -8
Wow, quick response, I appreciate that. (:
I've already read that thread... I'm not having any of the problems listed there. Anyway, I just did what you said, and nothing has seemed to change, unfortunately.
|
|
inherit
58740
0
Jan 5, 2024 18:58:20 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 30, 2009 14:39:48 GMT -8
if you remove the "PBv4 Mini-Profile Tables" code, does it work?
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Sept 30, 2009 14:50:32 GMT -8
No, it does not, so I'm going to add that back in? On my test site, it works with the miniprofile tables and all the other codes I have on the site that it's not working on.
EDIT: Now I can't even 'create a new profile option'....
|
|
inherit
58740
0
Jan 5, 2024 18:58:20 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 30, 2009 15:00:59 GMT -8
No, it does not, so I'm going to add that back in? On my test site, it works with the miniprofile tables and all the other codes I have on the site that it's not working on. EDIT: Now I can't even 'create a new profile option'.... what if the GH part is at the very bottom & the GF part is at very top?
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Sept 30, 2009 15:13:01 GMT -8
Well, now I can create options. However, I have the same problem stated in the first post; what I input into the field isn't showing up.
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,879
December 2005
horace
|
Post by Chris on Oct 1, 2009 9:51:18 GMT -8
Could you clarify, you're saying when you go to modify profile page the website url field is missing or just missing on the view profile page (homepage icon) because that could make a big difference as to tracking down the problem.
If it's just the missing homepage icon on the view profile page then go to your modify profile page and when it finishes loading put this in the browser's address bar
javascript:alert(String(document.modifyForm.onsubmit)); compare the results by doing the same on the site that does work. If different then that would be a starting point to figuring out what is going wrong.
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Oct 1, 2009 11:04:53 GMT -8
It's missing on both pages, the modify profile and the view profile. Should I still put that in the browser's (The one which I am using happens to be Firefox) address bar, or not?
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,879
December 2005
horace
|
Post by Chris on Oct 1, 2009 14:07:21 GMT -8
No code immediately jump out that would be doing this and it's made more complicated since guests can't view that page so yes do it anyway but in addition put the following in address bar on modify profile page javascript:alert(document.modifyForm.websiteurl?(document.modifyForm.websiteurl.offsetParent?'visible':'hidden'): 'deleted'); and if possible provide a screen shot of the modify profile page that has the website url field missing.
Note that new address bar script leverages a behavior in firefox that is not present in Internet Explorer so use firefox when doing it.
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Oct 1, 2009 15:46:33 GMT -8
You are more than welcome to join either of the sites temporarily, if that would help. ^^ We haven't opened our site to the public, so it wouldn't be a big deal (to me, at least, I'm still awaiting a response from my co-admin). (:
The modify profile looks exactly the same as if you had just joined a new site, without the crossfury code in it (no website url and name filled in). When I put the code in on the site I want the code to work on, this is what comes up:
"function SaveAllAddOns() { for (d = 0; d < AddOns.length; d++) { if (AddOns[d] != null && AddOns[d].enabled == "true") { AddOns[d].saveValue(); } } }"
.....and after I press okay, it says:
"visible"
After I press okay on that popup window, nothing has seemed to change. The same thing shows up on the popups on the test site, but there is no difference on the test site either. It seems as if it hasn't made a different on either site.
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,879
December 2005
horace
|
Post by Chris on Oct 1, 2009 17:36:28 GMT -8
The modify profile looks exactly the same as if you had just joined a new site, without the crossfury code in it (no website url and name filled in). OK, the reason I asked for clarification and then have you go through all that was because my understanding of what you previously said was that the website field was not visible anywhere on the page (i.e you couldn't see it period). The quote above clears that up since it says you can see it but it is empty. With that puzzling mystery out of the way and since we already know that some other code is not overwriting the crossfury onsubmit handler then the problem is most likely with an error occurring in the handler itself so use this in the address bar on the modify profile page javascript:document.modifyForm.onsubmit=function(){try{SaveAllAddOns();}catch(e){alert(e.message);}};void(0); then go ahead and add an answer to one of the crossfury options and save profile. If an error pops up make a note of it and post here. You could probably see this in Firefox error console as well but I've found that the error console sometimes fails to record errors that occur just before the page reloads.
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Oct 1, 2009 18:18:39 GMT -8
Oh, I'm sorry about not being clear enough with what I originally said. I'll try to be more specific and careful with the way I word things in the future. No error pops up when I do that, but when I check the Firefox error console, 'Error: Permission denied to call method Location.toString' is what comes up. And below it, an 'Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: chrome://global/content/bindings/autocomplete.xml :: onxblpopuphiding :: line 834" data: no]' came up once as well... but only once, the only errors that come up when I do it again are the normal cbox ones and the Location.toString one mentioned above.
|
|
inherit
Official Code Helper
65613
0
1
May 11, 2024 14:19:23 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,879
December 2005
horace
|
Post by Chris on Oct 1, 2009 22:24:22 GMT -8
OK this one took me a while to pinpoint but that could be due to it's sheer simplicity. The problem lies in the Title of your forum "- - - DON'T TRUST ME", in particular the fact that it contains dashes. If you were to put javascript:document.title="DON'T TRUST ME";void(0); to remove the dashes and then fill in an answer for the test option it should then save. You could also manually set a website name and url first so Crossfury doesn't have to generate one.
The reason this matters is because the Crossfury code splits the title by "-" in order to get a name to put in the website name field. If the title starts with a dash then the first element of the split will be blank and therefore the value in website name will be blank so proboards will ignore the url in website url if website name has nothing in it.
|
|
inherit
127441
0
Sept 24, 2011 12:31:56 GMT -8
jack the monkey pirate !
41
July 2008
loverly
|
Post by jack the monkey pirate ! on Oct 2, 2009 10:59:13 GMT -8
I'm just changing the name of the site, and it works now. ^^ Thank you so much for helping, I really appreciate it <3
|
|