Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2013, 02:47 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding preview text to cms widget

The main thing I have been trying to accomplish using the Vbulletin cms seems like it should be simple and included but after spending days trying I have yet to find a solution. All I want to do is show forum posts on the main page without having to promote them to an article. To me it makes no sense to have a thread copied to another section when the post or thread itself can be displayed just like Vbadvanced has always done it.

I figured an easy way of accomplishing this would be to create a recent threads or recent posts widget. The problem I am having with this is that it does not show the entire post. Is there a way to increase the amount of preview test?

I am also open to any other methods of getting a forum post to display nicely in the main section of the cms without having it promoted into an article.

Thanks

--------------- Added [DATE]1358433370[/DATE] at [TIME]1358433370[/TIME] ---------------

Guys, I cannot understand how nobody else has this issue. It just send so obvious that adding some good forum threads to the home page would be a good thing. The only way to do this currently is to use minimal sidebar widgets or to promote a thread. These are both really inefficient ways of doing this.
I just cannot believe that the best forum script in the world does not even have a basic feature to display a post in the primary content area.

Is there anyone here who can help me with this?
Reply With Quote
  #2  
Old 01-18-2013, 02:48 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've got "Recent Forum Posts" in a sidebar on our CMS homepage (http://www.shannondale.org/) from some mod or other here. That won't work? I guess not from your description.

But if my own opinion counts, I think you may be agonizing for no reason. Your CMS isn't supposed to be a forum; at most it should only direct viewers there. Also remember many mobile users won't ever see it anyway - especially those using Tapatalk. Forumrunner, or readers like Google Currents.
Reply With Quote
  #3  
Old 01-18-2013, 05:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am picturing a widget on the site with a ton of post text in it... Who wants to read a long post in a 240px wide space? If that is not what you are saying you want, then please show a mockup of what you want. And, you realize you can always create a php article and place it first in your section and then just have the article grab the latest thread and post it - is that what you are wanting to do?
Reply With Quote
  #4  
Old 01-22-2013, 06:33 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
We've got "Recent Forum Posts" in a sidebar on our CMS homepage (http://www.shannondale.org/) from some mod or other here. That won't work? I guess not from your description.

But if my own opinion counts, I think you may be agonizing for no reason. Your CMS isn't supposed to be a forum; at most it should only direct viewers there. Also remember many mobile users won't ever see it anyway - especially those using Tapatalk. Forumrunner, or readers like Google Currents.

The idea is to have some posts on the main page to get maximum visibility but doing this buy some other means then promoting to an article.

Is it your advice not to promote posts?

--------------- Added [DATE]1358840068[/DATE] at [TIME]1358840068[/TIME] ---------------

The widget was just an idea of how to accomplish this.
Reply With Quote
  #5  
Old 01-22-2013, 01:00 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Is it your advice not to promote posts?
That's not what I said. I was just trying to figure out what you were trying to do.

Oh, and here's that Recent Threads widget I use: https://vborg.vbsupport.ru/showthread.php?t=236404
Reply With Quote
  #6  
Old 01-22-2013, 03:36 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

up
sorry about that, was on a mobile and thought i was replying to another thread i had created on this.up the issue with that widget is that it shows no preview text out very little.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:10 PM.


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.04783 seconds
  • Memory Usage 2,210KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete