![]() |
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. |
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. |
Quote:
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 ? |
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.
|
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. |
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 |
Hi.
Thanks for the links, but all of them says : Quote:
i asked especially for html pages. is it possible ? i searched vb.com but could not find the one that worked for me unfortunately. |
See this for adding thread to an html page:
HowTo Display Latest Active Threads on ANY normal HTML page |
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 :) |
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.
|
Hi. The code is this :
PHP Code:
What changes should i make here before pasting the code to html page in another domain? I tried adding domain name of the forum just before the showthread.php and search.php but no result. |
Post a link to the html page so we can see what the problem is.
|
Hi Miss Lynne.
Thanks for info. we have successfully added it. But it worked in a html file which is in the same domain as forum. What changes should we do in order to make it work in an html page which is in another domain ? |
That code, assuming you added your forum url into the javascript, should work on another site.
(And it's Miss Lynne. :) ) |
Hi. But I already told Miss Lynne :)
Miss Lynne, in this url , https://www.vbulletin.com/forum/show...=1#post1618826 it explains how to show threads from only spesific forums. But the issue is that you cant use parent forum ID. you have to use subforum id's as well. If you use parent forum id only, Then no threads from its child forum will not show up. and one more thing. You have a CSS school. So you would know. Can you tell me how to increase text size? And how to increase space between thread names ? |
In the third post in that article I linked you to, it says how to add several forumids. So, enter in the child forums, not the parent forum.
I don't have a CSS site. That is just a link to a site that I find to be very, very helpful! |
Hmm. I am sorry then. But you are right. It really is very very very helpful. :)
|
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|