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.


Is there a function to..

Login / Search

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

Well-settled

...post a new topic? I cant find something suitable in the API doc...
Back to the top
 
Posted
Rating:
#68557
Avatar

Look under core_ocf, ocf_make_topic.


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:
#68559
Avatar

Well-settled

thank you.
By the way, what is the difference between support here and paid support? I mean… you answer here within minutes… that is more than what i got sometimes for big money!
Back to the top
 
Posted
Rating:
#68562
Avatar

Thanks. There's a point where we won't answer things, particularly detailed themeing questions, or if someone wants something debugged or some addon written. To be honest, I'm sure questions will be answered less by us as they are asked more, but I hope others will pick up.


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:
#68563
Avatar

Community saint

Nachtwind said

thank you.
By the way, what is the difference between support here and paid support? I mean… you answer here within minutes… that is more than what i got sometimes for big money!
Yes, the support has been commented on by many, including myself. It is reassuring, and self-defeating at the same time …

BECAUSE

Chris Graham said

… but I hope others will pick up.
Others DO pick up, especially where themeing is concerned (CSS and Templates, etc.), but most are reluctant to 'interfere' with core functionality. And until no further core development is forthcoming (unrealistic, as this is an ongoing LIVE project), then we users will sit back and wait for the oracle (Chris) to pick up on difficult questions.

Can't see this changing much in the near future …

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#68565
Avatar

Well-settled

Currently i am totally out of ideas (might be because i am a bit ill..) but i cant figure out the next trivial thing..
How do i call this function(s)?

I have a new file created in the root directory of the forum and included global.php the regular way. Now i wanted to do this:

$forum = new core_ocf();
$arr = $forum -> ocf_get_topic_tree (4, NULL,NULL, NULL) ;

Of course the page (with the ocp layout) complains about not finding the class.. can someone just show me the right direction?
Back to the top
 
Posted
Rating:
#68566
Avatar

It's not a class, it's just the name of the addon. ocPortal's API is not really object orientated. You need to do require_code('ocf_forums'); (I think that's the file it's in, but the API docs will say) and then just call it as a function directly.


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:
#68567
Avatar

Others DO pick up

Yeah indeed, excellent point. And the ones I do need to answer (bug reports, general questions), well they will decrease over time, in theory, as things get fixed/answered.


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:
#68568
Avatar

Well-settled

Alright,,
I currently try

require_code('ocf_forums');
$arr = ocf_get_topic_tree (4, NULL,NULL, NULL) ;

but it still doesnt work.
I tried core_ocf instead of ocf_forums as well. Where would i find the real name in the API doc anyway?
Back to the top
 
Posted
Rating:
#68569
Avatar

Community saint

Fletch said

Yes, the support has been commented on by many, including myself. It is reassuring, and self-defeating at the same time
Its most reassuring. Its one of the main reasons I'm sticking with ocPortal. Knowing that if I have a problem I can get it resolved in a reasonable amount of time (pretty darn fast actually!!!) gives me confidence in the product.

It's a two-way street, all the problem we find and get fixed improves the quality of the product. Its just the smart thing to do.

The acknowledgement of problems and speedy responses encourage us to report more. If I had to wait weeks (more probably months) to get things fixed it would seriously put me of reporting ANY problems, and may have driven me away from ocPortal.

I've only been using ocPortal for about 1 months, and have already reported about 40 bugs/issues and got almost all of them fixed. No other company has ever managed to get anywhere near that much free bug reporting out of me.

Keep up the great work Chris.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#68571
Avatar

Well-settled

Argh.. consider this one resolved. found the right file. Thanks for the help Chris :0)
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: