![]() |
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:
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. |
Quote:
Quote:
|
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? |
Quote:
PHP Code:
|
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? |
Try vpcarrocci's method...:)
|
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. |
Quote:
|
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? |
Quote:
|
Nothing in config.php that would suppress error logging.
grep error config.php returns: Code:
| If you get any errors while attempting to connect to | |
Should this be? Two versions of the Install code? Version 1.0 appears complete. Version 1.1 is only a fragment. Not even sure where version 1.1 came from.
https://vborg.vbsupport.ru/external/2017/02/12.png |
Quote:
After I initially released version 1.0, I realized I missed a file edit, so the install code for version 1.1 catches that missing edit. |
Thank you.
I have verified that folder and file permissions on the server are correct (didn't really think they weren't, but...) The only thing I can come up with as to why this MOD isn't getting installed is either, the php commands are not correct (for our installation), or the relative path to the two files isn't correct. I find both possibilities rather unlikely given the author. ;) I can provide you with my SSH login credentials via separate PMs if you are still inclined to go in and look around. I would like to get this problem resolved so the MOD can actually get installed. |
Working well with 4.2.5 Beta 1 + PHP 7.0
Did an edit+replace on the xml file for my custom admincp, otherwise no issues. |
I wish that were true here. Still waiting for MarkFL to ascertain why it won't install on our Forum.
|
The first part of the .xml instructions was executed properly.
Code:
$vbulletin->db->hide_errors(); https://vborg.vbsupport.ru/external/2017/02/6.png But the remaining code isn't being executed, or is failing, as the two files: ranks.php and functions_ranks.php; are not being backed up or modified. This leaves me to believe that the (php ?) commands aren't correct (for us), or the permissions on the folders and/or .php files are wrong. The folders containing ranks.php and functions_ranks.php are set with permissions 755 (rwxr-xr-x) and the .php files are set with permissions 644. I'm 99.999% confident that these are correct. MarkFL@ I understand that you are quite busy at the moment, so I am more than willing to try and debug this installation issue on my own. When the .xml file is executed, is it PHP that is running the code? |
Hey Paul,
The only things I can think of that would prevent the files from being altered is either the folder permissions aren't correct, or the files are not located where they need to be. I have installed this product a multitude of times on many sites and never had any issues. However, none of these sites had the "admincp" folder renamed. The install code is PHP, and I have used it on sites running PHP 5.2.x - 7.x. :) Just to double check, before you install:
|
Yes, I did that previously, but I'll repeat it again, making sure that the permissions on the created folder and the file put in it are as stated. I'll also ensure that the other file; functions_ranks.php has the indicated permissions.
I'll report back on the results. |
I'm sad to report that there was no success here. This is the first MOD that has failed to install on our Forum. :(
I verified the permissions on the created admincp folder, as well as the copy of ranks.php that was put in to it. I verified that the permissions on functions_ranks.php in the includes folder had the right permissions. The MOD simply doesn't get installed. Neither of the .php files gets backed up, and they don't get modified. The database does get the added field, and when I run the uninstall on the MOD, the database is updated to remove the added field. Everything else in the .xml doesn't work for me. I'm still wondering if it's our version of PHP that is the issue. Code:
php -v Quote:
When I start up PHP interactively (php -a) and execute: $file = file_get_contents('./admincp/ranks.php', FILE_USE_INCLUDE_PATH); I don't get any error message, but the contents of the $file variable doesn't appear to contain anything. When I execute: echo $file or print $file I only get the php prompt. I won't ask you to spend any more time on this; unless you want to. I'm not going to try and manually modify the two files, as I don't have the knowledge to properly understand what the .xml is saying with regards how the two .php files are changed, and I don't want to make a mess of things. |
Well, if you want, I can send you via email my modified copies of those two files. You can rename your existing files, and then upload them to your server. If you want to try that, send me your email address via PM. :)
|
Thank you. The two modified files you sent me work. :D
I created backup copies of both and replaced the originals with your copies. Reinstalled the MOD; verified that the new field was added to the ranks database (it was); fired up User Rank Manager. https://vborg.vbsupport.ru/external/2017/02/4.png |
Good deal! :up:
|
4.2.5 Does not seem to work
When you go to your "User Rank Manager" you will see a new field titled "Rank Order" associated with each defined rank: No list is displayed |
Quote:
Have you defined any user ranks yet? |
I guess I didn't look closely enough.
With the two modified files you sent me, the User Rank Manager does reflect the ordering I specified, but when I look at a members profile page, the ordering isn't being reflected. https://vborg.vbsupport.ru/external/2017/03/22.png The Rank Order is shown by the red numbers in the image. The ordering should be 0, 2, 12, 13. What do I look for to figure out why the ordering isn't being respected? |
I don't know...I've never had any issue whatsoever with this product on many sites on which I've installed it. I'd have to come to your site to investigate what's not set up correctly. But it would be a while before I could get to it...I am absolutely slammed at the moment.
|
I'd appreciate that. I understand if it takes you awhile.
In the past; several years ago; I did make modifications to cetain templates to adjust where in postbit (I believe that's correct) the rank images appeared. Would that affect your MOD, and if 'possibly', which template should I look in? |
As far as know the order shouldn't be affected by where they are displayed. Do they display in the desired order in the postbits?
|
No.
|
Quote:
|
No, it's not. The rank images aren't "ordered" anywhere that they are displayed.
|
Quote:
|
Okay, it turns out the issue was minor...what needed to be done was to run the update on user titles and ranks. :)
|
Thank you. And it's the simple things that often are the most complicated! ;)
|
Quote:
It's a shame that information/link is expertly hidden right at the top of the "User Rank Manager" page. :eek::p |
Is it possible to make it work with vB 4.2.5, it stopped working after I did an upgrade.
Thanks! |
Quote:
What you need to do is as follows: First, delete the files "/includes/functions_ranks_orig.php" and "admincp/ranks_orig.php". Next, edit the "Rank Ordering" product to remove the uninstall code completely and save it. Then, uninstall the product. Lastly, reinstall the product, and the new PHP files will be backed up and then edited, and you'll be back in business. :) |
Quote:
Thank you :up: |
Quote:
|
All times are GMT. The time now is 06:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|