The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
In 3.8, the latest social group posts are moved to the end and users have to click and scoll to the end. Is there a way to reverse this order and have the latest posts show up on top? Or make it work like regular forum where you get directed to the latest post? Thanks
|
#2
|
||||
|
||||
![]()
Have you tried looking at the code and changing the order there? I have not seen any option in the user cp to change it.
|
#3
|
|||
|
|||
![]()
I have had a few requests to do that as well.
The problem is that if there are enough posts since you read it, you'd have to go a page forward, read the new stuff, then come back to read the most recent. There is no 'go to first new post' link, and I don't think that functionality is part of the code yet. |
#4
|
|||
|
|||
![]()
I really need this changed as well - which php file is used so that I can go check ?
|
#5
|
||||
|
||||
![]()
Go to the page that you want to change and look at the url and the do=xxx request and then look at that page in the do=xxx area.
|
#6
|
|||
|
|||
![]() Quote:
![]() |
#7
|
||||
|
||||
![]()
You are talking about when you view a discussion, right? If so, it says do=discuss in the url. So, go to that part of the code where it says "if ($_REQUEST['do'] == 'discuss')" which is around line 2139. Reading that code leads you to "vB_Group_Collection_Factory" which leads you to includes/class_groupmessage.php which leads you to a query around lines 1062 and after. There is an ORDER BY in the query and it looks like there is a hook right above there. So, I'd play with that.
(Note, this was a quick one minute search that I didn't put much effort into. I think that is the right one, but I could be wrong. But, just follow the code...) |
#8
|
|||
|
|||
![]()
Ok Folks, Here's the solution I found
In group.php, look for // Create message collection $collection_factory =& new vB_Group_Collection_Factory($vbulletin, $group); $collection = $collection_factory->create('message', $discussion['discussionid'], $vbulletin->GPC['pagenumber'], $perpage, false); Change "false" to 'true' and you'll have your messages in reverse order. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|