vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Split ForumHome Page into Multiple Pages (https://vborg.vbsupport.ru/showthread.php?t=92201)

sokol 01-19-2008 11:53 PM

Quote:

Originally Posted by hornstar1337 (Post 1424769)
I have been using this for over a year now and it has been working good. hopefully it will continue to work for 3.7 :)



Go to forum manager, and any forum you want to change to a different page, then you will need to set which page you want it shown on.
Have you done this?

For us who are running /forums/index.php

The code to show page 2 is: /forums/index.php?page=2

Have you tried: forum.php?page=2

Yep, have the majority of my forums on page 1, with 5 of them on page 2.
http://sgwcommand.com/forum.php

Explorers League Command and all it's Sub Forums are set to page 2.


~Sokol

Hornstar 01-20-2008 12:13 AM

The forums you selected for page 2. Are they still showing on the main page?

Edit, read above, so I think they are.

I guess the problem for you is that this was designed to work with index.php and not forum.php

I am not sure if she will support this ever, but my feelings are this mod is not going to be updated again, but she could surprise us, you never know.

Hornstar 01-20-2008 12:25 AM

Try uninstalling your copy.

then backup your database - if you are not experienced with this, then do not install the below product.

I am not a coder by any means at all, I think I may have found the problem, but please ensure you backup your database, as I will not be held responsible if the below product causes any problems.

The below is only to be installed if your having problems and your directory is /forum.php instead of the standard /forums/index.php and only if you want to backup your database first.

sokol 01-20-2008 05:36 PM

Quote:

Originally Posted by hornstar1337 (Post 1424805)
Try uninstalling your copy.

then backup your database - if you are not experienced with this, then do not install the below product.

I am not a coder by any means at all, I think I may have found the problem, but please ensure you backup your database, as I will not be held responsible if the below product causes any problems.

The below is only to be installed if your having problems and your directory is /forum.php instead of the standard /forums/index.php and only if you want to backup your database first.


Did you modify the xml from:

PHP Code:

if(THIS_SCRIPT == 'index')
{
global 
$page;
if(
$forum['page'] != $page)
{
    
$tempext '';
}


to
PHP Code:

if(THIS_SCRIPT == 'forum')
{
global 
$page;
if(
$forum['page'] != $page)
{
    
$tempext '';
}


I think that is the solution, as it's looking for the index page which I renamed forum.

That changed worked. Thank you for the help!

Thanks,
Sokol

sokol 01-20-2008 08:50 PM

I Modified this to make use of settings for the name of the script rather then have it hard coded.

Vbulelting settings >> Split Forumhome Settings.

You will most likely leave this set to default "index" but if you are like me, and use a custom page for your index page, this will come in handy.

Note: I take no credit in this as all I did is add settings to modify the script name for the forums.

I've tested it in 3.6.x

~Sokol

Hornstar 01-20-2008 09:39 PM

yeah that is all I changed. Glad it worked for you.

swissknife 05-01-2008 02:57 PM

will this work at 3.7. too ?

Hornstar 05-02-2008 05:15 AM

I sure hope so, as im about to upgrade myself as well. Ideally it would be lovely if it was updated for 3.7 and a few new features was added. But if not, lets hope it works.

swissknife 05-03-2008 11:14 AM

It dosnt work, i tried. :(

i would be very, very, VERY happy, if this would be updated! this addon is one of my most important!!!!

swissknife 05-05-2008 11:03 AM

ok, i need this really. I will pay for it. Please contact me for an offer.


All times are GMT. The time now is 04:52 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.01241 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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