vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Rank Ordering (https://vborg.vbsupport.ru/showthread.php?t=319659)

MarkFL 05-21-2017 06:06 PM

Quote:

Originally Posted by Snowhog (Post 2586761)
If one removes the uninstall code, how then does one uninstall the product? :confused:

A product can still be uninstalled, it's just that when you remove the uninstall code, then that code won't be executed when you uninstall the product.

In this case, we primarily don't want the database to have the added columns removed, this way the rank orders previously defined will remain intact.

Snowhog 05-21-2017 06:10 PM

Ah. Okay. That's sensible. Thank you.

This information will be handy when we update to vBulletin 4.2.5.

MarkFL 05-21-2017 06:17 PM

Quote:

Originally Posted by Snowhog (Post 2586763)
Ah. Okay. That's sensible. Thank you.

This information will be handy when we update to vBulletin 4.2.5.

I've added the steps to follow when upgrading vB to the product description to make it easier to find. :)

alcazarx 05-24-2017 06:30 PM

Nice Addon, but works only if you havent renamed the admin-dir.
Else you have to adjust the *.xml to make it work (like we did) :cool:

MarkFL 05-25-2017 12:14 AM

Update - Version 1.2
  • Reads path to admin control panel folder from config.php.

Note: If you have not renamed your "admincp" folder, then you don't need to update to v. 1.2. If you edited the v. 1.1 .XML file to use your renamed "admincp" folder, then you also don't need to upgrade to v. 1.2. If you do decide to upgrade to v. 1.2 anyway, then you need to uninstall v. 1.1 first. If you wish to keep the rank ordering you've already defined, then you need to edit the product's uninstall code to remove the following db query:

PHP Code:

// Remove "rankorder" column from "ranks" table

$vbulletin->db->hide_errors();
$vbulletin->db->query_write("
    ALTER TABLE`" 
TABLE_PREFIX "ranks`
        DROP COLUMN rankorder
"
); 


AwesomeShark305 02-16-2019 08:22 AM

Is their a way to get an updated version for Vbulletin 5.5.0

MarkFL 02-16-2019 04:18 PM

Quote:

Originally Posted by AwesomeShark305 (Post 2598499)
Is their a way to get an updated version for Vbulletin 5.5.0

Not unless someone ports it to that version. :)


All times are GMT. The time now is 05:55 PM.

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.01154 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
  • (1)bbcode_php_printable
  • (3)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
  • (7)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