The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Split ForumHome Page into Multiple Pages Details »» | |||||||||||||||||||||||||
What it does is to allow you to take some forums off your Forum Home page and display them on a second instance of the forumhome page.
This is useful if you have a long list of forums and have some forums like archives that your users don't need to access very often. This mod differs from Kirby's (Andreas's) in that his allows you to limit the NUMBER of forums shown per page. Mine allows you to select the specific forums to show. I have not tested it, but I believe this will allow you to use any number of forumhome pages. You could do one per category if you show chose. This is now a product. No code changes are required on your part. Please note that if you have microstats installed, it will yell about an uncached template. The template is not uncached. It doesn't exist. It is not creating extra queries. I am not sure how to suppress that error at this point. My thanks to Kirby for pointing the way on how to make the functions_forumlist part of this mod a plugin instead of a code change. Demo: Page One Page Two Instructions: 1. Install the product. 2. Go to each forum and set which page to display it on. 1,2,3 etc. I have only tested 1 and 2. 3. Create links to the other instances of forumhome. Put these links where you would like them to be - in your navbar, side panel, header, tabs, whereever. Example links are the demo links posted above. 4. Contribute something to this site. Help somebody with a question or release some code of your own. Keep the giving circle going. Show Your Support
|
Comments |
#52
|
||||
|
||||
ok installed great job amykhar thanks
|
#53
|
|||
|
|||
Hi Amy! When I saw this hack I was very excited. I have a forum where I want to split out differing subjects into two pages (using the terminology from this hack). I also have general social forums that I would like to appear on both pages.
I installed this, and it GREAT! I quickly noticed however that this might not address my problem. On the forum config screen, I tried to put "1,2" for the page on the particular social forum that I need on both pages, and "1" and "2" respectivly on the seperate discussion categories. No worky, looks like you can only put one page number in there, the instructions above got my hopes up. I've been searching desperately for a hack/code that can do what I'm looking for. I'm still a newbie to VB, but I was hoping to be able to use forumdisplay.php to do the trick through .../forumdisplay.php?f=1&f=2, etc. Unfortunately it seems like VB dosen't want people doing this. ergo the "multiple forums, one user database" thing. Any ideas if this hack can be modded to accept multiple pages for forums to appear on? Else, any advice or pointers you can provide would be incredibly helpful. Thank you soo much for doing this for our community. |
#54
|
||||
|
||||
I never said you could put it on two pages But, if you really want to do it that way, you could change the php to check to see if the page is 9999 and if it is, include it on all pages.
|
#55
|
|||
|
|||
HOLY SMOKES! You're fast! THANKS! My apologies also, didn't mean to make it sound like your instructions were wrong, they make perfect sense. I was a little excited and anxious when I found this.
I've been searching for a way to do this for the past 3 months to no avail. Adding the capability to be able to display multiple pages in the ACP for a particular forum would create the first and only fix for this dilema. In my research I have found alot of folks have been trying to find a solution to this. In the interim, would you be able to provide the php code that would search for "9999" to display on both pages? I'm a bonehead when it comes to this stuff. This would be greatly appreciated - I promise to send you some good juju over the wire Thanks again!!! MD |
#56
|
||||
|
||||
In the plugin code, try this:
Find: Code:
if($forum['page'] != $page) Code:
if(($forum['page'] != $page) and ($forum['page'] != 9999)) |
#57
|
||||
|
||||
I've just found this hack and I'm so happy you created and released this. Thank you so much, Amy!
|
#58
|
|||
|
|||
Amy, you are absolutely an angel sent from heaven. Your generousity is simply amazing, and I thank you from the bottom of my heart. You can have my first born, or whatever it is that folks say around here
It worked witht the exception of the 9999. When you put that in the forum config, hit save, go back and it turned to 127. No big, just re-worked it to 99 instead. Hack of the decade in my book. Consider adding the 9999 functionality, or multiple entries per forum to the next update. This will be HUGE! Many lost soles are drifting between .org and .com looking for this. Thank you ma'am. |
#59
|
|||
|
|||
I've successfully used this for an 11 page forum as you can see here: http://forums.hybrid-gamers.com
However something I've now only just realised doesn't work and I'm hoping that there's a way around it ... Can you apply a forum theme to a page? As you can see from the site I have 'game' pages. Each forum (and its associated CMS frontpage) has a customised theme (well, they will do - they're just copies of the original at the moment) but they won't display on the main page that shows the game's forums. Any ideas? |
#60
|
||||
|
||||
Lost_Prophet, that would take some doing because the page you are looking at isn't a forumdisplay page, it's the forumhome page. I think the easiest solution would be to pass the them you want to use in the link to the page.
http://www.hybrid-gamers.com/forums/...e=6&styleid=22 for example. Don't know if it'll work like you want, but it's worth a shot. |
#61
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|