Previous Thread
Next Thread
Print Thread
Hop To
Page 1 of 2 1 2
Joined: Jan 2012
Posts: 95
journeyman
journeyman
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
journeyman
journeyman
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
journeyman
journeyman
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 6:38 PM.

Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jan 2012
Posts: 95
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116


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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
journeyman
journeyman
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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, 57 downloads)


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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
journeyman
journeyman
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
journeyman
journeyman
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
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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, 223 downloads)
file renamed to *.txt


Life is Good on Bremer Pond

Bremer Pond Weather
Joined: Jan 2012
Posts: 95
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
journeyman
journeyman
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
Page 1 of 2 1 2

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 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.0
(Preview build 20230217)