The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
||||
|
||||
on a 40-threads page, the addition on my Bulletin Board was 10-15 kb.
The total page, with images and all, without the preview is 129kb; with the preview it's 144kb -- total of 15 kb more. Using gzip compression (which I do), the difference is more significant and at the same time less so: without the preview the page (without images) is 8106 bytes (8 kb). With the preview, the page is 14,323 bytes (14 kb). Maybe because we use gzip compression, no one has so far complained about the page loading slower. But it is a point to think about if you are trying to cut down on bandwidth. I might suggest, though, that those users who connect with modems should edit their own options to include less topics per page. If they are on a particularly slow connection, they ought to go for 10 topics per page. |
#13
|
|||
|
|||
Lionel:
I didn't write that hack so you would have to ask the author about doing that. Good idea though. Tommy Boy: If you want to make this an option to use on your board click on the below .zip file and follow the instructions. The default is set to off so if a member wants to use it they will have to turn it on. Also, if you know how to change the tables around alter the preview add on to the thread table, that you just made, from 500 to 250 and change it from medium text to varchar(250) then change the 500 count in the .php files you just changed to 250. Bira: Look this new .zip over and if you see anything that needs changing let me know. Thanks. Parker |
#14
|
||||
|
||||
Parker I downloaded it and had a look. What is fundementally missing, is the code that is needed to be added to the user's Edit Options template
Likewise, you might want to expand it and add the same thing to user.php for the Admin CP user page. Otherwise it looks good (though I've not tried it yet) :up: |
#15
|
|||
|
|||
Doh!
I guess that would be necessary eh? In your modifyoptions template you need to look for $maxpostsoptions </select></smallfont></td> </tr> and just below this add: <tr> <td bgcolor="yourcolorhere"><normalfont><b>Thread Preview Option On?</b></normalfont><br> <smallfont>Selecting yes will allow you to preview the first post in a thread by putting your mouse pointer on the thread title.</smallfont></td> <td bgcolor="yourcolorhere"><normalfont> <input type="radio" name="threadpreview" value="yes" $threadpreviewchecked> yes <input type="radio" name="threadpreview" value="no" $threadpreviewnotchecked> no </normalfont></td> </tr> I will work on the Admin CP bit. Thanks, Parker |
#16
|
||||
|
||||
Great hack ... I love it. Thanks Parker. Bira, thank you for that update_preview. I was wondering why an existing link didn't show a preview waahoooo .
|
#17
|
||||
|
||||
This is so great!
One (stupid) question - should I now delete the threadpreview.php file? |
#18
|
||||
|
||||
[QUOTE]Originally posted by Sadie Frost
One (stupid) question - should I now delete the threadpreview.php file? |
#19
|
||||
|
||||
Thank you! Just didn't want to totally screw it up after I got it working lol
|
#20
|
|||
|
|||
Sadie:
Yeah, you can delete the previewthread.php and the previewthreadoptions.php files as they just make the mods to the database. Thanks for the kudos guys and gals and I appreciate the fact that your members get something out of it. I know ours do. Thank God there are people around here that know what they are doing though as the first version of this that I wrote was a real resource hog. This version works well on our board with over 22,000 registered and 6 million page views a month. Parker |
#21
|
|||
|
|||
great work guys!!!
Now, could one of you outline the steps one more time just to be sure users dont screw things up? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|