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 -> PHP-Nuke Patched Series By Chatserv
Author Message
7777777s
New Member
New Member


Joined: Jan 16, 2005
Posts: 9

PostPosted: Fri Oct 07, 2005 10:53 am Reply with quote

I was using PHPNuke 7.6 / 2.9 fixed / NukeSentinel 2.3.2 on Only registered users can see links on this board! Get registered or login!

I updated this site to PHPNuke 7.6 / 3.1 fixed / Nuke Sentinel 2.4.2 and the NSN Your account stopped allowing users to edit their profiles.
i.e. the following commands no longer work:
modules.php?name=Your_Account&op=edituser
modules.php?name=Your_Account&op=edithome
modules.php?name=Your_Account&op=editcomm

I reinstalled the Original Your Account from PHPNuke 7.6 and patched it to 3.1; the user profile editing is available.

I updated to PHPNuke 7.6 / Nuke Sentinel 2.4.2 on another site of mine Only registered users can see links on this board! Get registered or login! running PHPNuke 7.6 / 2.9 fixed / NukeSentinel 2.3.2 and NSN Your Account works properly.
The above listed command lines work on this site.

The problem is definitely directly related to Patched 3.1 for 7.6

I successfully performed the edits that allow the right side blocks to show.

I could use some suggestions on how to fix this.

Everything else works.
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Oct 11, 2005 8:52 am Reply with quote

well have you done these edits to your acount index.php ?


Code:


#
#-----[ OPEN ]------------------------------------------
#
index.php

in function mail_password($username, $code) {
#
#-----[ FIND ]------------------------------------------
#
global $sitename, $adminmail, $nukeurl, $user_prefix, $db, $module_name;

#
#-----[ ADD TO IT ]------------------------------------------
#
$nsnst_const,

Now it will look something like:
global $nsnst_const, $sitename, $adminmail, $nukeurl, $user_prefix, $db, $module_name;

#
#-----[ FIND ]------------------------------------------
# This appears twice in this function
  $host_name = $_SERVER['REMOTE_ADDR'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
  if(!file_exists('includes/nukesentinel.php')) {
    $host_name = $_SERVER['REMOTE_ADDR'];
  } else {
    $host_name = $nsnst_const['remote_ip'];
  }


in function login($username, $user_password, $redirect, $mode, $f, $t, $random_num, $gfx_check) {
#
#-----[ FIND ]------------------------------------------
#
global $setinfo, $user_prefix, $db, $module_name, $pm_login, $prefix;

#
#-----[ ADD TO IT ]------------------------------------------
#
$nsnst_const,

Now it will look something like:
global $nsnst_const, $setinfo, $user_prefix, $db, $module_name, $pm_login, $prefix;


#
#-----[ FIND ]------------------------------------------
#
  $uname = $_SERVER['REMOTE_ADDR'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
  if(!file_exists('includes/nukesentinel.php')) {
    $uname = $_SERVER['REMOTE_ADDR'];
  } else {
    $uname = $nsnst_const['remote_ip'];
  }


in function userinfo($username, $bypass=0, $hid=0, $url=0) {
# Submitted by technocrat
#-----[ FIND ]------------------------------------------
#
echo "[ <a href='".$admin_file.".php?op=ipban&ip=".$userinfo['last_ip']."'>"._BANTHIS."</a> | <a href=\"".$admin_file.".php?op=modifyUser&chng_uid=".$userinfo['username']."\">"._EDITUSER."</a> ]</center>";

#
#-----[ REPLACE WITH ]------------------------------------------
#
echo "[ <a href='".$admin_file.".php?op=ABBlockedIPAdd&tip=".$userinfo['last_ip']."'>"._BANTHIS."</a> | <a href=\"".$admin_file.".php?op=modifyUser&chng_uid=".$userinfo['username']."\">"._EDITUSER."</a> ]</center>";

 
View user's profile Send private message
7777777s
PostPosted: Tue Oct 11, 2005 10:25 am Reply with quote

Quote:
well have you done these edits to your acount index.php ?

NSN Your Account 760 3.3.0 uses it's own /modules/Your_Account/index.php file; and the edits listed do not apply.

If I use the Your Account files from PHP-Nuke 7.3/3.1 fixed and do the edits, that works;

I would however, like the additional features from NSN's Your Account module to be available when I use 7.6/3.1 fixed.

The /modules/Your_Account/index.php file from NSN Your Account 760 3.3.0 works with Nuke Sentinel 2.4.2 as long as I stay with 7.6/2.9 fixed.

Thanks.
 
BobMarion
Former Admin in Good Standing


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

PostPosted: Fri Oct 14, 2005 8:22 pm Reply with quote

NSN Your Account 760 3.3.0 is not rated for Patched 3.1 and there will have to be modified to use the Patched 3.1 varibles/defines. Follow the "readme.txt" file directions for the modifications needed that comes with Patched 3.1 or read below Smile

Code:
/************************************************************************/

/*                 PHP-Nuke Patched -- 2005 chatserv                    */
/*           Nuke Patched DEV Team -- Evaders99 & Quake                 */
/*      http://www.nukefixes.com -- http://www.nukeresources.com        */
/************************************************************************/

Important notes relating to Nuke Patched 3.1:

1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);
In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {

2- Additional changes for third party add-ons:
if ($mainfile == 1) {
should be changed to:
if (defined('NUKE_FILE')) {

if ($module == 1) {
should be changed to:
if (defined('MODULE_FILE')) {

if ($footer == 1) {
should be changed to:
if (defined('NUKE_FOOTER')) {

if ($header == 1) {
should be changed to:
if (defined('NUKE_HEADER')) {

_________________
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
7777777s
PostPosted: Sun Oct 23, 2005 12:01 pm Reply with quote

The right side blocks are showing in my third party add-ons. The /modules.php file and the files under /themes/ have been changed as indicated. I have been unable to find any of the listed if statements under "2- Additional changes for third party add-ons:" in the NSN_Your_Account_760_330 files. My guess is that you are right and the changes needed are similar to the ones I cannot find.

Since I am not a PHP programmer, I am seriously considering switching to another "Your Account" module. I am currently testing CNB_Your_Account_750_442 and a module called "hack-AdvUserManager-0.9.8" on my home LINUX box.

Thanks,

Suggestions?
 
7777777s
PostPosted: Tue Oct 25, 2005 12:34 am Reply with quote

I upgraded to CNB_Your_Account_750_442, problem solved
 
zerokooll
Worker
Worker


Joined: Feb 01, 2006
Posts: 129

PostPosted: Sun Feb 19, 2006 8:03 am Reply with quote

7777777s could you or anyone tel me how to upgrade from NSN_Your_Account_760_330 to CNB_Your_Account_750_442 ??

PSD: CNB_Your_Account_750_442 Es solo para nuke 7.5 o funciona en el 7.6 tambien? porque hasta donde tengo entendido el 750 significa que es solo pa nuke 7.5

_________________
Owner of Only registered users can see links on this board! Get registered or login! The best LaTiN site on the net! 
View user's profile Send private message
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 243
Location: Flying to close to the sun

PostPosted: Sun Oct 29, 2006 9:05 am Reply with quote

zerokooll wrote:
7777777s could you or anyone tel me how to upgrade from NSN_Your_Account_760_330 to CNB_Your_Account_750_442 ??

PSD: CNB_Your_Account_750_442 Es solo para nuke 7.5 o funciona en el 7.6 tambien? porque hasta donde tengo entendido el 750 significa que es solo pa nuke 7.5


the above statment translates to the following,

"PSD: CNB_Your_Account_750_442 Is single for nuke 7,5 or also works in the 7,6? because to where I have understood the 750 it means that pa is single nuke 7.5"

So yes, CNB_Your_Account_750_442 works flawlessly in nuke 7.6-3.3 .

thank god for Bablefish, oh yea and RavenScripts
 
View user's profile Send private message
michale
Hangin' Around


Joined: Jan 11, 2007
Posts: 32

PostPosted: Thu Jan 11, 2007 7:07 am Reply with quote

Sorry to drag up such an old post, but this is my nearly exact problem and the fix suggested somewhat confused me.

Towhit:

I have a fresh install of PHPNuke v7.6 Patch Level v3.1. Early in the setup I installed NSN YourAccount 3.3.0... I had some mail server problems that took me a while to fix.

Once I got those fixed, the PHP Nuke would finally send out Activation Emails.

But the Activation Link would be wrong:
Only registered users can see links on this board! Get registered or login!

So, what I need to know is where/how is this link generated and how would I go about fixing this?

Thanx for any assistance anyone can provide.


Michale
 
View user's profile Send private message
thebishop
PostPosted: Thu Jan 11, 2007 2:08 pm Reply with quote

michale wrote:
Sorry to drag up such an old post, but this is my nearly exact problem and the fix suggested somewhat confused me.

Towhit:

I have a fresh install of PHPNuke v7.6 Patch Level v3.1. Early in the setup I installed NSN YourAccount 3.3.0... I had some mail server problems that took me a while to fix.

Once I got those fixed, the PHP Nuke would finally send out Activation Emails.

But the Activation Link would be wrong:
Only registered users can see links on this board! Get registered or login!

So, what I need to know is where/how is this link generated and how would I go about fixing this?

Thanx for any assistance anyone can provide.


Michale



Michale, I have never used the NSN Your account module but i have used both "CNB_Your_Account_750_442" and the approve membership module from Ulsoft Only registered users can see links on this board! Get registered or login! which both work very well for nuke 7.6-3.1 or 7.6-3.3.
I would patch your 7.6 to 3.3 also.
 
michale
PostPosted: Thu Jan 11, 2007 2:47 pm Reply with quote

thebishop wrote:
michale wrote:
Sorry to drag up such an old post, but this is my nearly exact problem and the fix suggested somewhat confused me.

Towhit:

I have a fresh install of PHPNuke v7.6 Patch Level v3.1. Early in the setup I installed NSN YourAccount 3.3.0... I had some mail server problems that took me a while to fix.

Once I got those fixed, the PHP Nuke would finally send out Activation Emails.

But the Activation Link would be wrong:
Only registered users can see links on this board! Get registered or login!

So, what I need to know is where/how is this link generated and how would I go about fixing this?

Thanx for any assistance anyone can provide.


Michale



Michale, I have never used the NSN Your account module but i have used both "CNB_Your_Account_750_442" and the approve membership module from Ulsoft Only registered users can see links on this board! Get registered or login! which both work very well for nuke 7.6-3.1 or 7.6-3.3.
I would patch your 7.6 to 3.3 also.


Could you post a link to the 3.3 Patch?? I did a search for it, but came up empty...

Thanx

Michale
 
thebishop
PostPosted: Thu Jan 11, 2007 4:07 pm Reply with quote

Only registered users can see links on this board! Get registered or login!
 
michale
PostPosted: Thu Jan 11, 2007 4:11 pm Reply with quote

thebishop wrote:
http://www.nukeresources.com/downloadview-details-943-Nuke_7.6_Patched.html




Many thanx...


EDIT: Question...

"IMPORTANT: IF YOU ALREADY ARE USING NUKE PATCHED 3.1 OR NEWER YOU DO NOT NEED TO RUN THE INCLUDED UPGRADE FILES."

So, all I need to do is copy over the PATCH files, right??

Sorry to be such a goof about this, but I want to make sure I don't hose the whole site..

Thanx again..


Michale
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Jan 11, 2007 4:16 pm Reply with quote

Yes you copy over the files

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
michale
PostPosted: Thu Jan 11, 2007 4:20 pm Reply with quote

evaders99 wrote:
Yes you copy over the files


Thanx.. I really appreciate the reply..


Michale


Love the avatar, by the by... Very Happy
 
michale
PostPosted: Thu Jan 11, 2007 4:33 pm Reply with quote

Well, I copied the files over. Set up the permissions and the OWNER/GROUP properly..

Got this when I tried to access:

There seems to be a problem with the MySQL server, sorry for the inconvenience.

We should be back shortly.
 
thebishop
PostPosted: Thu Jan 11, 2007 4:58 pm Reply with quote

did you remember to add all of your database info to the config file so it can connect to mySQL ? .
 
michale
PostPosted: Thu Jan 11, 2007 4:59 pm Reply with quote

thebishop wrote:
did you remember to add all of your database info to the config file so it can connect to mySQL ? .


It's always something simple, isn't it? Shocked Shocked Embarassed Embarassed

Thanx....


Michale
 
thebishop
PostPosted: Thu Jan 11, 2007 5:04 pm Reply with quote

np, im in the same situation everyday and if not for the people here i would be lost like a babe in the woods. RavensScripts
 
michale
PostPosted: Thu Jan 11, 2007 5:44 pm Reply with quote

TheBishop,

I installed that APPROVE MEMBERSHIP you mentioned in a previous post..

When I try and go to the admin.php, I get this:


Warning: require(auth.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/admin.php on line 85

Fatal error: require() [function.require]: Failed opening required 'auth.php' (include_path='.:/usr/share/pear') in /var/www/html/admin.php on line 85



Now, I do have an AUTH.PHP but it is not nowhere nears the /usr/share/pear path that is mentioned..

Did you get this problem??


Thanx again

Michale
 
michale
PostPosted: Thu Jan 11, 2007 7:34 pm Reply with quote

Disregard the above post..

Turns out I grabbed the 7.4 and not the 7.6 version..

All is good and right with the world now..... so far.. Very Happy


Thanx again..


Michale
 
thebishop
PostPosted: Thu Jan 11, 2007 8:43 pm Reply with quote

ok good because i never got any errors installing the mod.
if your going to turn on admin approval make sure your forums are also set to admin approval or people will can just bypass registering on the site by registering through the forum link. Also i think the approve membership module either uses a non default Your Account module or something in it that may allow an anonymous person to post in the reviews module even though you have it on registered only and possibly elsewere on the site.
I had a problem with a person posting adds in my reviews module so i switched to the CNB_Your_Account_750_442 module and that stoped it.

I still use the approve membership module on my other sites though. Wink
 
michale
PostPosted: Thu Jan 11, 2007 9:13 pm Reply with quote

Could you post a link to that CNB, because the APPROVE MEMBERSHIP modules doesn't seem to show pending users..


Michale
 
thebishop
PostPosted: Thu Jan 11, 2007 9:36 pm Reply with quote

it should show pending users under the approve membership icon in your admin panel. i think you can get "CNB_Your_Account_750_442" from nukescripts.net or i can email it to you. The approve membership module works very well and its the one i use the most. I just had that once incident so i decided to see what else could be used and used the CNB_Your_Account_750_442 for that one site.
 
michale
PostPosted: Thu Jan 11, 2007 9:42 pm Reply with quote

I have two users pending and this is what the APPROVE MEMBER admin shows:

Image



Michale
 
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 -> PHP-Nuke Patched Series By Chatserv

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 ©