Page Index Toggle Pages: 1 ... 12 13 [14] 15 16 ... 18 Send TopicPrint
Very Hot Topic (More than 25 Replies) Registration with admin approval (Read 80271 times)
ccarr
Ex Member


Re: Registration with admin approval
Reply #195 - May 5th, 2007 at 9:58am
Print Post  
Update >>>>>
OK. I managed to restore all relevant files from a week old backup and my site works again for now. I'm still keen to know what the problem is though as I would really like to have this mod installed.
>>>>>


Hi Zoo, Dot-Com or anybody that would be willing to help please.

Installed v1.95

This is certainly a mod that would work well for my board. I thought that I would try this beta mod and as I now have so many existing mods I update the files manually. Up to now I have been pretty successful considering I know almost nothing about perl.

As normal I check to see what files are being overwritten and make a backup of these before adding the mods. I did this and uploaded the files. Created a new user before making any changes to the 'Forum Settings' then tried to delete the user. The user couldn't be deleted. That isn't the main problem though.

When I went into the 'Forum Settings' and selected my options and the pressed save, the forum immediately went into error 500 or something like that. What appears to have happened is that the permissions on the Yabb folder (I called mine Forum) were reset to 000. I managed to get the forum back by re-chmoding the files. When I open the site I got a message that said:

--------------------------

Software error:
syntax error at ./Variables/Settings.pl line 34, near "= ;"
syntax error at ./Variables/Settings.pl line 35, near "= ;"
syntax error at ./Variables/Settings.pl line 36, near "= ;"
syntax error at ./Variables/Settings.pl line 37, near "= ;"
Compilation failed in require at YaBB.pl line 53.

For help, please send mail to the webmaster (webmaster@eulogia.co.uk), giving this error message and the time and date of the error.

-------------------------

When I added the values in the file manually then my site came back up but with errors. Because of this I decided to remove the mod and restore the original backup files. However now I still have errors that make logging in or out impossible and when you register the verification code is missing. In its place is just an error icon. I'm assuming that these errors are chmod related but I have checked and updated any files that didn't look right. Would you mind looking at the following error codes that I now get.

On a pc all ready logged out, there is now this message at the top of the page that wasn't there before:

Status: 200 OK Set-Cookie: Y2User-93438=; path=/; expires=Thursday, 01-Jan-1970 00:00:00 GMT; Set-Cookie: Y2Pass-93438=; path=/; expires=Thursday, 01-Jan-1970 00:00:00 GMT; Set-Cookie: Y2Sess-93438=; path=/; expires=Thursday, 01-Jan-1970 00:00:00 GMT; Content-Type: text/html; charset=ISO-8859-1

And on this pc I am already logged in, I get this message at the top:

[b]Status: 200 OK Content-Type: text/html; charset=ISO-8859-1[/b]

I'm just wanting to get it back the way it was but would also love to get the mod working at some point to as I can't see me going up to v2.2 for a while. I have put the board into Maintenance Mode for now but can take it out if you need to access the forum.

Any Help would be appreciated.

Thanks

Charles
« Last Edit: May 5th, 2007 at 5:47pm by »  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Registration with admin approval
Reply #196 - May 6th, 2007 at 12:27am
Print Post  
@ccar I just got the same thing as you. See explaination below.

@Zoo just found a major bug, I get an 500 Internal Server Error and my board crashed with errors in ./variables/Settings.pl . I did all my email testing with only one name in the "New registered member email sent to:" field. I put in another name separated by a space or comma and save and boom error on server crash.

I had to manually edit the Settings.pl and remove the added member in the $newregmailto variable so my forum could go back online.
  
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: Registration with admin approval
Reply #197 - May 6th, 2007 at 8:00am
Print Post  
Thanks Dot-Com. This sounds hopeful. I just assumed that I must have made a mistake when adding some other mod or that I had set chmod permissions wrong. After restoring my backup files I had to delete the test-user manually.

I don't know but this may be relevant: I only manually mod but if someone uses BoardMod then they may get an error at the profile.pl step where it is looking for:

     if ($row_gender || $row_age || $row_location) {

I don't have that line for some reason. I have:

     if ($row_gender || $row_age) {

Obviously related to another mod. If you need to see the code around this area then here it is.

Code
Select All
			</div>
		</td>
	</tr>
  ~;

	if ($row_gender || $row_age) {
		$yymain .= qq~
	<tr>
		<td class="windowbg2" align="left" valign="top">
		$row_gender
		$row_age
		</td>
	</tr>
	~;
	}
	require "$sourcedir/ExtendedProfiles.pl";
	$yymain .= ext_viewprofile($user);

	$yymain .= qq~
	<tr>
		<td class="catbg" align="left">
			<img src="$imagesdir/profile.gif" alt="" border="0" style="vertical-align: middle;" />&nbsp;
			<span class="text1"><b>$profile_txt{'819'}</b></span>
		</td>
	</tr>
	<tr>
 



Sorry Zoo, this is obviously more work for you but at least I know that I don't have to give up with this one. Really appreciate all your hard work.

Thanks Guys

Charles
  
Back to top
 
IP Logged
 
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Registration with admin approval
Reply #198 - May 6th, 2007 at 10:45am
Print Post  
updated, V1.96

fixed bug:
- deleted member in approval list  ( #191 )
- 500 Internal Server Error if not only one name in the "New registered member email sent to:" field. ( #196 )
  
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: Registration with admin approval
Reply #199 - May 6th, 2007 at 1:33pm
Print Post  
Zoo

Thanks for the update but I am still getting the 500 Internal Server Error. Cry

What I did was update the relevant files and copied them to my server, overwriting the originals. Checking the chmod's as I went.

Once uploaded I went straight to the 'Form Settings' in the Admin Center and clicked on save. Then immediately got the following server error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@eulogia.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.37 Server at www.eulogia.co.uk Port 80


--------------------------------------------------------

When I checked the folder chmods they had been reset to the following.

Forum = 0
        Templates = 0
                      Defaults = 0

Even when I change them back again they reset them selves back to '0' each time I click on a web page.

I don't know if this is just a problem with my server or not but I have restored my backup files again and everything is working again.

Thanks again
Charles
  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Registration with admin approval
Reply #200 - May 6th, 2007 at 7:36pm
Print Post  
@Zoo ok the 500 internal server error is gone when adding more than one name in the "New registered member email sent to:" field.

Will test the rest of it tonight.
  
Back to top
 
IP Logged
 
mac
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 10
Joined: May 13th, 2007
Re: Registration with admin approval
Reply #201 - May 13th, 2007 at 2:24am
Print Post  
For the newbie "not so technical" Yabb admins, could you folks post instructions for how to install this registration mod?  I followed the FAQ, used BoardMod, but no dice. Got the Internal 500 error. Reverted to saved copy of old board.

Would be willing to pay someone to do it, unless this mod will be part of new version (as suggested it might this summer). Problem is, we need it now.
Moderator approved registrations is a must have for our organization. We have kids coming to our board and the p*rn registers are killin us. Without moderated registration, we will need to switch board software, and we don't want to have to do that! We like Yabb!
« Last Edit: May 13th, 2007 at 5:30am by mac »  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Registration with admin approval
Reply #202 - May 18th, 2007 at 11:19am
Print Post  
For what it is worth, registration with admin approval now is standard in YaBB2.2.

A different approach as Zoo took, but flexible and functional.

As we share no files between the mod and the 2.2 feature I do not see any compatibility issues when upgrading, other then probably using different admin settings.

So for both version I think we now have a solution for a "popular by demand" feature Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Registration with admin approval
Reply #203 - May 18th, 2007 at 2:37pm
Print Post  
Hi,
thx for this Mod!

One Question:

This code:
Code
Select All
$memberwaitcount .= qq~<a }: <b>$waitcount</b></a></b><br />~ 


direct to adminindex.cgi. But we have an adminindex.pl, so it doesnt find the object.
Same when I rename admindex to pl. What I have to change in this code?
Thx
Mick

Edit:
Forget it. I take the easy way and change
"$yyext" to "pl".
  
Back to top
WWW  
IP Logged
 
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Registration with admin approval
Reply #204 - May 18th, 2007 at 5:02pm
Print Post  
mick wrote on May 18th, 2007 at 2:37pm:
Edit:
Forget it. I take the easy way and change
"$yyext" to "pl".


opps, this is a bit bug

change "$yyext" to "$yyaext""
it's dynamic

$yyext: extension of YaBB,
$yyaext: extension of AdminIndex
  
Back to top
 
IP Logged
 
mac
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 10
Joined: May 13th, 2007
Re: Registration with admin approval
Reply #205 - May 19th, 2007 at 12:50am
Print Post  
Spikecity wrote on May 18th, 2007 at 11:19am:
For what it is worth, registration with admin approval now is standard in YaBB2.2.

A different approach as Zoo took, but flexible and functional.

As we share no files between the mod and the 2.2 feature I do not see any compatibility issues when upgrading, other then probably using different admin settings.

So for both version I think we now have a solution for a "popular by demand" feature Wink


When will this be released?  I don't see it on the Yabb site.
  
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Registration with admin approval
Reply #206 - May 19th, 2007 at 6:44am
Print Post  
Hi mac,

YaBB 2.2 hasn't been released yet, it is still in development and hasn't been officially released.  Y2.1 is still the latest official release.

True, the forum on YaBBForum.com runs CVS version of Y2.2... but the forum hasn't been updated in several weeks, since the completion of the Y2.2 feature and Y2.1 mod.  Expect an update on that forum in the next week or so.

Hope that helps.
  


Back to top
WWW  
IP Logged
 
windowman
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 33
Joined: Apr 8th, 2004
Re: Registration with admin approval
Reply #207 - May 19th, 2007 at 7:07pm
Print Post  
I am in the same boat as mac ! I have a succesful yabb forum that is being held back by not being able to pre approve new members. When we were using yabb 1.3 we had a mod called registration options but lost this when we ugraded Cry
  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Registration with admin approval
Reply #208 - May 19th, 2007 at 10:40pm
Print Post  
I don't know what to say , so far this mod works 100% on my board
  
Back to top
 
IP Logged
 
mac
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 10
Joined: May 13th, 2007
Re: Registration with admin approval
Reply #209 - May 20th, 2007 at 4:28am
Print Post  
How about "How can I help?"  Wink
I ran the BoardMod software but the mod didn't take, it errored out (as mentioned above).  Well, it might be a moot point anyway if 2.2 comes out SOON, and None Too Soon for us.

Editorial: I applaud the free and open nature of Yabb/BoardMod, but it could be a little easier and less obtuse to work with for those of us doing it on the side or infrequently. Most of it is pretty easy, but not the BMods IMHO. Not all of us are hacker-experts (and some of us would probably like hire such from time to time). I design educational game software ...and SADLY... just don't have time to become an expert at everything.  Yet there are several mods that interest me.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 12 13 [14] 15 16 ... 18
Send TopicPrint