vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   New Threads from custom forums only. (https://vborg.vbsupport.ru/showthread.php?t=273416)

Kış 11-05-2011 08:17 AM

New Threads from custom forums only.
 
Hi.
I want to know if i can create 2 sidebars. So,
The first sidebar will show only threads from forums 1,3,4,
And the second one will only show new threads from forums 2,6,5
Regards.

Lynne 11-05-2011 06:47 PM

You mean one bar on one side of the site, the other bar on the other side of the site? And on what pages?

The short answer is Yes, you can do that, you just need to code it.

Kış 11-05-2011 09:59 PM

Quote:

Originally Posted by Lynne (Post 2264778)
You mean one bar on one side of the site, the other bar on the other side of the site? And on what pages?

The short answer is Yes, you can do that, you just need to code it.

Yes you are right. i need sidebar.
On homepage only.

I will create it from "Forum Blocks Manager" > Custom HTML/PHP
But i dont know what is the code for that.
Do you have any idea ?

Lynne 11-05-2011 10:23 PM

If you create a New Forum Posts block, you may select to only show posts from certain forums. So, create two separate Forum Posts blocks and select different forums for each one.

Kış 11-06-2011 11:49 AM

Oh yes.
It is selectable. I have not look carefully :)
Thanks very much.
One more question.
How can new threads or posts in my forum be displayed in another site? may be in html pages ?
My friends want to display new threads of my forum in their site. But i cant provide the right code for it.

Lynne 11-06-2011 03:26 PM

See these threads for methods to pull threads via javascript:
[HowTo] Display your latest threads on an external page using an RSS2 feed
[HowTo] Display your latest threads on an external page using an XML feed
[HowTo] Display your latest threads on an external page using an RSS feed

Kış 11-06-2011 04:41 PM

Hi.
Thanks for the links, but all of them says :
Quote:

Near the top of your php page, but after the <?php code include the following:
Hi.
i asked especially for html pages.
is it possible ?
i searched vb.com but could not find the one that worked for me unfortunately.

Lynne 11-06-2011 09:04 PM

See this for adding thread to an html page:
HowTo Display Latest Active Threads on ANY normal HTML page

Kış 11-06-2011 09:19 PM

Hi.
Unfortunately it was posted 6 years ago. for Vb 3.5.x
I tried it on html page, but no success.
Anyway your avatar is very cool :)

Lynne 11-06-2011 11:11 PM

It's just javascript to go on some html page - it doesn't matter that it was 3.5. It should work just fine as long as your site has your javascript feed turned on.


All times are GMT. The time now is 02:03 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.01612 seconds
  • Memory Usage 1,729KB
  • 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)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