The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Just edit it into your copied file and set it equal to one of your category forumid's. The point is there's no "f=10" in your url so you have to supply it in the code.
I'm not sure this will work though. Try and see. Actually, come to think of it maybe it should go at the very top right after <?php Try this Code:
<?php $_REQUEST['f'] = 10; whatever one of your categories is |
#12
|
|||
|
|||
Thanks for the great effort, but it didn't work.
I'm just wondering if forumhome can be duplicated and then used under different name and then replacing forum.php with also different name can do anything... I tried that though, but nothing worked... I thought it is a lot easier than that. is there a conditional statement to use per forum.php or it is only per template?? because I can see it working only on a template not .php pages.... |
#13
|
|||
|
|||
Yeah, I had to try it out myself. The best I could do is edit in "$_GET['f'] = 1;" into the new file and it redirected me to the original forumdisplay.php. But you could make links to the URLs for your main categories and they would more or less do what you want. Maybe then you could make a plugin that evaluates all the data for What's Going On and make a separate template for that and put it in forumdisplay.php with a conditional that does it only for categories.
Maybe there's already a product for putting What's Going On in other pages |
#14
|
|||
|
|||
Big apology to you mate, nerbert.... I found out that I was mistaken.... I didn't clear up the browser cache... as I use Zend Opcache php cacher...
now this code works beautifully on the custom page derived from forum.php PHP Code:
|
Благодарность от: | ||
MarkFL |
#15
|
|||
|
|||
But now your problem is figuring out navbits. If you view a thread or forum that shows on forum22 the first link in your navbits should take you to forum22 instead of forum.
|
#16
|
||||
|
||||
Quote:
in forumdisplay.php .. directly under PHP Code:
PHP Code:
PHP Code:
If you don't want to edit files you can use the next hook location and redo all navbar work for example showthread_complete in showthread.php PHP Code:
|
3 благодарности(ей) от: | ||
fxdigi-cash, MarkFL, nerbert |
#17
|
|||
|
|||
Thanks @bridge2heyday for the great solution ... :up:
|
Благодарность от: | ||
bridge2heyday |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|