HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[SOLVED] Some Catalogue fields not working; javascript error (5 RC1)

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#61530 (In Topic #13409)
Avatar

Community saint

Gray box takes lordship and threatens admin with javascript!

Greetings,

I was recently told by one of my members that they couldn't create a character profile. You see, I run a forum based post to play RP site, and I use the wonderful catalog system to create and maintain character profiles. I set up the catalog in ocPortal 4.3, and members have used it to create their characters and have them stored there and such.

As to be expected with character profiles, there are some large fields for descriptions, personalities, and such. These large fields I used the text area that has comcode support. This way they could attach a character portrait and use bolding and such. It has worked well, that is, until the evil lord Gray Box rode in with the update to ocPortal 5 RC1, and took over the Descriptions field.

Whenever I go into to add a character profile, because I am an admin, I get the following error.

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the website software, please contact ocProducts with full details. More details are available in your browser's error console. The error was:

469: element is null
http://norova.net/themes/default/templates_cached/EN/javascript.js

 Now what happens that everyone else see's including me is that the field (which is a text area allowing comcode) for Description is dark gray and does not allow anything to be typed into it. The following fields for Personality and Brief History do not seem to suffer that fate, despite being the same kind of field. The big problem is that Description is a required field, therefore no one can complete their character profile without putting something here.

Here is a pic of what I mean…


I have tried to go in and edit the field type in the admin zone, but have found that I cannot.

Any suggestions?


Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#61578
Avatar

Hi,

This is fixed in 5-final I believe. I think the JS error is happening then stopping the WYSIWYG loading, which leaves the WYSIWYG field locked off.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61622
Avatar

Community saint

Greetings,

I just upgraded to 5.0 final, cleared caches, and the like, and still no dice. Error presists and field is still unusable.

Another note, the following fields below the Description field has the "Enable WYSIWYG editor" link but the link doesn't work, nor can I disable the editor for the Description field.


Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#61644
Avatar

I was able to reproduce and fix it. Lots of files had to change, attached:

Attachment


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61678
Avatar

Community saint

Yes that works! Thank you so much for your hard work and dedication and helping me with this issue!

As I posted on my site regarding the fixed error.

Greetings,

In case you were not aware (some of you were), there was an issue with the catalogs where the fields with comcode support were grayed out and unusable, preventing anyone from using those catalogs. As of right now, Character Profiles, Magic Spells, and Glossary use the catalog system. These fields were, for example, the Description field in Character Profiles.

What happened was this. The upgrade of software brought in an improvement that allowed all large text areas that allow comcode (advanced BBCode for bold and such) to now use the WYSIWYG office-like editor that you know of in the forums. Well there was some odd issue that preventing the editor from working as it should in browsers that allow for the spiffy editor (Firefox, IE) so it grayed it out. This was problematic as most of the time these were marked as required fields.

Anyways, I sought help to fix the issue over at ocPortal.com, something I tend to do when faced with an issue that is software related, or trying to figure out something that is beyond me. As always, the chief programmer of the software worked on fixing this problem for me (and even joined this site, no less to check the problem for himself - I wonder if this site is the only site to make such an extensive use of the catalog?), and came up with discovering and fixing the problem. Afterwards, he gave me a zip file of all the changed/fixed files for me to upload.

I am happy to announce that the problem is now solved and that the catalogs work perfectly now! The use of the office-like editor will no doubt make it even easier for everyone to make full use of those fields, with adding pictures to their profiles and such.

But this also brings home a good point and reason of why I have stayed with using ocPortal for so long, besides it's clearly advanced feature set. That is, what other software will you find the developer actually interested in helping it's users, to the point that they would invest so much of their own  personal time to come to the site and address the problem head on? It is support like that which endears me to ocPortal, and continues to be the definitive reason why I support the software as I do.

Chris, it is people like you that makes this software gold.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#61688
Avatar

Thanks :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: