vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   [Help :3] vbCMS - Article Alternate Source (https://vborg.vbsupport.ru/showthread.php?t=315100)

Loversama 10-28-2014 11:57 AM

[Help :3] vbCMS - Article Alternate Source
 
Hello all, thanks in advance for taking the time to look at my post.

I would like to know if there is a plugin or modification which allows me to show other items as articles in the preview section on vbCMS.

So for examples, theres a reviews system installed, and I want it to show latest reviews, and articles on the front page.

Thanks again!

Lynne 10-28-2014 04:23 PM

I suppose you could create a PHP Widget and put in the code to query the database to get the latest reviews.

Loversama 10-29-2014 08:11 AM

Quote:

Originally Posted by Lynne (Post 2520362)
I suppose you could create a PHP Widget and put in the code to query the database to get the latest reviews.

Would I be able to get it to display in between the articles like its part of the system?

(I dislike how over complex the vbCMS is) :P

Lynne 10-29-2014 04:45 PM

Not easily. You would have to rewrite quite a bit of the files to get it to do that.

Loversama 10-30-2014 07:40 AM

Quote:

Originally Posted by Lynne (Post 2520505)
Not easily. You would have to rewrite quite a bit of the files to get it to do that.

Thanks for your help Lynne, last question, where do I start? do you have a hany link that confirms how the CMS gets the data to process it as an article, I had a look into content types but not how to go about adding a new one..

Thanks again :)

Lynne 10-30-2014 04:15 PM

You can take a look at the code in /packages/vbcms . But, like I said, it would be quite an undertaking to change that. I may be easier to just add a PHP module and put your own code in there.


All times are GMT. The time now is 05:42 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.00976 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete