You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - where is U_ACTIVATE set? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
skadamo
Nuke Soldier
Nuke Soldier


Joined: Jan 25, 2005
Posts: 22


PostPosted: Wed Nov 02, 2005 9:39 am Reply with quoteBack to top

How do I find out where "U_ACTIVATE" variable is set? I think that is what is being set wrong in the folllowing instance...

When a user is sent a reactivation email the path to the /modules.php is incorrect.
Quote:

> Hello gandalf54,
>
> Your account on "korider.com" has been deactivated, most likely due to
> changes made to your profile. In order to reactivate your account you must
> click on the link below:
>
> http://korider.com/modules.php?name=Forums&file=profile&mode=activate&u=17&act_key=f57d2g
>
> --
> Thanks, korider.com Management


The user is presented...
http://korider.com/modules.php?"

It should be...
http://korider.com/PHP-Nuke/modules.php?

My Site URL is set to http://korider.com/PHP-Nuke/index.php

Thanks for any help!![/quote]
Find all posts by skadamoView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Wed Nov 02, 2005 3:50 pm Reply with quoteBack to top

You need to change the Site URL in your Preferences

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
skadamo
Nuke Soldier
Nuke Soldier


Joined: Jan 25, 2005
Posts: 22


PostPosted: Tue May 30, 2006 5:24 pm Reply with quoteBack to top

Thanks for the reply. Still did not fix it.

Can anyone tell me where U_ACTIVATE is set?
Find all posts by skadamoView user's profileSend private messageVisit poster's website
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 936

Location: United Kingdom

PostPosted: Tue May 30, 2006 10:00 pm Reply with quoteBack to top

Try removing /index.php from the Site URL in admin.php....preferences

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
skadamo
Nuke Soldier
Nuke Soldier


Joined: Jan 25, 2005
Posts: 22


PostPosted: Mon Jun 05, 2006 6:12 pm Reply with quoteBack to top

Hey, thanks I should have told you I already did that.

Are you all trying to protect me from myself or truely no one knows where U_ACTIVATE is set Very Happy
Find all posts by skadamoView user's profileSend private messageVisit poster's website
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 936

Location: United Kingdom

PostPosted: Tue Jun 06, 2006 1:20 am Reply with quoteBack to top

includes/usercp_register.php about line 550 (in my version)
Code:
'U_ACTIVATE' => $server_url . '&mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)


and around line 770
Code:
'U_ACTIVATE' => $server_url . '&mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)


and around line 730
Code:
'U_ACTIVATE' => $server_url . '&mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)


and $server_url is set in modules/Forums/profile.php

Code:
$script_name = 'modules.php?name=Forums&file=profile';
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';

$server_url = $server_protocol . $server_name . $server_port . $script_name;


and you set $server_name, etc in Forums Administration configuration.

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.197 Seconds - 292 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::