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)

Snowhog 02-05-2017 05:35 PM

Running vBulletin 4.2.3 Patch Level 2.

Installed just now, but there is no rankorder column when I go into User Rank Manager.

Quote:

Purpose

This product will...edit your "/admincp/ranks.php" and "/includes/functions_ranks.php" files...
Our installation doesn't have directory /admincp; we have /admincontrolpanel instead, so ranks.php hasn't been modified. File /includes/functions_ranks.php wasn't modified either.

Thoughts? Suggestions?

Added:
Just read post#35. Edited the .xml to replace admincp with admincontrolpanel and reloaded. Same result; no rankorder column and the two files remain unchanged.

MarkFL 02-05-2017 05:40 PM

Quote:

Originally Posted by Snowhog (Post 2581888)
Running vBulletin 4.2.3 Patch Level 2.

Installed just now, but there is no rankorder column when I go into User Rank Manager.

Our installation doesn't have directory /admincp; we have /admincontrolpanel instead, so ranks.php hasn't been modified. File /includes/functions_ranks.php wasn't modified either.

Thoughts? Suggestions?

Try doing what this user did:

Quote:

Originally Posted by vpcarrocci (Post 2581834)
Installed!

It didn't work on the first install but I quickly figured out that it was due to the fact that I had changed the name of the my "admincp" folder. I uninstalled the plug-in and created a new empty folder that I titled as "admincp" and uploaded the rank.php file into it. I then installed the plug-in again, moved the two files from the "admincp" folder into my renamed admincp folder and everything is working just as advertised. I also deleted the dummy admincp folder.

Thanks for the cool plug-in!

Or, you might get away with just uninstalling the product, then rename "/admincontrolpanel" to "/admincp", then install the product, and once you verify it works, rename the folder "/admincp" back to "/admincontrolpanel". :)

Snowhog 02-05-2017 05:56 PM

Tried uninstalling the MOD first, and then reloading it. Same results.

I can't just rename the /admincontrolpanel to /admincp as doing so results in my not being able to access the AdminCP. I had renamed this folder several years ago for security reasons.

Where in vBulletin is the folder name for admincp set?

MarkFL 02-05-2017 06:04 PM

Quote:

Originally Posted by Snowhog (Post 2581893)
Tried uninstalling the MOD first, and then reloading it. Same results.

I can't just rename the /admincontrolpanel to /admincp as doing so results in my not being able to access the AdminCP. I had renamed this folder several years ago for security reasons.

Where in vBulletin is the folder name for admincp set?

In the file "includes/config.php" look for the line:

PHP Code:

    //    ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ****** 

and change them there as well...sorry for leaving out that step, perhaps this is why vpcarrocci used the "dummy folder" method instead. ;)

Snowhog 02-05-2017 06:32 PM

That file exists in two locations; our server forum root as well as /includes.

I edited both files are replaced admincontrolpanel with admincp. Renamed the /admincontrolpanel folder to /admincp.

When I attempt to load the AdminCP it fails with:

The requested URL /admincontrolpanel/index.php was not found on this server.

I've reset both files and renamed the folder back so that at least getting into the AdminCP still works.

Is this likely just a browser cache problem?

MarkFL 02-05-2017 07:13 PM

Try vpcarrocci's method...:)

Snowhog 02-05-2017 07:41 PM

Duplicating exactly what post #40 did also doesn't work here.

The ranks.php file in the created /admincp folder remains unchanged and the second file: ranks_orig.php; doesn't exist/wasn't created.

The same is true of the /includes/functions.php file. It remains unchanged and the second file: functions_orig.php doesn exist/wasn't created.

Installing the MOD didn't present any errors of any kind.

MarkFL 02-06-2017 07:14 AM

Quote:

Originally Posted by Snowhog (Post 2581904)
Duplicating exactly what post #40 did also doesn't work here.

The ranks.php file in the created /admincp folder remains unchanged and the second file: ranks_orig.php; doesn't exist/wasn't created.

The same is true of the /includes/functions.php file. It remains unchanged and the second file: functions_orig.php doesn exist/wasn't created.

Installing the MOD didn't present any errors of any kind.

Send the login credentials to an admin account with FTP access to me by PM, and I will try to resolve the issue. :)

Snowhog 02-06-2017 06:54 PM

I'll do that if it really becomes necessary.

As neither the source files are being changed; date/time stamp isn't changing; and the backup files aren't being created, I thought maybe it's a permission issue, like it was with the other MOD I mucked with.

Both directories; admincontrolpanel and inlcudes; have permissions of 755. The contents of both directories have permissions of 644. I changed the directories to 775 and the two individual .php files to 775 and reran the installation .xml file. Still didn't get any error notifications, but the result was the same; no backup files created and the original files remained untouched.

Permissions on the directories and the two files have been reset back to what they were.

Is there a way to capture what's going on when the .xml file is run to a log file we can then examine?

MarkFL 02-06-2017 06:59 PM

Quote:

Originally Posted by Snowhog (Post 2581962)
I'll do that if it really becomes necessary.

As neither the source files are being changed; date/time stamp isn't changing; and the backup files aren't being created, I thought maybe it's a permission issue, like it was with the other MOD I mucked with.

Both directories; admincontrolpanel and inlcudes; have permissions of 755. The contents of both directories have permissions of 644. I changed the directories to 775 and the two individual .php files to 775 and reran the installation .xml file. Still didn't get any error notifications, but the result was the same; no backup files created and the original files remained untouched.

Permissions on the directories and the two files have been reset back to what they were.

Is there a way to capture what's going on when the .xml file is run to a log file we can then examine?

If you have errors and/or warnings being suppressed by your config.php file, try turning that off (just comment that out) when you run the install. When done, then uncomment those lines.


All times are GMT. The time now is 08:55 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.01295 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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