vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Show last 50 posts on homepage (https://vborg.vbsupport.ru/showthread.php?t=256062)

giorgioarmani 01-01-2011 01:59 PM

Quote:

Originally Posted by Digital Jedi (Post 2141933)
If you just want a redirect, then yes. I presume since you've already done this with .htaccess on SMF, then you already know what to do?

No idea... I just added some code I was recommended and it works...

Quote:

Originally Posted by James T Brock (Post 2142098)

Not sure if thats the right thing...

Just came across this:

http://www.enotalone.com/forum/index.php

Looks like VB... :) Any clue how they managed that one?

James T Brock 01-01-2011 03:49 PM

Why don't you think it's the right thing? Either of the mods below will do exactly what you're asking.

https://vborg.vbsupport.ru/showthread.php?t=166791
https://vborg.vbsupport.ru/showthread.php?t=147344

Actually, I suspect that you have your terminology mixed up. In the first post you said HOMEPAGE but I think what you mean is the forums index page? You want recent posts on the index page instead of the normal format with the sub-forums.

BirdOPrey5 01-01-2011 06:11 PM

You can extend the "get daily" to any number of days with the following:
Code:

search.php?do=getdaily&days=10
That would be 10 days... as long as you'd gave at least 50 threads in 10 days you're fine.

Then in vbulletin optons -> message searching options set Search Results Posts Per Page to 50.

giorgioarmani 01-01-2011 06:45 PM

Quote:

Originally Posted by James T Brock (Post 2142322)
Why don't you think it's the right thing? Either of the mods below will do exactly what you're asking.

https://vborg.vbsupport.ru/showthread.php?t=166791
https://vborg.vbsupport.ru/showthread.php?t=147344

Actually, I suspect that you have your terminology mixed up. In the first post you said HOMEPAGE but I think what you mean is the forums index page? You want recent posts on the index page instead of the normal format with the sub-forums.

Without a doubt it could be that I have my "terminology" mixed up but those two mods are not the simple solution I'm looking for...

What I want is when someone visits my site they are shown the contents of forum X.

In effect, then showing the posts from that forum on the "homepage"

Does that make sense?

BirdOPrey5 01-01-2011 06:51 PM

You clould use htaccess to forward someone from http://www.yourdomain.com to http://www.yourdomain.com/forumdisplay.php?f=X

Where X is your forum id... I'd imagine the code wold be nearly identical as what you used my mybb.

giorgioarmani 01-01-2011 07:08 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2142415)
You clould use htaccess to forward someone from http://www.yourdomain.com to http://www.yourdomain.com/forumdisplay.php?f=X

Where X is your forum id... I'd imagine the code wold be nearly identical as what you used my mybb.

Yup that's exactly what I want...

I used:

Quote:

DirectoryIndex /forumdisplay.php?fid=2 /index.php
But this doesn't work for VB.... :confused:

BirdOPrey5 01-01-2011 07:25 PM

in vbulletin it would be:

DirectoryIndex /forumdisplay.php?f=2 /index.php

giorgioarmani 01-01-2011 08:01 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2142428)
in vbulletin it would be:

DirectoryIndex /forumdisplay.php?f=2 /index.php

Nice... That "redirects" - getting there...

How can I get it to just stay on the homepage instead changing the URL in the navigation bar?

BirdOPrey5 01-02-2011 12:35 AM

I don't even know if that is possible with htaccess...


All times are GMT. The time now is 03:49 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.01030 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)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
  • (9)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