View Full Version : A hack which count every posts at the top of a page
meteore
08-04-2002, 11:11 AM
Could someone do a hack which disable users to choose the number of posts to show per page and set it at the same number for everyone, and also which count every post at the top of a page and shows the 5 members with the most of top page's post on the forumhome (this a statistik that peoples ask me on my forum).
I don't know if it's easy understanding but if you don't just ask and i'll explain my request.
Thx in advance :banana:
Xenon
08-04-2002, 11:16 AM
in your admin options
go to thread display options there you'll find this:
User Settable Maximum Posts per Page
If you would like to allow the user to set their own maximum posts per thread then give the options seperated by commas. Leave the field blank to force them to use the MAXPOSTS setting above this option. ex. 10,20,30,40
so leave it just blank ;)
hmm, don't sure i understood everything, but search for a statistik panel hack in the release forum, i think there is such a hack ;)
meteore
08-04-2002, 05:26 PM
thx guy i am gonna search for it
meteore
08-04-2002, 05:33 PM
i didnt find it...
i explain what i am searching for:
some guys on my forum ask me for post at top of a page statistic.
it means a statistic that counts for each user the posts which are at the top of a page in a thread.
and then i'd like to show the statistik on the forumhome like for the top 10 posters hack
meteore
08-05-2002, 10:04 AM
Originally posted by Xenon
in your admin options
go to thread display options there you'll find this:
User Settable Maximum Posts per Page
If you would like to allow the user to set their own maximum posts per thread then give the options seperated by commas. Leave the field blank to force them to use the MAXPOSTS setting above this option. ex. 10,20,30,40
so leave it just blank ;)
hmm, don't sure i understood everything, but search for a statistik panel hack in the release forum, i think there is such a hack ;)
yes but i cant set up a fixed one, it just fixs a maximum.
i would like the number to be the same on every page
meteore
08-05-2002, 03:27 PM
:'( nobody to help me ?
Tim Wheatley
08-05-2002, 09:17 PM
See below.
Tim Wheatley
08-05-2002, 09:29 PM
Infact here you go. PLEASE BACKUP because I really don't consider myself a hacker and I don't want you to mess your board up:
In template... User Option Templates > modifyoptions >
Remove:
<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Default Posts per Thread:</b></normalfont><br>
<smallfont>Number of posts that are shown on one page of a thread.</smallfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>
<select name="umaxposts">
<option value="-1" $postsdefaultselected>Use forum default</option>
$maxpostsoptions
</select></smallfont></td>
</tr>
That will stop the users from changing your posts per page setting.
Then go to the VB Admin panel > VBulletin Options > Thread display options >
In the 'User Settable Maximum Posts per Page' box, only put in the number you want to be available. eg: '40' = 40 posts per page.
Next enter the following sql query into your database:
UPDATE user SET maxposts=40;
I *think* that's right, but obviously change 40 to what you want per page.
Tim Wheatley
08-05-2002, 09:30 PM
"which count every post at the top of a page and shows the 5 members with the most of top page's post on the forumhome (this a statistik that peoples ask me on my forum)." - This I can't help with though - sorry.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.