vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Has anyone succesfully managed to create a CMS content type? (https://vborg.vbsupport.ru/showthread.php?t=234922)

Alfa1 02-03-2010 08:24 PM

Has anyone succesfully managed to create a CMS content type?
 
Edwin Brown posted a blog on Programming your own CMS Content Type.

I wonder if anyone managed to add one. I'd love to see it.

I have searched vb.org but AFAIK there is no hack here that introduces a new CMS content type.

Alfa1 05-15-2010 09:03 PM

It has been a few months since this thread has been opened. Has anyone succeeded in creating a CMS content type?

Andreas 05-16-2010 06:47 AM

I did a Proof-of-Concept implementation last september with Alpha 2 but never released it.

Alfa1 05-08-2011 12:47 PM

Andreas, could you share that proof of concept?

As we are a year later now, I wonder if anyone else managed to create a custom content type?

Dead Eddie 05-12-2011 10:20 AM

Quote:

Originally Posted by Alfa1 (Post 2193307)
Andreas, could you share that proof of concept?

As we are a year later now, I wonder if anyone else managed to create a custom content type?

I did half a proof of concept about a year ago. From what I recall, the blog post wasn't much help, so I copped a lot of it from the code within the article content type and reading through the abstract classes.

As I recall, the process was about twice as involved as I'd imagined it needed to be. The more I hacked away at it, the more I began to realize why they made certain decisions, but I don't remember if I agreed with those decisions or not.

Ultimately, I quit because there was a bit of effort involved (learning + doing) for what was essentially a proof of concept that I didn't have a use for. Didn't want to keep going on something that I wasn't going to actually use.

I'm going to start a very simple content type (stores TV program description, meta data on those shows, and a basic review) over the next few weeks. Or, at least after I get my current project off my to-do list.

Alfa1 05-12-2011 09:50 PM

Please let me know when you have more information about CMS content type creation to share.

arvid 05-20-2011 01:51 PM

But there is an example in the blogpost you linked to in the first place? What more do you hope to get out of someone else's proof of concept? I'm just in the middle of creating my own content type, but sadly I cannot share it due to contract regulations...

Alfa1 05-20-2011 03:05 PM

I have yet to see one working custom content type. Various addon coders had planned to make their addon into a custom content type but none actually did this.
Dead Eddie found the blog post to be of little help and he had to study the article content type. So that explains a bit.

I need to create at least 6 new content types and these will become my big board its main content. It will grow big and active so I really need it planned well.
My main concern is if vbCMS has the needed architecture to be effectively contain complex content types and the associated comments. Do you consider vbCMS a solid foundation to build upon?

arvid 05-20-2011 04:49 PM

So far into the project I find everything solid, but I'll try to get back to you here to write about any hickups or thoughts as the project moves on.

I haven't come that far yet though - started researching yesterday and building initial proof of concept half through today. :) Hoping to have my basic proof of concept ready sometimes early next week.

This far though I find the linked article quite useful.

arvid 05-27-2011 01:41 PM

Well, now a week later I have a first draft of the content type I wanted to create.

My thoughts this far:

- The framework is great and seem quite solid
- The code commenting of the current content types are sometimes a bit lacking and/or outdated
- The blog Edwin wrote is really nice and helps alot, but some parts are referencing outdated names / functions
- If you're not used to object oriented PHP programming, the learning curve of programming your custom content type would be quite steep
- If you have experience in coding custom widgets it helps since some parts of the process are overlapping


All times are GMT. The time now is 09:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01615 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete