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, 41 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 - Still Have A Sign Up Problem [ ]
 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
DJ-Loki
Sergeant
Sergeant


Joined: Feb 03, 2003
Posts: 108

Location: The Netherlands

PostPosted: Mon Feb 17, 2003 2:48 pm Reply with quoteBack to top

In a prior post i had a complete sign up problem. Now is one part solved. But one error remains. I don't know how to explain it, but i will try. On my site (with my theme) there are 2 ways to sign up. 1st: in the box 2nd: in the left upper corner of the site below the logo. The box sign up works fine now, i had to do some modifications in the Your_Account.php file. But now i have still problems with the upper corner one. It says after a sign up: Could not insert data into users table. I get this in a forum screen (PHPBB). I use PHPNuke 6.0 and PHPBB 2.0.3.

Go to: http://www.dj-loki.com and see/try it.
Find all posts by DJ-LokiView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Mon Feb 17, 2003 2:59 pm Reply with quoteBack to top

your theme takes you to the phpBB sign-up form. This has never worked as far as i can remember as part of hte port to nuke.

I'd find that link if I were you, and change it to:
http://www.dj-loki.ocm/modules.php?name=Your_Account&op=newuser

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
DJ-Loki
Sergeant
Sergeant


Joined: Feb 03, 2003
Posts: 108

Location: The Netherlands

PostPosted: Tue Feb 18, 2003 10:07 am Reply with quoteBack to top

In wich file should i find it?
Find all posts by DJ-LokiView user's profileSend private messageVisit poster's website
DJ-Loki
Sergeant
Sergeant


Joined: Feb 03, 2003
Posts: 108

Location: The Netherlands

PostPosted: Tue Feb 18, 2003 10:24 am Reply with quoteBack to top

I found this in theme.php:

function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext<br>$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i> $notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";

I think i should change some in the bold area, but what?
Find all posts by DJ-LokiView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue Feb 18, 2003 10:26 am Reply with quoteBack to top

none of that. Erm.. there'll be a link pointing to the forums module somewhere. Look for that. It'll be in the themeheader() function

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
DJ-Loki
Sergeant
Sergeant


Joined: Feb 03, 2003
Posts: 108

Location: The Netherlands

PostPosted: Tue Feb 18, 2003 12:44 pm Reply with quoteBack to top

Hmm, nothing found in the headerfile! Crying or Very sad I really don't know where to look.
Find all posts by DJ-LokiView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Feb 18, 2003 1:41 pm Reply with quoteBack to top

Depends on what theme you are using, as an example in the subSilver theme you'd find the following in theme.php under the themeheader function:.
Code:
.
    if ($username == "Anonymous") {
        echo "&&<font color=\"#ffffff\"><a href=\"modules.php?name=Your_Account\">Create</a></font> an account\n";
    } else {
        echo "&&Welcome $username!";
        $result = sql_query("select uid from nuke_users where uname='$username'", $dbi);
        list($uid) = sql_fetch_row($result, $dbi);
        $result2 = sql_query("select to_userid from $prefix"._priv_msgs." where to_userid='$uid'", $dbi);
        $numrow = sql_num_rows($result2, $dbi);
        if ($numrow >= "1") {
            echo "<b><i><font color=\"red\">&&&&You have <a href=\"/modules.php?name=Private_Messages\"><b>$numrow</b></a> private messages!</font></i></b>";
        }
    }.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
DJ-Loki
Sergeant
Sergeant


Joined: Feb 03, 2003
Posts: 108

Location: The Netherlands

PostPosted: Tue Feb 18, 2003 2:25 pm Reply with quoteBack to top

The problem is solved thanks to Mikem! Thanks again for the efford!! Very Happy
Find all posts by DJ-LokiView user's profileSend private messageVisit 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.209 Seconds - 145 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::