PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
nuk3r
New Member
New Member


Joined: Dec 19, 2003
Posts: 18

PostPosted: Sat Feb 21, 2004 2:21 am Reply with quote Back to top

hello
I seem to be getting an invalid link being sent by the activation email.

its sending out

Code:
/modules.php?name=Your_Account


there is no
Only registered users can see links on this board!
Get registered or login to the forums!
or anyother info after the Your_Account part?

Ive tried a number of fixes to get rid of this but none of them seem to change it?

Ive changed servers so the only thing i can think of is maybe a different dir structure?

my root dir is "mainwebsite_html" but this is just a virtual link on the server to /var/www/html/

so all my files are loacated inside /var/www/html/

ive tried every dir i can think of
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!


and the email still comes thru as /modules.....

Id simply use the no email hack and be done but my your_account index.php is already changed alot,so i cant just overwrite it.

Can anyone suggest a fix for this? ITS DRIVING ME MAAAAD Crying or Very sad
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Feb 21, 2004 8:51 am Reply with quote Back to top

First off I would restore the defauly index.php just to verify that it works correctly. If it does, then you know, for sure, that it is in your modifications.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
chatserv
The Mouse Is Extension Of Arm


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

PostPosted: Sat Feb 21, 2004 11:29 am Reply with quote Back to top

In modules/Your_Account/index.php under function finishNewUser you should have a line similar to:
Code:
$finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num";

and $nukeurl should be in the function's global line, if that checks ok then your site url in admin preferences might be empty.
View user's profile Send private message Visit poster's website
nuk3r
New Member
New Member


Joined: Dec 19, 2003
Posts: 18

PostPosted: Sat Feb 21, 2004 3:29 pm Reply with quote Back to top

Thanks for the help Wink

I checked my index.php file in your_account and it was wrong

you said it should be this

$finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num";

mine was only this portion
/modules.php?name=$module_name

ive added in the correct line from a fresh index file but now when a user registers it send the correct link but it doesnt add my
Only registered users can see links on this board!
Get registered or login to the forums!
to the front?

Confused
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

PostPosted: Sat Feb 21, 2004 3:39 pm Reply with quote Back to top

If the finishlink line was incorrect as i mentioned it is very likely that $nukeurl is missing from the function's global line:
global $stop, $EditedMessage, $adminmail, $sitename, $Default_Theme, $user_prefix, $dbi, $storyhome, $module_name, $nukeurl;
View user's profile Send private message Visit poster's website
nuk3r
New Member
New Member


Joined: Dec 19, 2003
Posts: 18

PostPosted: Sat Feb 21, 2004 3:45 pm Reply with quote Back to top

Embarassed OK now im just choked! its always the simplest things Sad
seems there was an extra character in $nukeurl variable
so it was searching for $nukeurlm instead of $nukeurl

Rolling Eyes

THANKS FOR THE help chatserv made my day now Wink
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

PostPosted: Sat Feb 21, 2004 3:52 pm Reply with quote Back to top

Wink
View user's profile Send private message Visit poster's website
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum