The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
#### Subject Preview by DR2000 ####
I looked at all other hack avaliable for this, and all of them are trying to do too much by editing your database structure, and modifying the way data is inserted. Why overcomplicate things, when all data is already there, and it only needs to be extracted... #### DEMO #### To see this hack in action take a look at http://forum.4adrive.com #### FEATURES #### - Shows the subject of the last active post on the front page - Shows the icon of the last active post on the front page - No need to alter database, and risk to screwing something up - Only one file to change - If the subject was very long, shows trunkated version of it, and replaces the rest with '...', preventing your main page layout from being screwed up. #### #### #### Nov 14, 2001 #### #### #### Note: Tested with 2.0.3, 2.2.0 and 2.2.1. Show Your Support
|
Comments |
#62
|
|||
|
|||
Because I don't want it on the right.. I had a code that I did the html to before and it worked but now with 2.2.1 that code no longer works or atleast is more of a hog. Could you make the code for me since some are not as proficient as others..
|
#63
|
|||
|
|||
Is there a way to add this hack but keep the Last Post icon instead of replacing it with the post icon selected by the author? I ask this because I don't want to have a blank space if there is no post icon selected. So basically what I'm asking is...is there a hack that enables you to just show the latest thread name, but not replace the Last Post icon? I'll go look in the text file and see if I can tweak it around a little bit.
|
#64
|
|||
|
|||
Well I fixed my problem with the hack, but now I need to know:
If I can get this hack to display the icon put up by this one. https://vborg.vbsupport.ru/showthrea...threadid=19739? Thanks! |
#65
|
||||
|
||||
Guys, look at the code. It really isn't hard to figure out.
See where it says /some_path/clear.gif? Just replace that with any other image url, and that's it. For example, vbulletin substitues icon1 when you enable an option. So you can change clear.gif to that icon1.gif. I think that's a lot of hint. If you guys don't figure it out, ask again, I'll help you out. P.S. See, I'm teaching you how to mess with other people's code too, so later on you'll be creating your own hacks. |
#66
|
|||
|
|||
Thanks very kindly sir, what I ended up doing was create my own custom image 15x15pix then have the code substitute that whenever there is no icon. In postbit I added a clear to each side of where the icon would be and also justified that cell to the left. So now it's a clean look with space enough for titles and icons. Lookin sharp!
Also my problem before was I changed one of the numbers in the code to like 15 and the other was 23, if you change the amount of characters shown make sure to change both to the same. Thanks for all your help DR2000! sweet hack! |
#67
|
|||
|
|||
Whenever I make the lastpost icon the default image instead of clear.gif, it keeps making the image with a black bar on the right and bottom sides of the image...like the size isn't right. I tooled around with it earlier to no avail.
|
#68
|
||||
|
||||
That's because the image is 14 x 14, not 15 x 15, but looks like you already figured that one out.
|
#69
|
|||
|
|||
Sorry I should have made that more clear I used the to make my custom clear image..
|
#70
|
||||
|
||||
DR2000, xware showed some posts before how u can display subforums aswell on the main page. That code will slow the database because of the many extra querys. Do you know a other way, that dont affect the database that much, that will work?
|
#71
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|