Author |
Message |
cceller
New Member


Joined: Aug 20, 2004
Posts: 7
Location: NC, USA
|
Posted:
Sat Aug 28, 2004 6:49 pm |
|
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 |
|
|
 |
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sun Aug 29, 2004 8:38 am |
|
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! |
|
|
 |
cceller

|
Posted:
Sun Aug 29, 2004 12:36 pm |
|
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
|
Posted:
Sun Aug 29, 2004 1:22 pm |
|
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! |
|
 |
 |
TheosEleos

|
Posted:
Sun Aug 29, 2004 1:24 pm |
|
Your problem is a language file issue but I'm not sure which language file. |
|
|
|
 |
cceller

|
Posted:
Sun Aug 29, 2004 1:27 pm |
|
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

|
Posted:
Sun Aug 29, 2004 1:54 pm |
|
As far as I can tell it is the main language file in your nuke root directory.
langauge/lang-english.php |
|
|
|
 |
BobMarion

|
Posted:
Sun Aug 29, 2004 1:58 pm |
|
The language file in question is the modules/Your_Account/language/lang-XXXXX.php file, depending on the language of your site. |
|
|
|
 |
TheosEleos

|
Posted:
Sun Aug 29, 2004 2:12 pm |
|
Not on the page we are being directed to. (that I can tell)
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'.
 |
|
|
|
 |
Dauthus
Worker


Joined: Oct 07, 2003
Posts: 211
|
Posted:
Sun Aug 29, 2004 3:42 pm |
|
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. |
|
|
|
 |
BobMarion

|
Posted:
Sun Aug 29, 2004 3:42 pm |
|
I do not see anything wrong with that page. Nor do I understand how it is related to NukeSentinel? |
|
|
|
 |
TheosEleos

|
Posted:
Sun Aug 29, 2004 4:10 pm |
|
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

|
Posted:
Mon Aug 30, 2004 4:41 am |
|
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.
|
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Mon Aug 30, 2004 8:20 am |
|
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. |
|
|
|
 |
chatserv

|
Posted:
Mon Aug 30, 2004 8:23 am |
|
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

|
Posted:
Mon Aug 30, 2004 8:35 am |
|
You're right. I had the wrong line quoted. My line 235 matches what you posted. |
|
|
|
 |
TheosEleos

|
Posted:
Tue Aug 31, 2004 9:19 am |
|
Just wondering if you still planned on updating the 7.4 download? |
|
|
|
 |
chatserv

|
Posted:
Tue Aug 31, 2004 9:26 am |
|
|
|
 |
TheosEleos

|
Posted:
Tue Aug 31, 2004 9:34 am |
|
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

|
Posted:
Tue Aug 31, 2004 9:52 am |
|
Emailed you the newest files. |
|
|
|
 |
TheosEleos

|
Posted:
Tue Aug 31, 2004 9:55 am |
|
Thanks, I'll be looking for it. |
|
|
|
 |
TheosEleos

|
Posted:
Tue Aug 31, 2004 10:13 am |
|
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. |
|
|
|
 |
|