vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Anybody know how to include thread titles on a non VB frontpage? (https://vborg.vbsupport.ru/showthread.php?t=276361)

SpikeSaunders 01-03-2012 01:02 AM

Anybody know how to include thread titles on a non VB frontpage?
 
Howdy all,

I really don't know if anybody has figured out how to do this yet or not. I know VB has the cms, which is great, but just wasn't working for what I wanted. It's just not the easy to give a layout to, like you would a normal website which is what I want to do here.

To put this simply, I am looking for the vbulletin 4 equivalent of the SMF's ssi.php methods. For example: http://www.simplemachines.org/commun...i_examples.php
As you can see here you can run a variety of calls in php to output specific things.

On my website's frontpage I have a section that has three columns.
Code:

BIGIMAGE300x150    35x35IMG - Thread Title      35x35IMG - Thread Title
Article Title      35x35IMG - Thread Title      35x35IMG - Thread Title
                    35x35IMG - Thread Title      35x35IMG - Thread Title

The above is a poor example but gives you the idea. The problem is with RSS feeds you can't really extract the content like that. And with the variables to output the threads you can't do them one by one in that way either.

Right now I'm hardcoding the articles and links on the frontpage, as there are other sections like this too that I need to figure out but may be easier with this :)

Anyways if anybody has any ideas, that's be great. Lynne as always you've helped in the past on another username of mine so feel free to chime in :)

Have a great New Year guys/gals!
-Spike

SpikeSaunders 01-06-2012 10:16 PM

I attempted this with calls to template specific variables that are in use already on the forum, such as to show users browsing online, but again it won't work for showing the last ten or so threads, in the layout described above.

Maybe I am looking at this wrong. Perhaps you can give RSS feeds a layout on output that I am unaware of?


All times are GMT. The time now is 01:51 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.01047 seconds
  • Memory Usage 1,712KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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