vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Advanced Forum Properties part 2 (https://vborg.vbsupport.ru/showthread.php?t=34556)

X-Fan 12-23-2002 04:40 AM

Quote:

Originally posted by Hoffi
If you installed all Correctly, it must work. So please take a look, if you changed all correctly, and upload your files again.

I think you forgot some Code in forumdisplay.php

I'm having a similar problem on v2.2.8 - it's only sorting by descending, not ascending even though I've got the sort order set to ascending. And I've triple-checked the code, and it's all been added/changed correctly.

Help!

kevinnguyen 06-01-2003 12:11 AM

Quote:

02-08-02 at 11:18 PM LangTuDaTinh said this in Post #15
I did install as you said and but it seems that ascending doesn't work. it always display in descending order. (note i changed to ASC in my forum properties) pls tell me what should i need to fix.
i got the same prob on 2.3.0 *sigh*
i was looking for this hack

kevinnguyen 06-01-2003 10:25 PM

nevermind
fixed the problem

X-Fan 06-02-2003 12:41 AM

How'd you fix it?

kevinnguyen 06-02-2003 12:46 AM

somehow the code doesnt accept the capital letters (ASC, DESC) so i replaced them w/ (asc, desc)

in admin/forum.php
Find:
Code:

makecustomchoosercode ("Default sort order","sortdefault","ASC,DESC");
Change it to:
Code:

makecustomchoosercode ("Default sort order","sortdefault","asc,desc");
Find:
Code:

makecustomchoosercode ("Default sort order","sortdefault","ASC,DESC",$forum[sortdefault]);
Replace w/:
Code:

makecustomchoosercode ("Default sort order","sortdefault","asc,desc",$forum[sortdefault]);
It should work fine now

X-Fan 06-02-2003 12:54 AM

You mean admin/forum.php ;)

kevinnguyen 06-02-2003 12:55 AM

yeah, sorry :D

noonespecial 04-06-2004 01:19 AM

Quote:

Originally Posted by kevinnguyen
yeah, sorry :D

this is NEEDED for vb3

Hoffi 06-16-2004 10:32 AM

Quote:

Originally Posted by noonespecial
this is NEEDED for vb3

Indeed. I will be build it next time.


All times are GMT. The time now is 09:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01085 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete