Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
dargah
New Member
New Member



Joined: Oct 25, 2005
Posts: 4

PostPosted: Fri Feb 24, 2006 12:36 pm Reply with quote

Hi all
I just found this nice script " send pm on user register " in downloads section , This was exactly what I was looking for. but I have a problem to make it work. Crying or Very sad
on the manual says :

Code:
#-----[ OPEN ]------------------------------------------

#
modules/Your_Account/index.php

#
#-----[ FIND ]------------------------------------------
#
function activate

#
#-----[ THEN FIND ]------------------------------------------
#
$db->sql_query("DELETE FROM ".$user_prefix."_users_temp WHERE username='$username' AND check_num='$check_num'");
include("header.php");
title(""._ACTIVATIONYES."");
OpenTable();

#
#-----[ AFTER, ADD ]------------------------------------------


unfortunately on Index.php i don't have this function and cods but on \modules\Your_Account\public\ i have a Activate.php which i fount similar cods to above cods

Code:
 $username = trim(check_html($username, 'nohtml'));

$check_num = trim(check_html($check_num, 'nohtml'));
$result = $db->sql_query("SELECT * FROM ".$user_prefix."_users_temp WHERE username='$username' AND check_num='$check_num'");
if ($db->sql_numrows($result) == 1) {
$row = $db->sql_fetchrow($result);
$lv = time();
include("header.php");
title(_PERSONALINFO);
OpenTable();


I replaced you code from manual after this cod but it's not working, nothing happened even no errors to follow
it seems to me i replaced it in wrong place but I couldn't find any other place ... Sad
can you guys help out please I don't know what to do else
I use phpnuke 7.8
Tank you in Advance
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Feb 24, 2006 10:51 pm Reply with quote

There is no public folder in phpNuke v7.8. You are using some other nuke version or a different Your_Account module.
 
View user's profile Send private message
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Sat Feb 25, 2006 6:54 am Reply with quote

Quote:
\modules\Your_Account\public\



did you make a mistake when you typed this? As Raven said there is no public folder in that version module.

_________________
Themes BB Skins
http://www.jaded-designs.com
Graphic Tees
http://www.cafepress.com/jadeddesigns
Paranormal Tees
http://www.cafepress.com/HauntedTees
Ghost Stories & More
http://www.hauntingtales.net 
View user's profile Send private message Visit poster's website
dargah







PostPosted: Sat Feb 25, 2006 11:04 am Reply with quote

Thanks for respond Very Happy
I do have Public folder in "Your_Account" majol and I do have a lot of files inside of that but as Raven said my nuke it's not Standard English so maybe they have made some changes on that.
but here is some Copyright information about module
--------------------------------------------------------------------------------
Module's Name: CNB Your Account
Module's Version: 4.4.0 b2
Release Date: -- Nov 2004
License: Modifications - Copyright © 2000-2004 Comunidade PHP Nuke Brasil
Author's Name: Comunidade PHP Nuke Brasil
--------------------------------------------------------------------------------


Thank you.


Last edited by dargah on Fri Mar 10, 2006 10:32 am; edited 2 times in total 
Raven







PostPosted: Sat Feb 25, 2006 11:08 am Reply with quote

I am moving this to the CNBYA forum Wink
 
dargah







PostPosted: Sat Feb 25, 2006 11:21 pm Reply with quote

Sorry I posted in wrong forum , I'm pretty new Exclamation

guys ..now we know the module, is that mean we can find out where those code has to go ?? Mr. Green

Thank You
 
dargah







PostPosted: Mon Mar 06, 2006 9:53 pm Reply with quote

guys can i have some help please Rolling Eyes
 
Raven







PostPosted: Fri Mar 10, 2006 3:16 pm Reply with quote

<bump> Can anyone who uses CNBYA Help this user?
 
Nomad
Client



Joined: Jan 21, 2006
Posts: 87
Location: Arizona

PostPosted: Fri Mar 10, 2006 11:40 pm Reply with quote

Please add me to the list.....I would also like to add this feature, but dont know how to code it for the cnbya mod.

thanks in advance

_________________
Nomad!~! 
View user's profile Send private message Visit poster's website AIM Address
srhh
Involved
Involved



Joined: Dec 27, 2005
Posts: 296

PostPosted: Thu Apr 13, 2006 11:56 pm Reply with quote

I read here that the new release of CNBYA will have this option available within the module itself. YAY! There is a thread at the very top of this subforum that describes all the new features the new version will have and the integrated user registration PM function was one of them.
 
View user's profile Send private message
craigmack
Hangin' Around



Joined: Jan 07, 2006
Posts: 35

PostPosted: Thu Apr 20, 2006 2:58 pm Reply with quote

I found it so i gotta post it Bob talks about a public folder in this post http://www.ravenphpscripts.com/postt5357.html
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©