NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: qwertz
Today: 2
Yesterday: 0
Overall: 15102

Visitation:
Guests: 443
Members: 0
Total: 443


You are Anonymous user. You can register for free by clicking here
Sponsor Links
php-Nuke Themes and Templates
php-Nuke Themes and Templates

NukeResources :: View topic - YAYAP - (Yet Another Your Account Problem)
NukeResources Forum Index

NukeResources Forum Index -> Random Thoughts -> YAYAP - (Yet Another Your Account Problem)
Post new topic  Reply to topic    View previous topic :: View next topic 
YAYAP - (Yet Another Your Account Problem)
PostPosted: Mon Mar 24, 2003 11:55 am Reply with quote
DoctorKaos
Resource Newbie
Resource Newbie
 
Joined: Jan 11, 2003
Posts: 24




I was looking for a fix to a Your Account tweak Mysql error problem, and I ran into this thread:

http://www.phpnuke.org/modules.php?name=Forums&file=viewtopic&t=1637&highlight=253&sid=d63489fcf9d7b1427d71ad9effee8b4d

Unfortunately, the fellow doesn't give the fix. I e-mailed him, but no answer yet.

I just wondered if you might have any idea about what it is that he "commented out" ???
View user's profile Send private message
PostPosted: Mon Mar 24, 2003 12:01 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




If you are using Bob Marion's Your Account tweak but are not using Splatt or bbtonuke forums then you need to comment out the part that attempts to grab the 10 last forum posts from the userinfo function in modules/Your_Account/index.php
Code:
    // Last 10 Forum Topics
    $result = sql_query("select t.topic_id, t.topic_title, f.forum_name, t.forum_id from ".$prefix."_forumtopics t, ".$prefix."_forums f where t.forum_id=f.forum_id and t.topic_poster='$userinfo[uid]' order by t.topic_time DESC limit 0,10", $dbi);
    if ((sql_num_rows($result, $dbi) > 0)) {
        echo "<br>";
        OpenTable();
        echo "<b>"._LAST10BBTOPICS." $uname:</b><br>";
        while(list($topic_id, $topic_title, $forum_id, $forum_name) = sql_fetch_row($result, $dbi)) {
            echo "<li><a href=\"modules.php?name=Forums&file=viewforum&forum=$forum_name\">$forum_id</a> &#187 <a href=\"modules.php?name=Forums&file=viewtopic&topic=$topic_id&forum=$forum_name\">$topic_title</a><br>";
        }
        CloseTable();
    }

If you are using either one of those forums then you might be using the incorrect version of the tweak as there are two versions, one for Splatt and one for bbtonuke.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Mon Mar 24, 2003 12:57 pm Reply with quote
DoctorKaos
Resource Newbie
Resource Newbie
 
Joined: Jan 11, 2003
Posts: 24




My appologies fo not giving enough info (I should know better).

I have phpnuke6.0, with
the phpBB2.06-Port-beta1,
the Your_Account_600_230g

hope this helps
View user's profile Send private message
PostPosted: Mon Mar 24, 2003 1:03 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




You need to use Your_Account_600_BB230g

http://www.nukeresources.com/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=271&ttitle=Your_Account_Tweak_600_BB

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Mon Mar 24, 2003 1:34 pm Reply with quote
DoctorKaos
Resource Newbie
Resource Newbie
 
Joined: Jan 11, 2003
Posts: 24




Thanks, but do you think that the existing (wrong) Your Account tweak will be a problem ?

Do I just deactivate, remove the files, install the new ones, and re-activate ?
View user's profile Send private message
PostPosted: Mon Mar 24, 2003 2:41 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




Just upload the new files so that they replace the existing ones.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Mon Mar 24, 2003 3:00 pm Reply with quote
DoctorKaos
Resource Newbie
Resource Newbie
 
Joined: Jan 11, 2003
Posts: 24




Thanks for the help.
View user's profile Send private message
PostPosted: Mon Mar 24, 2003 5:29 pm Reply with quote
DoctorKaos
Resource Newbie
Resource Newbie
 
Joined: Jan 11, 2003
Posts: 24




That's what it was.

I wanted to see if commenting out the chunk of code you suggested above would work before replacing the tweak, and it did work Very Happy

A couple of days ago I did a few tweaks to redirect new users to the "13 year old" agreement thing, before bringing them back to the "choose your own password" form, and I didn't feel like redoing that all over again.

So once again, thanks for sharing your great wisdom.
View user's profile Send private message
YAYAP - (Yet Another Your Account Problem)
 NukeResources Forum Index -> Random Thoughts
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 139 unique hit(s) in the past 24 hours.
Forums ©
Nuke Sites Link Directory


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.52 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::