» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 74
0 members and 74 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant - combat obesity and smoking at the same time
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Profile settings within the Nuke 6.5 to 6.9 - General forums, part of the PHP-Nuke 6.5 to 6.9 category; Is there a way to turn on all profile settings, eg: at the moment if (Big if) I get a ...



Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2004, 03:29 PM
Member
 
Join Date: Jul 2004
Posts: 450
Profile settings
Is there a way to turn on all profile settings, eg: at the moment if (Big if) I get a new member to my forum and they reply or post for the first time, then someone like myself post a reply they dont get a reply mail because there Profile is set not to receive replys etc..

Is there a file I can edit so all Profile settings are switched on, and of course new users can edit as they wish after ?
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-28-2004, 04:03 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
If you fool with php much, you can probably edit this line in the modules/Your_Account/index.php file Nuke 7.0+ un der the
function activate area

Code:
	    $db->sql_query("INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_password, user_avatar, user_avatar_type, user_regdate, user_lang) VALUES (NULL, '$row[username]', '$row[user_email]', '$row[user_password]', 'gallery/blank.gif', 3, '$row[user_regdate]', '$language')");
what that line does is insert values into the users table when the user activates himself with the activation link your site sends.
You would need to look at the users table to dtermine what field are there that you want to insert values for in that line.
I would think that something like this would add the value of ON to the Email notification field.




Code:
	    $db->sql_query("INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_password, user_avatar, user_avatar_type, user_regdate, user_lang, user_notify, user_notify_pm) VALUES (NULL, '$row[username]', '$row[user_email]', '$row[user_password]', 'gallery/blank.gif', 3, '$row[user_regdate]', '$language', 1, 1)");
I added user_notify, user_notify_pm and then added the values of 1 for each to that line. That MIGHT work.

EDIT: I just tested and it works. I doubt you want to turn on everything for the user though. I would just turn on the email notification stuff. If you turn on Newsletter you might have some users calling you a spammer :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-01-2004, 02:04 PM
Member
 
Join Date: Jul 2004
Posts: 450
I does indeed, but you knew that :wink: thanks a million & sorry for the late reply,I wanted to edit everyone eles's file first....

BTW you all set for Voting tomorrow, i'll be watching on Sky News ( a UK channel )from 11pm tomorrow night.

I wounder who's fan this is oo:
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Profile shahzad Nuke 7.x - Modules 1 05-30-2006 04:43 PM
Were Do I find Port settings for my website? killerbee Site design 2 09-24-2005 07:53 PM
How to fix User Menu and Subscribtion Settings Burnzy Nuke 7.x - Modules 2 03-28-2005 01:14 AM
PHPnuke is ignoring my config.php settings miekedmr Nuke 7.x - General 1 03-01-2005 07:23 PM
Gallery in profile ConfusedCoolCat Nuke 7.x - Modules 2 01-26-2005 06:01 PM


All times are GMT -5. The time now is 06:36 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31