PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Fri Jul 24, 2009 2:26 pm Reply with quote Back to top

Is there any way that I can setup a particular user so that he doesn't have to enter the captcha letters/numbers and so on. He's a GREAT support giver but is incapacitated to a degree that duplicating the numbers/letters is getting to the point that he wants to quit.

Cheers
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Jul 25, 2009 8:56 pm Reply with quote Back to top

As a regular user, this would require that you put a wrapper, of sorts, around the captcha logic to not require it when his user id/name is logging in. I have never heard of a mod/hack that does this. You could always make him a restricted admin and for your admins you can always turn the Captcha off Smile.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sat Jul 25, 2009 9:25 pm Reply with quote Back to top

Quote:
for your admins you can always turn the Captcha off


How? Where?

Cheers
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Jul 25, 2009 11:16 pm Reply with quote Back to top

I may have spoken in haste. I was thinking that there was a setting in rnconfig.php in the Visual Captcha Configuration section, but it appears that there is not. So I think you are back to the wrapper solution.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Jul 26, 2009 5:10 am Reply with quote Back to top

In the config.php file you can change $gfx_chk to a 4. This means the captcha will only be shown for Both, users login and new users registration only.

Is that what you were thinking of Raven?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 7:19 am Reply with quote Back to top

I forgot about that setting but more than likely yes. Thanks!!

Cheers

Edit/Update: Just tried it set to 4 and that does the trick, just what I'm looking for. Dance-Y

Edit-2: New problem - adding an author comes up with a blank page and the author isn't added. Now what?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Jul 26, 2009 8:17 am Reply with quote Back to top

dad7732 wrote:
Edit-2: New problem - adding an author comes up with a blank page and the author isn't added. Now what?
"Prayer, Mr. Dad7732. The Klingons don't take prisoners." killing me

Make sure you have the following set for debugging:
/html/config.php -> $display_errors = true;
/html/rnconfig.php -> $error_reporting = E_ALL;
/html/rnconfig.php -> $loglevel = 1;

Then try adding an author again and after you receive the blank screen check your /html/rnlogs/dblog file and your server error log to see if there are any messages in the logs.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 8:42 am Reply with quote Back to top

Error:

July 26, 2009, 9:40 am 1136 : Column count doesn't match value count at row 1
SQL was: insert into nuke_authors values - user info here

From server error log:

File does not exist: /path/site/backendforums.php
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Jul 26, 2009 9:19 am Reply with quote Back to top

Are you using the latest files from the trunk and the latest database schema?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 9:32 am Reply with quote Back to top

Latest release .02, nothing un-released. Take into consideration that this site came up from 6.5 through all the upgrades. Did a file compare and removed ALL old files, etc. I don't have a backendforums.php on any .02 site and the add-author produces a blank screen on all sites, some of which are brand new .02 versions.

Cheers
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Jul 26, 2009 9:46 am Reply with quote Back to top

You still have code somewhere that should not be calling backendforums.php. It was renamed to forumsbackend.php quite a while ago.

I just tested the add author function and it is working correctly. I don't know how a brand new site would have the same column mismatch error. This is the current schema for the authors table. You either have extra columns or are missing columns.

Code:

   (`aid` varchar(25) NOT NULL default '',
   `name` varchar(50) default NULL,
   `url` varchar(255) NOT NULL default '',
   `email` varchar(255) NOT NULL default '',
   `pwd` varchar(40) default NULL,
   `counter` int(11) NOT NULL default '0',
   `radminsuper` tinyint(1) NOT NULL default '1',
   `admlanguage` varchar(30) NOT NULL default '',
   PRIMARY KEY  (`aid`) )
   TYPE=MyISAM;
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 10:09 am Reply with quote Back to top

There are no files in the problematic site earlier than 2008. Made a copy of forumsbackend.php and renamed it backendforums.php and will see what happens other than producing an error in the server log. Will also have a look at the DB and make corrections. Will post back with results.

Cheers
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 10:53 am Reply with quote Back to top

One of my other sites works just fine and the authors table is exactly the same as the support site where the problem is. Dunno, but giving up at the moment for two reasons, user would also have to have the admin-auth information AND an "admin" cannot post to the forums, must be a "user". I guess that could be changed but too much going on at the moment ...

Cheers, user will just have to go with the present secure methods. I have numbers as the captcha and extra large font, can't do any better than that.

I try to accomodate all users but cannot taylor this one to suit just the "one" fella without compromising the security of the entire user-base/site, etc... Sad
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Jul 26, 2009 11:49 am Reply with quote Back to top

Blank page fixed. Just didn't notice in the problematic DB nuke_authors that an extra field was there - "radminsections". Dropped it and add-author now works ok.

However, the problem of an "admin" cannot post to the forum lingers. The "user" still has to use the captcha to login. Brick wall comes to mind. Bang Head

Cheers
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum