Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Bravo2zero
Regular
Regular



Joined: Nov 28, 2005
Posts: 92
Location: UK

PostPosted: Thu Aug 24, 2006 10:33 pm Reply with quote

Hi All,

Installed rwsRavenNuke76_v2.02.02_FULL

Having a major problem with my site, as soon as we install the nsn your_account module it suspends members as it did when we had just nuke 7.6,

can anyone tell me if they are using a your_account module other than the standard YA that comes with ravenhuke as above?

I need to control activations by admin,

the problems that happen when nsn your_account is installed as follows:

new registrations auto suspended as soon as the activation is clicked, if we activate direct from the YA mod panel then the account is fine,

even when the new registration is logged out it shows on the welcome header bar as still logged in also in users online, but displays the login box for you to login,

Hitwalker is working on this also but can't workout what is causing the problems when NSN-YA is installed, once it is removed and the standard raven nuke YA is put back, all accounts login and out fine and also display at the correct time in the welcome header and users online areas.

Really stuck with this problem and any help greatly appreciated, we really need a working your_account module to control new registrations being activate or the e-mail sent only when we approve the registration etc,

once again T.I.A
B2Z

_________________
dodging bullets ain't easy but it's a job! 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Fri Aug 25, 2006 10:15 am Reply with quote

If Hitwalker (or anyone else for that matter) can find a means to make this work with Ravennuke (although the problem seems to trace back at least as far as base Nuke 7.6) then more power to them. It would be service to us all if they posted the solution here but you'd still be on your own in applying it.

However, your basic request sounds more to me like a requirement or feature request for some future release of Ravennuke after 2.10 gets out the door. And it's known that there need to be a LOT of improvements to the your_account module. Somehow integrating CNBYA into Ravennuke might be one idea and I know that some of the "team" have been looking at that.

I know that I personally had the Approve Membership module (an extension of your_account) running on my "production" site and eventually had to ditch it because the upgrade process each time a new bulletin board update came out was just too time-consuming. Choices like that will need to be made until we can integrate some more comprehensive solution into the core of Ravennuke.
 
View user's profile Send private message Visit poster's website
Bravo2zero







PostPosted: Fri Aug 25, 2006 1:09 pm Reply with quote

just for anyones info:

i have nuke 7.6 patched ver 3 installed on one of my other sites and have just added CNB_Your_Account_750_440_beta2 on it and it woks fine!

no one gets suspended or any other problems like showing in the users online when logged out,

so i'm guessing it must be related to my site that now has nuke raven on, this had the same problem before replacing 7.6 with nukeraven so can't be nuke raven,

so must be either something conflicting in my database or a module that is installed conflicting when ever cnbya or nsnya is installed.

any help appreciated

B2Z
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Aug 26, 2006 12:46 am Reply with quote

I simply do not have the time to look at this in depth BUT in order to help others who might be looking at this....
The only way a user can get suspended is if that condition is set in the nuke_user table or possible the forum user table.
It would be worth inspecting any sql INSERT statements against the appropriate table or if you have it working in nuke 7.6 patch 3, comparing them against RN with CNBYA installed.
I have this nagging feeling that either the sql INSERT or UPDATE statements are not matching the table schema.
If you can determine which field the 'suspended' flag is set - does this have a default value? If it does and the default value is '1' this would seem to support my nagging feeling. You could try and set a default value to the opposite value.
 
View user's profile Send private message Send e-mail
Bravo2zero







PostPosted: Mon Aug 28, 2006 8:20 am Reply with quote

Hi All,

update so far:

i have done a complete copy including databases from the troubled site and setup the that copy on test site subdomain of mine,
so to recap we have raven nuke and no Your account mods except the standard one,

site working fine before adding cnbya 4.4.2
site running fine after cnbya 4.4.2 added Rolling Eyes Rolling Eyes Rolling Eyes

so work that out because i can't Mad

i did find one thing wrong when i run the cnbya.php setup file, it errored on all files except the alter nuke users and nuke users temp file which said suceeded Wink

so i run the deinstall option of cnbya.php and it reported all removed ok, so then i ran the cnbya.php install again and guess what Question Wink all file installed succeded Laughing

so logged out as admin and registered a test account, logged into approve the test account and then logged out of admin,

got activation e-mail to the test account e-mail address and clicked to activate the new account, all logged in fine, no weird things happened and works fine,
so i think this must go wrong if i do it again so registered again and that was ok.

so my question is total mirror now on test subdomain but no mirror errors,

so i'm now thinking do i run the cnbya on my main site and see what happens or do i need to investigate the files or tables further before i do, what else could have caused it before?

thanks in advance

B2Z Laughing
 
Bravo2zero







PostPosted: Mon Aug 28, 2006 8:55 am Reply with quote

can someone answer a quick question please,

in cnbya install.txt it mentions about adding code to the mainfile.php at the end of mainfile.php,

i did not add the code on the copied site, but we did on the main troubled site,
so reading the install.txt does it mean you have to add the code anyway to the standard Your Account module or only if you are upgrading from another your Account mod type?

sorry to be so dumb on this but i think this may be the problem, allthough it does not explain why it happened as far as we know without installing anything at the time except the sentinel 2.5.0.0

thanks in advance

B2Z
 
Guardian2003







PostPosted: Mon Aug 28, 2006 12:30 pm Reply with quote

If CNBYA requires an edit to mainfile then you would need to do it. It is probably to 'include' another file which has functions CBNYA needs to work.
 
Bravo2zero







PostPosted: Mon Aug 28, 2006 12:40 pm Reply with quote

can anyone tell me then with a fresh install of the latest raven nuke if i do have to edit the mainfile.php please,

this below is the install.txt file:::::::::::


/*********************************************************************************/
/* CNB Your Account it the official successor of NSN Your Account by Bob Marion */
/*********************************************************************************/

1. Installation
---------------
Extract archive to a temp dir and copy included as noted below:
---------------------------------------------------------------------------------
CHANGES.TXT (do not upload, a list of changes)
FEATURES.TXT (do not upload, a list of current features)
INSTALL.TXT (do not upload, your reading it)
README.TXT (do not upload, contains general module information)
LICENSE.TXT (do not upload, module license)
TODO.TXT (do not upload, a list of work yet to be done)

html/cnbya.php --------------------------> cnbya.php ( Run this file to install,
update, or deinstall the
CNB Your Account tables)
html/modules/Your_Account/*.* -----------> modules/Your_Account/*.*

Note: For Nuke 7.4 or below, read the NOTE.TXT in the /extras directory
---------------------------------------------------------------------------------

2. Update From CNB Your Account
-------------------------------


From 4.4 beta1 to 4.4 beta2 - Replace the files and run cnbya.php in your nuke root folder as admin
From 4.3 to 4.4 beta1 - Replace the files and run cnbya.php in your nuke root folder as admin
From 4.2 to 4.3 - Just Replace the files
From 4.1 to 4.2 - Replace the files and run cnbya.php in your nuke root folder as admin
From 4.0 to 4.1 - Replace the files and run cnbya.php in your nuke root folder as admin

3. If you update from NSN Your Account to CNB 4.0 version
--------------------------------------------------
- Enter as admin.
- Delete the code added in mainfile.php file.
- Replace the files.
- Run this file cnbya.php.

4. Modifications Needed
-----------------------
A) Mainfile.php
Open mainfile.php in a text editor and goto the end of the file.
Just before the ?> add the following code:

if ($forum_admin == 1) {
include("../../../modules/Your_Account/includes/mainfileend.php");
} elseif ($inside_mod == 1) {
include("../../modules/Your_Account/includes/mainfileend.php");
} else {
include("modules/Your_Account/includes/mainfileend.php");
}

B) "Terms of Service"
If you want to let users agree to you "Terms of Service",
please modify the folowing line somewhere at the bottom of
/modules/Your_Account/language/lang-yourlanguage.php :

define("_YATOS2","Our Terms of Service will be soon be published here.");

Do this for all languages that you use on your site!

5. SECUTIRY
-----------
Open modules/includes/constants.php
Find:
define("CNBYA_DOMAINNAME", "");
add your domain or IP here without any http or www or slashes
Example:
define("CNBYA_DOMAINNAME", "phpnuke.org.br");


6. Ready!
---------
Enjoy CNB Your Account!
You are welcome to use our international support forum to if you have bugs, compliments and ideas: [ Only registered users can see links on this board! Get registered or login! ]


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

thanks in advance

B2Z
 
Guardian2003







PostPosted: Mon Aug 28, 2006 12:57 pm Reply with quote

Yes, you would need to edit mainfle and those other 2 files.

That code looks quite old from the way things are being done at the moment so if those changes to mainfile do not work, you could try this instead
Code:


if (defined ('FORUM_ADMIN')) {
include("../../../modules/Your_Account/includes/mainfileend.php");
} elseif (defined ('INSIDE_MOD')) {
include("../../modules/Your_Account/includes/mainfileend.php");
} else {
include("modules/Your_Account/includes/mainfileend.php");
}

Please not I have not tested this code as I do not use CBNYA.
 
Bravo2zero







PostPosted: Mon Aug 28, 2006 1:00 pm Reply with quote

ok thanks but one thing puzzles me!

i have not done this code change on both raven nuke installed test site of mine and also nuke 7.6 test site, and yet both cnbya work fine without errors,
so i'm thinking this may be the problem when the code is added?

but i stand to be corrected, but again if the code is not added then how can the cnbya work correctly as it is doing Rolling Eyes

thanks in advance

B2Z
 
Guardian2003







PostPosted: Mon Aug 28, 2006 1:21 pm Reply with quote

As the edit for mainfile.php is essentially asking nuke to incorporate (include) the CNBYA's mainfileend.php file, you would need to look at the code in that file to determine what it does.

I suspect that it attempts to 'trap' the normal user account creation process and redirect it to modules/CNBYA where the script can deal with it.
If thats the case, it would be about right for the normal sign-up process to work as it would use the normal Your Account files instead of the CBNYA files.

I believe CBNYA has the facility to prohibit users from registering from specific email address's such a hotmail - so that would be a quick test Smile
 
Bravo2zero







PostPosted: Mon Aug 28, 2006 5:22 pm Reply with quote

urrrmmm, itching to try the install again on the raven nuke main site i had trouble with but don't want to hash things up just in case,
is there any plans for a new version cnbya for raven nuke due out or on the books?

thank B2Z
 
fkelly







PostPosted: Mon Aug 28, 2006 5:36 pm Reply with quote

It would be wisest to install Ravennuke as is and deal with CNBYA or some descendant version of it when it's released. It will be some significant time before YA changes can be built into a future release of Ravennuke, the requirements haven't even been fully spec'd out nor has the design work been done. The next release of RN (2.10) is being finished up and tested at this time and won't incorporate major changes to YA. I don't think that there has been any definite commitment as to what will be in the release after that. Raven is the only one who can speak authoritatively to that issue of course.
 
Bravo2zero







PostPosted: Mon Aug 28, 2006 6:02 pm Reply with quote

Hey Raven please please please include cnbya or same in a soon to be release, must be loads out there with same issues, and need cnbya to control nuke to the fullest,

thank in advance
B2Z
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Aug 29, 2006 12:58 am Reply with quote

Bug the developers of CNBYA to finally release 5.0!!! That is where our efforts should be... Wink

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Guardian2003







PostPosted: Tue Aug 29, 2006 5:05 am Reply with quote

Definitely!!!
 
Bravo2zero







PostPosted: Tue Aug 29, 2006 5:11 am Reply with quote

ok so who's the best contact you have to bug them Wink
 
montego







PostPosted: Tue Aug 29, 2006 9:54 am Reply with quote

Bravo2zero wrote:
ok so who's the best contact you have to bug them Wink

Good question... have no idea anymore. There is a very large thread about this though somewhere in the CNBYA forum here.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©