Previous Thread
Next Thread
Print Thread
Hop To
Page 2 of 2 1 2
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I want to give global moderators and moderators the ability to use the registration queue to approve or not new members. I have set their CP permissions for “Can Edit Users” to 1 in CP permissions and enabled the registration queue.

They can’t get to the Registration Queue. I assume that I am missing a step?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
I believe you need to go back to that page and set a 1 to
Has full access to the control panel

It is kind of a misnomer. Because at first it appears that they have full access but they really don't. They have a lot of access but can't do changes like change the super admin and there are some items they can't access at all.

Also that opens one or two options in their mystuff edit preferences at the bottom of the page.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I did as you said, but the Mods/Gmods still can't see the registration queue. Is there one more thing?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
Currently the sites I look at don't have anything in the registration queue so I can't double check for you.
Most sites use email verification.
For now pick one moderator you really trust and make them a admin and see if they can see it.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
I'm pretty sure it is admin only, Ruben. I'll go check.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
We are using email verification and also have three specific questions that new users have to answer when they register.

Since spammers are still getting in we want to enable the registration queue to approve or dis-approve new members to proactively keep spammers out.

Yes, administrator permissions allow doing what needs to be done in the registration queue.

We don't want our Mods or Gmods to have administrator permissions.



Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
I have a test account with global moderator permissions. Normally, I do not give global moderators, or anyone else, CP permissions. I tried it just now. It can't "see" the registration queue, no matter what settings I change.

In the future, I think it makes sense that we should be able to add registration approval permissions to specific groups, without giving them administrator authority.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
By the way, and I know that I've beaten this to death, Gizmo's Stop Forum Spam mod works wonders for keeping the spammers from registering. I have not been spammed since adding it many months ago.

An average month for me is about 350 new registrations.

Last edited by SteveS; 05/31/2012 5:38 PM.

Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Originally Posted by SteveS
By the way, and I know that I've beaten this to death, Gizmo's Stop Forum Spam mod works wonders for keeping the spammers from registering. I have not been spammed since adding it many months ago.

An average month for me is about 350 new registrations.


Can you point me to it? I need a good beating......


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
I took a quick peek.
It appears that the stock code has admins only for the queue.



Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Thanks!

I signed up on stopforumspam.com and ubbdev.com. I have my API key and am currently waiting to be approved on ubbdev.com


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
Actually the approval would come from stopforumspam not ubbdev.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
For some reason AA has UBBDev set to have the registration queue on and no one is monitoring registrations...

Looks like I need to setup a download system on My Homepage and start hosting my own downloads... When time permits anyway.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
OK,

I added my API key into both of the language files.
I backed up the 6 files that need modifications.
I made the modifications.
I double checked the modifications.

Can I just copy the modified files to the server or do I need to shutdown the forum first?

Is there anything else I am missing?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
My 2 cents.
I would close your board first before any mods or updates.
As a admin you can still access the board while it is closed and test all is okay.

Just good practice to do so.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I just upload the files; I live dangerously...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I get the following error when I click on Edit user:

Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/www/pondboss/forums/templates/default/admin/showuser.tmpl on line 6

I attached the modified files.
Attachments
Modified Files.zip (28.52 KB, 58 downloads)


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I think that error is due to the stop forum spam mod; either it's not installed correctly or their system is down


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Yes, that is the problem.

I have installed the files several times and then reverted to the backups of the original files when the error occurred.

I have checked and double checked the changes, but still no go. That is why I attached the files.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I looked on ubbdev and found a thread where a person was getting this same error. In that case it was an older version of PHP so I am going to check that.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Figures.... our server is on 4.4.1


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I still want to give global moderators and moderators the ability to use the registration queue to approve or not new members. Lately there has been an onslaught of spammers that are bypassing stopforumspam blocking. Has there been any change in whether or not this can be done?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I'm pretty sure there is a check in the member queue which specifically blocks moderators from accessing it; you'd have to recode that portion of the control panel to allow them in.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Stop forum spam. And Manually reviewing registrations is the only way that works well for me.

Allow access to control panel and edit users.

Seem to be the only settings i can see for control panel access.

Edit Users = They can delete them too, if i can remember.

That Cp panel trust is a big one.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Yeah, it's only edit users and full access; if you hack at the member management files you can spot where Rick blocked moderators in the code. I'm not sure if this chunk of loveliness is in 7.6.0, I'll have to take a look later.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Ok, this is completely untested, in /admin/doapproveusers.php find:
Code
define('MODERATORS',0);

And change it to:
Code
define('MODERATORS',1);

And see if it'll let your moderators edit the queue.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I am not a programmer, but that looks simple enough to try.

What exactly are the steps to do that?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
FTP to your site, download file, open in notepad, find line, change value, save file, upload file, have moderator check if they can use the system.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
It is always a good idea to have a second account on your board that you use for testing and such as to where you can change that account privies any time to what ever is needed for that particular test you're doing or needed tested.

Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Originally Posted by Gizmo
FTP to your site, download file, open in notepad, find line, change value, save file, upload file, have moderator check if they can use the system.

I modified and uploaded the modded file and made sure it was correct on the server. Do I have close and restart the board or a DB? Just copying it in had no apparent effect.

Mods cannot see the Registration Queue only View/Edit Members.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
As long as you uploaded the file back to where it was before (overwriting it) it should just take the change; nothing is cached except for the template files, so nothing should need to be done once the file is written back to the server (not to mention, this isn't a supported change, we're just trying to figure out how to loosen any restrictions).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
If the Mods could see the REG Q maybe then they could make use of this change. smile


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Ok, just went through the files and tested the display on my garden site...

Disclaimer: Below is a code modification to the Control Panel of UBB.threads; code modifications to the stock code will invalidate your license terms for support. Code modifications cannot be supported by the official UBB.threads support personnel, and can only be supported at UBBDev or these User to User forums.
In admin/membermanage.php Find:
Code
if ($user['USER_MEMBERSHIP_LEVEL'] == "Administrator") {
	$tabs = array(
		"{$ubbt_lang['VIEW']}" => "",
		"{$ubbt_lang['REG_QUE']}" => "",
		"{$ubbt_lang['DISP_QUE']}" => "",
		"{$ubbt_lang['BAN_LIST']}" => "",
		"{$ubbt_lang['ADD_USER']}" => "",
	);
} else {
	$tabs = array(
		"{$ubbt_lang['VIEW']}" => "",
	);
}

Replace with:
Code
if ($user['USER_MEMBERSHIP_LEVEL'] == "Administrator") {
	$tabs = array(
		"{$ubbt_lang['VIEW']}" => "",
		"{$ubbt_lang['REG_QUE']}" => "",
		"{$ubbt_lang['DISP_QUE']}" => "",
		"{$ubbt_lang['BAN_LIST']}" => "",
		"{$ubbt_lang['ADD_USER']}" => "",
	);
} elseif(($user['USER_MEMBERSHIP_LEVEL'] == "GlobalModerator") || ($user['USER_MEMBERSHIP_LEVEL'] == "Moderator")) {
	$tabs = array(
		"{$ubbt_lang['VIEW']}" => "",
		"{$ubbt_lang['REG_QUE']}" => "",
	);
} else {
	$tabs = array(
		"{$ubbt_lang['VIEW']}" => "",
	);
}

In templates/default/admin/membermanage.tmpl Find:
Code
UBBTPRINT;

if ($user['USER_MEMBERSHIP_LEVEL'] == "Administrator") {

echo <<<UBBTPRINT

MOVE IT to be Above:
Code
<!-- Start Tab: 2 -->

If you want to remove the admin check completely from the template, the closing bracket for the find line is after:
Code
<!-- End Tab: 4 -->


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I get: "Parse error: syntax error, unexpected T_SL in /home/2/4/1/1026/1026/public_html/forums/templates/default/admin/membermanage.tmpl on line 589"

I attached the file renamed *.txt. I suppose id did something wrong......

Attachments
membermanage.txt (21.4 KB, 240 downloads)
file renamed to *.txt


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I figured out the error of my ways. Thanks for your help. We are testing it and it seems to work fine.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I'm glad you got it situated, was going to say to make sure you got the UBBTPRINT bits as they let you break the template for PHP to process.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Could still need some work as the actual moderators are getting a message about permissions, " "You must have the proper permission to access this area."


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
They will still need to belong to a group with the "can edit users" site permission.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I double checked and both moderators and global moderators have that permission in CP permissions. I don't see it in Site Permissions.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
No, you've got it right, it's in CP Permissions


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
The mod and global mod permissions appear to be set correctly. They can view the Queue and can do everything in there up until they hit the Submit Button. Then:


Control panel message

You must have the proper permission to access this area.

» Return

It appears that there needs to be another permissions setting in CP permissions or the Mod/Gmods need to have that permission granted in the code somewhere. That is way beyond my capabilities though I do have a PHP editor now crazy

Last edited by dbremer; 03/26/2016 9:50 AM. Reason: Added a thought

Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
The processing script probably has a check in it as well, I'll check sometime afternoon.

As for an editor, I use EditPlus.

Last edited by Gizmo; 03/26/2016 2:19 PM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Do you still have this bit installed?
Originally Posted by Gizmo
Ok, this is completely untested, in /admin/doapproveusers.php find:
Code
define('MODERATORS',0);

And change it to:
Code
define('MODERATORS',1);


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I am pretty sure that modification is still there. I'll check tomorrow. Company here today for Easter.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
No rush; the doapproveusers.php bit is the processing script of the registration queue, so it'd make sense if users got the error if it wasn't up.

Enjoy your Easter! smile


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
doapproveusers.php has moderators set to "1" so there must be another permission limitation elsewhere.

Hope you enjoyed your Easter as well!!


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
The user who's testing, are they a Moderator or a Global Moderator? I'm wondering if theres a tick missing for GM vs M; if you could have a standard moderator test it to see if they might be able to get it through (otherwise, there isn't an additional perm that I'm aware of).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
I have a moderator login that I use for testing and it produces the permissions error. All of the real moderators are setup as GlobalModerator and they are getting the same error. Perhaps the "1" is set back to "0" in another permissions check hidden in the code somewhere?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I'm really not sure; I don't see any additional checks in either the script (admin/membermanage.php, admin/doapproveusers.php) files or the template (template/default/admin/membermanage.tmpl). I did a grep of the define line and it only exists in doapproveusers.php and domodpermissions.php.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
domodpermissions.php ? Was I supposed to touch that file?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Originally Posted by dbremer
domodpermissions.php ? Was I supposed to touch that file?
No, this is simply the only other file that has a tick formulated like the one in the file we're touching.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
We are stuck, then?


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
Thinking of stuck could it be a cookie issue on the user side.
Meaning expire cookies and login again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I'd have the user try to log out, then back in and attempt (could be an issue with a value set in their cookie that isn't updated since they're already logged in); other than that, unless code can be adapted and the permission issue located, things can't go any further.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
Clearing cookies was a no go.

View/Edit Members works to perfection. It is only the Registration queue that returns the error.

Does it work on your gardening site? I did sign up there, by the way. I am into gardening too.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I was just using the garden site to build the modification; we have 3 staff members (including myself) and we're all three admin's, so you where the test bed (since you had multiple moderators who could test).

I inherited the site from the former owner of The Garden Helper when he sold their site, I got the community (which was already running on this domain); I need to find people to help submit content, or at very least, troll the forums for content and help add it to the main site, lol.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
You could make me a temp mod or global mod on there for testing. Of course, you don't know really who the heck I am.......


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
We don't have a registration queue enabled, once a user verifies their email then their account, it is created; we rely on Stop Forum Spam only, for spam prevention (heck, it's where the SFS mod was written and tested, it replaced the need for a full admin staff of 8+ users; now we have two staffers other than myself, and they ultimately just work on community development [making new conversations], whereas before they where corralling spammers).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2012
Posts: 95
D
journeyman
journeyman
D Offline
Joined: Jan 2012
Posts: 95
We are still having a lot of spam activity that stopforumspam doesn't intercept. It averages about a dozen per day and all are from verified email addresses that make it through CAPTCHA. That is why the mods in the reg que would be a benefit. We also have them answer questions where they show their colors as spammers.


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
SFS and the Captcha block against automated attacks (bots) and users who've been flagged as spammers (in the case of SFS); a human, however, has the intelligence to be able to find a proxy or the ability to clearly read a captcha and process a registration.

v7.6.0 will attempt to read the data sent with a proxy, including the "forwarded for" variable, which would read out the IP address of an open proxy request; thus showing their actual IP. And at a future point I'll be looking at additional services and captcha options.

I would love to get this "just working" for you, but there is no clear "heres the check" notation for opening it for you since this bit:
Quote
Ok, this is completely untested, in /admin/doapproveusers.php find:
Code
define('MODERATORS',0);

And change it to:
Code
define('MODERATORS',1);


Nothing else in the processing bits (/admin/doapproveusers.php) or the display bits (admin/membermanage.php) display a visible check that one could just remove.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Page 2 of 2 1 2

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, Gizmo), 1,193 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)