The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Collapsable Postbit Info Details »» | |||||||||||||||||||||||||
This hack was originally released by Steve St.Lauren for vb3.0.x in this thread -
https://vborg.vbsupport.ru/showthread.php?t=68043 This is a port of that hack and ALL credit goes to Steve for this modification. Basically, what this hack does is it takes all the extra user info like join date, location, age, posts etc and slaps them into a table that can be collapsed or expanded. If you collapse it, it'll store that setting in your cookies and all user infos will be collapsed fro then on til you expand it again Your selection WILL carry over to private messages as well Please click da instally thinga magigy O and you won't have to clear any cookies for this to work, or for it to remember your settings. For the vbulletin 3.5 version of this mod Click here! Things To Do: 1. Edit /clientscript/vbulletin_global.js (1 modification) 2. Import new product xml 3. Edit postbit_legacy template 4. Edit postbit template Updates:
Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
|||
|
|||
Good job!
|
#13
|
|||
|
|||
TTG does firefox still use plugins? If so, please try to disable some of them and determine if one is causing the issue. As smoothie is not experiencing any errors.
Quote:
Yes you can apply the code to collapse and expand in more then one location. (though you'll need to change some of the template code after userinfo_) the issue you'll have those is that collapsing the additional info, will also collapse the ishop inventory and expanding it will expand all. Now you could add the inventory into the same table as the additional info. And then collapsing the additional info will hide the inventory as well. That would be the better of the two options. Though I donot use ishop so I'm unfamiliar with the layout. |
#14
|
||||
|
||||
Quote:
You can see it in my forum. Link in my signature. |
#15
|
||||
|
||||
is there a way to save you the queries on the pages? til somoeone actually presses it?
|
#16
|
|||
|
|||
Just to clarify - This mod itself does not add any queries
But to answer MissKalunji's question about saving the queries that vbulletin does for the user's info... Hypothetically you could do it using ajax. I don't know enough about ajax to attempt to code something like that yet. Stress yet Ajax is on my list of code structures to study Without using some ajax type code that would run a query without refreshing the page, there would be no way to save the queries without forcing the user to refresh the entire page when uncollapsing a user's info. |
#17
|
||||
|
||||
Great hack, thanks for sharing!
I'd love to see something like this for signatures! Make it so that it wasn't global (ie: let users collapse some sigs but not all sigs) and it'd be awesome... |
#18
|
||||
|
||||
Quote:
not sure if you get what im saying |
#19
|
|||
|
|||
I understand what you mean
Unfortunately, in order to fill out the information on that template, you'd have to query the database. You can do that one of three ways 1) query the page as it first loads (like it does now) 2) refresh the page and requery (possible, but would cause some stall as the page reloads) 3) use ajax to query and refresh that section of the page without refreshing the whole page (optimal) That is a great idea that you have and one I will definately try to implement in the future. I just don't know enough yet about AJAX to do it But yes, using ajax, everything would be stuffed into a separate template, and when a user uncollapses it, it would run the queries and load the template. |
#20
|
||||
|
||||
ok cool wasnt sure if that was possible thanks
|
#21
|
|||
|
|||
Thanks a lot, I also used this along with the iShop which works great. Also, is it possible to make it so that when you expand it, only the one you selected is expanded rather than everyone's else. Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|