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.


ocPortal 8 RC3 released - Comments

Login / Search

 [ Join | More ]
 

ocPortal 8 RC3 released

Posted 02 April 2012, 7:15 PM

8 RC3 released. Read the full article for a list of changes, and upgrade information.

Read more


Avatar
Problem with WYSIWYG editor - sort of stuck in WYSIWYG mode and I can't seem to be able to shift it …

Avatar

Fletch said

Problem with WYSIWYG editor - sort of stuck in WYSIWYG mode and I can't seem to be able to shift it …




Thanks. I couldn't reproduce on Chrome or Firefox. Do you perhaps have JAVASCRIPT_EDITING.tpl overridden too?

A workaround is to turn off the "Convert XHTML to Comcode" option, which is the new default.

I did fix the scrolling issue in your theme by assigning some extra space to that dialogue, hopefully - let me know if I didn't when you upgrade to the next release.
Avatar
Do you perhaps have JAVASCRIPT_EDITING.tpl overridden too?
Yes (Sheeeeesh)! Removed. Fixed issue, except for the dialogue box. But I note that you only promise the 'extra space' in the 'next release'. Will try and remember to check, especially since I've introduced the workaround (below)!
A workaround is to turn off the "Convert XHTML to Comcode" option, which is the new default.
Unchecked it, and it's perfect for me as I rarely, if ever, use the WYSIWYG editor.

thanks



Avatar
the bottom breadcrumb whilst viewing topics is merging with the buttons, not sure what the perm fix would be but this works quite nicely:

Code

.breadcrumbs_always {
    clear: both;
}

Avatar

Had to manually change a link in /policy.htm to the new profile setup:

Privacy settings

Logged in members may choose which fields display publicly.


The link use to be directed to the personal zone. I changed it to :members:type=view#tab__edit__privacy



Last edit: by Shinuk

Avatar
Hey. At first let me say: ocPortal v8 is really great :thumbs: If I one day should have to much money again I for sure will make a further investment ;)

I checked the calendar again and could find a further bug with the calendar side block. Just add e.g. an all-day event from 01.04.2012 to 05.04.2012 and it won't appear their. It is IMPORTANT to set the start time before the current date to reproduce this.

Oh, by the way I really was happy to find the "Choose custom 'Images' fields" function in the gallery. Great job :)

And I can't use the "Make comment" function (Firefox 11):

http://vimeo.com/39729357

Sorry for the noise.

Best regards
Falko



Show 1 reply


Avatar
Came across this in this forum. When adding an attachment and hitting the "Cancel" button, the attachment is still added.

2012-04-03_2058 - BobS702's library

Bob
Avatar

BobS said

Came across this in this forum. When adding an attachment and hitting the "Cancel" button, the attachment is still added.

2012-04-03_2058 - BobS702's library

Bob


Fixed


Avatar
Was trying to find a template link by using the "Show template edit links" tool on the "edit profile" page, but after a few context deployment lines, the interface brings up the following error message:
This brought me to check if version 7.1.6 had this error and yes it has the same behavior.
However, Elsewhere the utility works fine.

Expand: error code error code

Avatar

Jean said

Was trying to find a template link by using the "Show template edit links" tool on the "edit profile" page, but after a few context deployment lines, the interface brings up the following error message:
This brought me to check if version 7.1.6 had this error and yes it has the same behavior.
However, Elsewhere the utility works fine.

Expand: error code error code




I guess there was quite a lot on the page. This tool has to turn off caching and run some more complex processing. I'll turn off the memory limit for it.


Avatar
Oke updated  one site, now I have one excisting page and this gives next error when I try to open it:

HP WARNING [2] array_key_exists() [<a href='PHP: array_key_exists - Manual'>function.array-key-exists.php</a>]: The second argument should be either an array or an object in sources/ocf_topicview.php on line 163 (version: 8-RC3, PHP version: 5.2.17, URL: /index.php?page=xxxxxxxx)
Here is the stack trace:

 File     '/xxxxx/xxxxx/domains/xxxxxx.xx/public_html/sources/failure.
php'
 Line     '683'
 Function     'get_html_trace'
 Args    

 File     '/xxxxx/xxxxxx/domains/xxxxxx.xx/public_html/sources/global2
.php'
 Line     '979'
 Function     '_fatal_exit'
 Args    
 'PHP WARNING [2] array_key_exists() [<a href=\' http://www.php.net/manual/en/function.array-key-exists.php\'>function.array-key-exists.php</a>]: The second argument should be either an array or an object in sources/ocf_topicview.php on line 163'

 File     '/xxxxx/xxxxx/domains/xxxxxx.xx/public_html/sources/failure.
php'
 Line     '217'
 Function     'fatal_exit'
 Args    
 'PHP WARNING [2] array_key_exists() [<a href=\'http://www.php.net/manual/en/function.array-key-exists.php\'>function.array-key-exists.php</a>]: The second argument should be either an array or an object in sources/ocf_topicview.php on line 163'

 File     '/xxxx/xxxxxx/domains/xxxxxxx.xx/public_html/sources/global2
.php'
 Line     '853'
 Function     '_ocportal_error_handler'
 Args    
 'warning'

 2

 'array_key_exists() [<a href=\'http://www.php.net/manual/en/function.array-key-exists.php\'>function.array-key-exists.php</a>]: The second argument should be either an array or an object'

 'sources/ocf_topicview.php'

 163

 Function     'ocportal_error_handler'
 Args     …

 File     '/xxx/xxxx/domains/xxxxx.xx/public_html/sources/ocf_topicvie
w.php'
 Line     '163'
 Function     'array_key_exists'
 Args    
 2

 NULL

 File     '/xxxx/xxxxx/domains/xxxx.xx/public_html/sources/topics.php'
 Line     '642'
 Function     'ocf_get_details_to_show_post'
 Args     …

 File     '/xxxx/xxxxxx/domains/xxxxxxx.xx/public_html/sources/topics.
php'
 Line     '409'
 Function     '_render_post_tree'
 Class     'OCP_Topic'



Last edit: by Harry-S
Avatar
Odd. I think this must be a rare condition, and I believe this will fix it:
Attachment
sources/topics.php
» Download: topics.php (31 Kb, 294 downloads so far)


Avatar
Thanks Chris. Working now.


Avatar
So far so good, a painless upgrade.

only one small thing. Facebook blocks are not working. They don't seem to be adding the page id.

I double checked all my settings and they are correct.

The main facebook friends block says a critical parameter, was missing.

The activity block shows no activity but I know it should. 21 friends have liked it over the last couple days and 11 people are talking about it.
Avatar

Brian Hay said

So far so good, a painless upgrade.

only one small thing. Facebook blocks are not working. They don't seem to be adding the page id.

I double checked all my settings and they are correct.

The main facebook friends block says a critical parameter, was missing.

The activity block shows no activity but I know it should. 21 friends have liked it over the last couple days and 11 people are talking about it.


Possibly outdated templates from the v7 FB addon are still around? Nothing has changed in RC3 regarding this addon so that seems likely.

I could confirm the FB friends block issue though. You can workaround with a param="" parameter. I have uploaded a fixed copy of the adon.


Avatar

Upgrading from v7 to v8 gave me this error from the gallery embed.

A parameter, , is referenced in the template, BLOCK_MAIN_GALLERY_EMBED, but not passed

 It's param="root" with the error. Setting to a non-existant param makes the error go away, but of course, doesn't show the gallery I want. If this is a personal issue, then I'm sorry for posting here.



Last edit: by Shinuk

Avatar
Would love to be testing RC3 but i've had nothing but issues restoring the 7.1.6 version of the database. eLief's tech support finally sorted it after several hours and things were working fine when the Cloudflare control panel became inaccessible just as I was about to report another issue. Some days, the gods simply don't smile on you.

Hoping for a better result tomorrow morning.

Bob
Avatar
Would love to be testing RC3 but i've had nothing but issues restoring the 7.1.6 version of the database…

And now Google Art has come along to compete with you, too! But you may be able to steal an idea or two … !!

 :thumbs:
Avatar
Not too concerned about Google art - they are a more expansive site while I am dealing with the life and art of a single person whose life is as interesting as his art (this will all come out as I add to the biography which is what I have been working on).

I am getting closer to a site redesign but it is still a subject for discussion. There are three of us involved: Julian's daughter who is also an artist but does not use computers at all (she has her husband pull stuff up from the site), his son, who like me, is not artistic but has a strong sense of what the site should look like borrowing from real-world constructs, and me, who knows that getting such constructs into  digital form is not always easy or even desirable. I do hold the trump vote since it's my money being spent, but I have a very high regard for these people's opinions and feelings.

After v8 settles down, I will probably be hiring the designer I used for my previous e-commerce sites as he is very easy for me to work with since I've known and worked with him for years. I'll most likely take the design to ocProducts for coding which will cost a fair amount but it will be done right.

The one thing that the three of us agree on is that we want to do a more contemporary presentation of Julian's work. For inspiration, I've been looking at the sites for MOMA, Whitney Museum, Tate Gallery, National Gallery and LACMA. I think the LACMA presentation might be the easiest to transform into an ocPortal skin.

Bob



Last edit: by BobS



Avatar
So far so good with RC3 on my end.

The error about a forum ID not being passed is still in the member profile page, however I think that is because of the two calls to particular forums in the OCF_FORUMS.tpl, causing that. Not a real big issue, and not seeming to cause any harm site wise.

I haven't seen anything pertaining to a Google +1 on the front page, thought I read that as a feature for v8. Might have dreamed that though.

As I don't have facebook I haven't dugged for anything related to Facebook for my site or members yet. I might have to get a facebook account though just to see about that functionality. Wasn't there supposed to be something in the member's page for facebook activity? And what about the "like this" on facebook?

On the top of posts on my site I only have the five starts that you can click on any number of star to give the post a rating. I don't see the thumbs up/thumbs down image I see here. Must be some setting I haven't discovered yet?

If these are the only things I'm complaining about then it's gold IMO lol.

Avatar
The error about a forum ID not being passed is still in the member profile page, however I think that is because of the two calls to particular forums in the OCF_FORUMS.tpl, causing that. Not a real big issue, and not seeming to cause any harm site wise.

{ID} is passed as NULL for this (because it's not an actual forum), so those references you've added need guarding with {+START,IF_PASSED,ID} around them otherwise it can't process it.

I haven't seen anything pertaining to a Google +1 on the front page, thought I read that as a feature for v8. Might have dreamed that though.

In the main_screen_actions block

As I don't have facebook I haven't dugged for anything related to Facebook for my site or members yet. I might have to get a facebook account though just to see about that functionality. Wasn't there supposed to be something in the member's page for facebook activity? And what about the "like this" on facebook?

It's a non-bundled addon.

On the top of posts on my site I only have the five starts that you can click on any number of star to give the post a rating. I don't see the thumbs up/thumbs down image I see here. Must be some setting I haven't discovered yet?

If you want likes rather than ratings you need to do this command in OcCLE:

Code

:set_value('likes','1');
as there's no config option yet.

Eventually there will be, but for now it's only a quasi-official feature.
Avatar
Ah but Chris, it is protected by such.

Code


{+START,IF,{$EQ,{ID},1}}
{$LOAD_PAGE,infobox,site}
{+END}

{+START,IF,{$EQ,{ID},59}}
{$LOAD_PAGE,map,SagaofAblution}
{+END}


So by that, then shouldn't that bug not be present? Perhaps this is another bug?

I'll look over the rest of the stuff later. And BTW - I do have the Activities add-on.



Avatar
This is a small detail but it has bothered me for a while. In Site Statistics, the different reports have different reporting periods - some from using month-end dates (2 months previous to last month-end) and others using today's dats. Is this by design?

Bob


Last edit: by BobS

Show 1 reply


Avatar
There is no header for the first section in "Notification lockdown"



Bob

Avatar
In Members->Delete lurkers, it would be good to have the option to delete accounts awaiting email confirmation. Used in conjunction with the "Minimum days since joining" this could be a nice feature to winnow the members list of people who have never completed registration.

Bob


Last edit: by BobS

Show 2 replies


Avatar
Calendar entry v detail still not quite right:

  



Show 2 replies


Avatar
Items should appear as either blog posts or news post, but not both:





Bob
Avatar

BobS said

Items should appear as either blog posts or news post, but not both:





Bob


Blog posts are news posts in ocPortal.

Show 4 replies



Avatar
So by that, then shouldn't that bug not be present? Perhaps this is another bug?

I can't see any use of IF_PASSED in the code you posted. It can't do an EQ check if it's not passed without flagging an error, unless surrounded by an IF_PASSED.

I do have the Activities add-on.

If the OCF_MEMBER_PROFILE_SCREEN template is not correct, other tabs may not be showing.

Show 3 replies


Show 30 more replies

1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand