The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Social Groups messages
Right now they're in an order, where it shows older messages at front and newer messages at the end.
Can I reverse the order, if so, how? So that newer messages are shown in front, just like in 3.7 version of vBulletin. ------ I asked the same question on vBulletin.com, and was told to do the following: Quote:
So can anyone here be kind enough to guide me as to how can I create this plugin? Thank you in advance. --------------- Added [DATE]1242729442[/DATE] at [TIME]1242729442[/TIME] --------------- Folks, it's very important that I set this setting right, it's irking my users a lot. So please, can someone guide me on how it can be done? |
#2
|
||||
|
||||
hook location: group_view_message_query
PHP Code:
|
#3
|
|||
|
|||
Can you please tell me as to where can I find this particular hook?
|
#4
|
||||
|
||||
If you don't understand the plugin system, you should read this in the manual - Plugin System
|
#5
|
|||
|
|||
Thank you. Now it does show new messages on the first page. But there is one little problem. As soon as one posts a new message, he's taken to the start of the discussion (first page in this instance). How can I correct that? So that the user is taken to the page, where he's updated the message (end of discussion).
|
#6
|
||||
|
||||
I would guess you would have to do something regarding the redirect. Look at the groups.php page and see where that is being done.
Actually, I just tested this and see a problem with the messages getting 'reposted' - I think you'll have to do a similar plugin as above to the ajax posting template. Again, take a look at the code to see what is going on. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|