vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Reverse post order (https://vborg.vbsupport.ru/showthread.php?t=316804)

fdhealy4 01-20-2015 10:39 PM

Reverse post order
 
I'm sure this has been asked before but I can't make heads or tails searching for an answer.

Is there a way to reverse the order of posts (newest on top) for an entire sub-forum?

Thanks,

Dale

Lynne 01-20-2015 11:35 PM

Maintenance > Execute SQL Query > Posts - Newest First > Continue. That changes it for existing users. For new users change the post over in AdminCP > Settings > Options > Registration Options > Defaults

fdhealy4 01-21-2015 12:29 AM

Hi Lynne,

When I clicked the "Execute SQL Query" button it told me I was "not authorized" - Why would that be, I am the administrator.

Dale

ozzy47 01-21-2015 12:35 AM

You need to add your userid in the includes/config.php file to be able to run queries.

PHP Code:

    //    ****** USERS WITH QUERY RUNNING PERMISSIONS ******
    //    The users specified here will be allowed to run queries from the control panel.
    //    See the above entries for more information on the format.
    //    Please note that the ability to run queries is quite powerful. You may wish
    //    to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '1'


fdhealy4 01-21-2015 12:59 AM

Hi again,

I'm new to all this. Where, or how, do I find the "includes/config.php" file? I searched the host cp files with no luck and I don't see anything in the V BB control panel to access files.

Help!!!

Dale

ozzy47 01-21-2015 01:02 AM

includes is the folder to look for, then inside that folder find the file, config.php via your FTP or cpanel

Then edit it, and save it back.

Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

fdhealy4 01-21-2015 02:26 AM

I don't see a "solved" button but consider this issue closed.

Thanks Everyone

Dale

ozzy47 01-21-2015 02:49 AM

Glad to hear it is all sorted now, thanks for reporting back. :)


All times are GMT. The time now is 07:07 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.01621 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete