The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change Who's Online default for users per page
This query relates to vb4 version 4.2.2. The default setting for the number of online users per page on the Who's Online screen is 20 and I want to change this to 100. There is nothing to change this in the "Who's Online" section of the Settings.
I have looked at the page with Firebug and can't find anything particularly helpful there - see below. <div class="blockrow"> The URL when looking at this screen shows online/php but I can find nothing hard-coded in there so am at a loss to locate the relevant setting. Not a big deal but if anyone knows how to change this I would appreciate your advice |
#2
|
||||
|
||||
That is controlled by, ACP --> Settings --> Options --> Forum Display Options (forumdisplay) the setting, Maximum Displayed Threads Before Page Split
Now it you do not want to change that setting you can edit the online.php file, find this bit of code. PHP Code:
PHP Code:
|
#3
|
||||
|
||||
Or you can, go to ACP --> Plugins & Products --> Download / Upload Plugins, scroll to the bottom till you see this block, Import Plugin Definitions XML File then import the attached plugin.
Then you will not have to change any files. |
Благодарность от: | ||
Benjidog |
#4
|
|||
|
|||
Thank you Ozzy for a fast and comprehensive reply. I will try this out later today.
Regards, Brian Watson --------------- Added [DATE]1417543048[/DATE] at [TIME]1417543048[/TIME] --------------- I applied the XML solution and it worked a treat. Thank you once again Ozzy. Regards, Brian |
Благодарность от: | ||
ozzy47 |
#5
|
||||
|
||||
Excellent, glad it did what you needed.
|
#6
|
|||
|
|||
If i set default user per page to 100,
how can i make it use the new settings so it automatically lists 100 users when clicking on "Who?s Online" ? Without having to click on the display-button.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|