The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Hello, all of this seems really helpful, and gets me close to what I'd like, which is:
Choose certain forums (not all) to be displayed by the time/date of initial post of each thread. In other words, once threads are posted, there isn't a way to bump them to the top. They just stay in the order they are posted. Could anyone help with the coding for this? Needed for about 5 forums out of the total (though it seems easy to add or subtract addl. forums as needed). |
#22
|
|||
|
|||
This is almost perfect for what we need...
My question...how to make if($foruminfo[forumid]==1) apply to a range of forum id's? So that a few different sections can be sorted alphabetically. Gary |
#23
|
||||
|
||||
if(in_array($foruminfo['forumid'], array(a,x,y,...,z)))
|
#24
|
||||
|
||||
Ok, this is really messed up. I thought I had it until someone tried going to page 2. I have thread started for each state and want them to appear in alphabetical order. This is what I have, which (I think) should be right...
Quote:
Any ideas? |
#25
|
||||
|
||||
Anyone?
|
#26
|
|||
|
|||
Quote:
|
#27
|
||||
|
||||
Nice mod. Thank you, I found it very useful for a new section I am opening on my forum!
Chris |
#28
|
||||
|
||||
Hi again, a follow up question if anyone is checking this...
I used this but ran into the problem that if the threads flowed over to a 2nd page, the order would start over again, repeating the threads from the 1st page. Anyway I tried Chens version (http://www.vbulletin.com/forum/showt...015#post621015) and got that working but I was wondering if it is possible to change the "Last Thread - Next Thread" links to go the next/last thread alphabetically rather than by post ID? I am using vB 2.3.2 and the forums that I have the alpha sort applied to are using a seperate style template so if its a template change it wont impact the rest of my forum. Or should I create a new request rather than adding to this thread? Thanks! Chris |
#29
|
|||
|
|||
Ok guys, i beleive i have this one sorted..
What happens is with your present setup the sort order is passed onto the next page link.. With Xenons hack it overides the default. Here is my "hack" which should make it work. However, it doesnt fix an issue with teh sort arrow being rendered useless on the first click (you need to click it twice for the order to change) Heres my code: PHP Code:
Fixed the sorting arrow issues - find: PHP Code:
PHP Code:
|
#30
|
|||
|
|||
I'm now running VB 3.5.
I tried the following which does not change the display. What am I doing wrong? default: $handled = false; ($hook = vBulletinHook::fetch_hook('forumdisplay_sort')) ? eval($hook) : false; if (!$handled) { $sqlsortfield = 'lastpost'; $sortfield='title'; Thanks Bernie |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|