Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
cceller
New Member
New Member



Joined: Aug 20, 2004
Posts: 7
Location: NC, USA

PostPosted: Sat Aug 28, 2004 6:49 pm Reply with quote

Is it possible that Sentinel could keep users from changing their themes (the option is set to be allowed).

I have two Nuke 7.4s running in separate directories and with separate databases on my site.

One runs Sentinel and users can not change themes, the other does not and users can.

Did I miss something on install?

Thanks,

Chad
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
BobMarion
Former Admin in Good Standing



Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Sun Aug 29, 2004 8:38 am Reply with quote

I will test and see what would/could be interfering with the change.

One question as well. Did you do the following:
Code:
4. Your Account Bug

-------------------
In Your Account's index.php file you will find 4 placements of:
getusrinfo($user);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {

You should replace it with:
cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {


function chgtheme() is one of the places that this needs to be done if you do not have ChatServ's 2.5 patch installed.

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
cceller







PostPosted: Sun Aug 29, 2004 12:36 pm Reply with quote

Bob,

Thanks. Your post prompted me to download the patched version and simply upload the Your Account index, problem solved.

I do notice one small bug now - - - when I am in my account (and I am the site admin) I see this:

_NOTSUB 25th¤LID.


_ADMNOTSUB

Points you have by participating on the site's content: 0

_LASTIP XX.XXX.XX.XX

[ _BANTHIS | Edit User ]

Ideas on how to correct?

Again, thanks,

Chad
 
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Aug 29, 2004 1:22 pm Reply with quote

You know, that isn't even the page you should see when going to your account.

I have that same problem though. If I go to the 'your account' module I get the standard nuke profile page instead of my account. If I am not logged in as admin I go to the right page.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
TheosEleos







PostPosted: Sun Aug 29, 2004 1:24 pm Reply with quote

Your problem is a language file issue but I'm not sure which language file.
 
cceller







PostPosted: Sun Aug 29, 2004 1:27 pm Reply with quote

Yeah - - - I reached the same conclusion, but I am not sure which language file either.

Maybe someone will see this and help us both, lol.

Thanks,

Chad
 
TheosEleos







PostPosted: Sun Aug 29, 2004 1:54 pm Reply with quote

As far as I can tell it is the main language file in your nuke root directory.

langauge/lang-english.php
 
BobMarion







PostPosted: Sun Aug 29, 2004 1:58 pm Reply with quote

The language file in question is the modules/Your_Account/language/lang-XXXXX.php file, depending on the language of your site.
 
TheosEleos







PostPosted: Sun Aug 29, 2004 2:12 pm Reply with quote

Not on the page we are being directed to. (that I can tell)

Quote:
_ADMNOTSUB


I don't find that line in modules/Your_Account/language/lang-XXXXX.php.

Here is a screenshot of the page I get when clicking 'your account'.

Image
 
Dauthus
Worker
Worker



Joined: Oct 07, 2003
Posts: 211

PostPosted: Sun Aug 29, 2004 3:42 pm Reply with quote

Actually, the image looks just like my 7.2 install when I am looking at a profile signed in as the administrator. I don't know what the 7.4 looks like because I haven't installed it.
 
View user's profile Send private message Visit poster's website
BobMarion







PostPosted: Sun Aug 29, 2004 3:42 pm Reply with quote

I do not see anything wrong with that page. Nor do I understand how it is related to NukeSentinel?
 
TheosEleos







PostPosted: Sun Aug 29, 2004 4:10 pm Reply with quote

That is the page that I (and cceller) get when we click your account. It started when cceller and I started using chatserv 2.5 Your_Account module patch for 7.4. I guess it is slightly related to Sentinel since that patch is recommended as a fix for the your account bug.
 
TheosEleos







PostPosted: Mon Aug 30, 2004 4:41 am Reply with quote

I found this in the error log.

Code:
[Mon Aug 30 01:07:00 2004] [error] PHP Fatal error:  Call to undefined function:  nav() in /home/wetopthe/public_html/phenylshouse/modules/Your_Account/index.php on line 235


I commented out line 235 but I still cant access the your_account module while logged in as admin.

Code:
nav(1);
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Mon Aug 30, 2004 8:20 am Reply with quote

In Nuke Patched 2.5 for 7.4 line 235 in that file is:
Code:
if ($userinfo[user_avatar_type] == 1) {

Are you sure you have version 2.5? either way since my local copy might be newer than the one on the server let's ignore that line mismatch for now (i will reupload the patches later today and change the date on the main page announcement of the patches on all sites so that you can know when it has been uploaded), for now uncomment that line, clear your cookies and cache and retry.
 
View user's profile Send private message Visit poster's website
chatserv







PostPosted: Mon Aug 30, 2004 8:23 am Reply with quote

As for the other user, your main language file (and possibly others) have not been updated to 7.4, i hope you didn't use Nuke Patched 2.5 for 7.4 to upgrade to 7.4 from a previous version, you are missing defines like:
Code:
define("_ADMSUB","Subscribed User!");

define("_ADMNOTSUB","User NOT Subscribed");
define("_ADMSUBEXPIREIN","Subscription Expire in:");
define("_LASTIP","Last user IP:");
define("_BANTHIS","Ban This IP");
 
TheosEleos







PostPosted: Mon Aug 30, 2004 8:35 am Reply with quote

You're right. I had the wrong line quoted. My line 235 matches what you posted.
 
TheosEleos







PostPosted: Tue Aug 31, 2004 9:19 am Reply with quote

Just wondering if you still planned on updating the 7.4 download?
 
chatserv







PostPosted: Tue Aug 31, 2004 9:26 am Reply with quote

who? and what download?
 
TheosEleos







PostPosted: Tue Aug 31, 2004 9:34 am Reply with quote

chatserv wrote:
(i will reupload the patches later today and change the date on the main page announcement of the patches on all sites so that you can know when it has been uploaded)


I still can't access your_account while logged in as admin.
 
chatserv







PostPosted: Tue Aug 31, 2004 9:52 am Reply with quote

Emailed you the newest files.
 
TheosEleos







PostPosted: Tue Aug 31, 2004 9:55 am Reply with quote

Thanks, I'll be looking for it.
 
TheosEleos







PostPosted: Tue Aug 31, 2004 10:13 am Reply with quote

Thanks for the email. I uploaded the new files and I still can't access your_account while logged in as admin. I updated to Sentinel 2.0.2 as well.

It appears it is not a Sentinel issue. Sorry for the trouble.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©