» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 58
0 members and 58 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11: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
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Help modifying Your Account details within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; Hi, if possible could someone help with this small project I am doing, please? What I would like to do ...


Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2005, 11:35 PM
Junior Member
 
Join Date: Nov 2004
Location: Wales, UK.
Posts: 9
Help modifying Your Account details
Hi, if possible could someone help with this small project I am doing, please?

What I would like to do is add Xfire information to my forums in the same manner that the MSNM, AIM, YIM and ICQ are; ie a data entry space in Your Account/Your Info, and also in Profile, and the small icons below each users post, that when clicked will give the relevant info, or start the messenger program (as the AIM and YIM etc do) and so on.

I have so far edited the index.php file in Your Account so that the data entry box is there (although it says "_YXFIRE (optional)" instead of "Your Xfire (optional)"). Also when I enter the data it doesn't remain when I try to save it. I am assuming I need to edit other files for it to work, as it is not showing in the Profile page either.

Would it be possible for someone to let me know which other files (and their locations) I need to edit. Hopefully I can figure out how to, I just need to know where they are at this time.

I am using phpNuke 7.5 and have fairly basic knowledge of php.

Many thanks,

-Peter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-14-2005, 02:10 PM
Member
 
Join Date: Jul 2004
Posts: 450
includes/usercp_register.php

includes/usercp_viewprofile.php

modules/Forums/viewtopic.php

themes/your-theme/forums/forums.cfg

themes/your-theme/forums/profile_add_body.tpl

themes/your-theme/forums/profile_view_body.tpl

themes/your_theme/forums/viewtopic_body.tpl

There maybe more :cry: maybe someone eles will reply :wink:
__________________
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
  #3 (permalink)  
Old 02-14-2005, 02:22 PM
Junior Member
 
Join Date: Nov 2004
Location: Wales, UK.
Posts: 9
Hey Marty! That's great, thanks for the fast reply.

I will try those and let you know how I get on. In the meantime, if anybody else knows of other files or has any suggestions please feel free to add your inputs.

Thanks again,

-Pete.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-14-2005, 02:39 PM
Member
 
Join Date: Jul 2004
Posts: 450
The above would cover Your_Account Profile settings, however if you wanted to have the same Xfire entry in Forums Profile, edit the same .tpl files in

modules/Forums/templates/subsilver/

Think thats it :?
__________________
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
  #5 (permalink)  
Old 02-15-2005, 01:11 AM
Junior Member
 
Join Date: Nov 2004
Location: Wales, UK.
Posts: 9
Hello again,

I have edited all those files you mentioned; I am getting a few problems; it still won't save the xfire details in Your Account/Your Info page; also in the Forum/Profile page, there is now a space for me to enter my xfire name, but instead of the title 'XFire' next to the data entry box, all I can see is a colon mark. Also when I enter me xfire name then save it, I get the following errors:

---------

Could not update users table

DEBUG MODE

SQL Error : 1054 Unknown column 'user_xfire' in 'field list'

UPDATE nuke_users SET user_email = 'xxxxxxx@ntlworld.com', user_icq = '', user_website = 'http://www.DiscPete.com', user_occ = 'Network Support', user_from = 'Wales, UK.', user_interests = 'Stuff.', user_sig = '', user_sig_bbcode_uid = '401b6d8a5b', user_viewemail = '0', user_aim = 'xxxxxxx@aol.com', user_yim = '', user_xfire = 'discpete',user_msnm = 'xxxxxxx@hotmail.com', user_attachsig = '1', user_allowsmile = '1', user_allowhtml = '1', user_allowbbcode = '1', user_allow_viewonline = '1', user_notify = '0', user_notify_pm = '1', user_popup_pm = '1', user_timezone = '0', user_dateformat = 'D M d, Y g:i a', user_lang = 'english', user_style = '1', user_active = '1', user_actkey = '' WHERE user_id = '2'

Line : 499
File : /home/fhlinux197/d/discpete.com/user/htdocs/includes/usercp_register.php

--------

I have checked the file around line 499 but can't really see a problem, although to be honest I'm not sure what to look for;

Another problem I have got occurs when I click on a post in a forum and I get this error message:

----------

Could not obtain post/user information.

DEBUG MODE

SQL Error : 1054 Unknown column 'u.user_xfire' in 'field list'

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_xfire, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM nuke_bbposts p, nuke_users u, nuke_bbposts_text pt WHERE p.topic_id = '27' AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 20

Line : 413
File : /home/fhlinux197/d/discpete.com/user/htdocs/modules/Forums/viewtopic.php

----------

Again, I have checked the file but cannot see any errors.

Any help would be appreciated.

Regards,

-Peter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2005, 04:01 AM
Member
 
Join Date: Jul 2004
Posts: 450
Looks like you need to create a new field in your database

one sec, i'll post something back in a minute
__________________
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
  #7 (permalink)  
Old 02-15-2005, 04:25 AM
Member
 
Join Date: Jul 2004
Posts: 450
Run this Sql code

Code:
ALTER TABLE nuke_users ADD user_xfire VARCHAR(25) DEFAULT 'xFire id : 'NOT NULL;
Maybe someone can check that over First
__________________
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
  #8 (permalink)  
Old 02-15-2005, 10:03 AM
Junior Member
 
Join Date: Nov 2004
Location: Wales, UK.
Posts: 9
Hi Marty!

I really appreciate the help you have given me. The sql code worked - the error messages have gone, my username stays in the data entry box as it should, and the icon I created links to the profile so that users can see my username. Good stuff.

Although everything seems to work ok, I am still not seeing a title next to the data entry area for xfire in Profile (or in 'Viewing Profile for...'), ie where the others say AIM Address or MSN Messenger etc, left of where the data is input. Is there another file I have missed to edit? The reaon I ask is that I have gone through all the files you listed to edit, and none of them have AIM Address in the text, which I used as an alternative to search. Hopefully I'm explaining myself so that you can understand me.

Thanks again,

-Peter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-15-2005, 10:13 AM
Member
 
Join Date: Jul 2004
Posts: 450
Jesus it did 8O I didnt doubt it one bit anyway ok lets have a look

modules/Forums/language/lang_english/lang_main.php

That might cover everything
__________________
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
  #10 (permalink)  
Old 02-24-2005, 01:19 AM
Junior Member
 
Join Date: Feb 2005
Posts: 1
Are you planning on releasing this mod to the public? Cause I was looking for just this.
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
Modifying a a theme? Elethil Nuke 7.x - Themes 9 12-17-2006 07:59 PM
Module creatian needed.. (Please read for details) LFFPicard Nuke 6.5 to 6.9 - Modules 1 08-08-2003 07:28 AM
Help with login form details. Garrett Open topics 2 03-09-2003 10:46 AM
modifying smartdark machinegod Theme packs 5 03-06-2003 07:15 PM
HELP !!! cannot create account by using Admin account anht1706 Purged Topics 1 01-18-2003 01:33 AM


All times are GMT -5. The time now is 11:43 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