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, 44 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - XBOXLive Gamertag help [ ]
 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
XjrBuddhaX
Nuke Cadet
Nuke Cadet


Joined: Dec 20, 2007
Posts: 5


PostPosted: Mon Feb 11, 2008 6:07 pm Reply with quoteBack to top

Hey everyone, I have a question for you, anyone willing to take a stab at it and help a new guy out? I have been trying to add a line to a module. For the most part I have it working, but I'm trying to get it to show a tag and link it to a page. Here it what I have.

Quote:
OpenTable();
DisplayHeader();
echo "<ul>";
while ($row1 = $db->sql_fetchrow($result1)) {
if (($row1[game_url] == "http://") || ($row1[game_url] == "") || ($row1[game_url] == NULL))
echo "<li><strong><a href=\"modules.php?name=XBOXLive_GamerTags&op=SingleGame&gid=".$row1[gid]."\">".$row1[name]."</a></strong></li>";
else
echo "<li><strong><a href=\"modules.php?name=XBOXLive_GamerTags&op=SingleGame&gid=".$row1[gid]."\">".$row1[name]."</a></strong> ( <a href=\"" . $row1[game_url] . "\">" . _XBOXWEBSITE . "</a> )</li>";

$user_sql = "select user_id, username, xbox_gamertag from ".$prefix."_users, ".$prefix."_xboxlive_usergames where xbox_gamertag is not null and gid=".$row1[gid]." and uid=user_id";
if (!($result2 = $db->sql_query($user_sql))) {
$error = $db->sql_error();
echo "<!-- " . $user_sql . " -->\n";
echo "<!-- Could not get game list! $error[code] : $error[message] -->\n";
}
if ($db->sql_numrows($result2) != 0) {
echo "<ul>";
while ($row2 = $db->sql_fetchrow($result2)) {
echo "<li><a href=\"modules.php?name=XBOXLive_GamerTags&op=SingleUser&uid=" . $row2[user_id] . "\">" .$row2[username] . "</a>" . _XBOXUSERTAG . "<strong>" . $row2[xbox_gamertag] . "</strong></li>";

echo "<li><a href="http://profile.mygamercard.net/".$row2[xbox_gamertag] .<img src="http://card.mygamercard.net/" . $row2[xbox_gamertag] . ".png</img></li>";

}
echo "</ul>";
}
}


The line in bold is wrong, and I have no Idea how to fix it. What am I doing wrong? Any help would be great. Thanks for all your time.

Buddha
Find all posts by XjrBuddhaXView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12346


PostPosted: Mon Feb 11, 2008 7:17 pm Reply with quoteBack to top

Quote:

echo "<li><a href=\"http://profile.mygamercard.net/".$row2[xbox_gamertag] ."\"><img src=\"http://card.mygamercard.net/" . $row2[xbox_gamertag] . ".png\"></a></li>";

_________________
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
SST_Sparkz
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2008
Posts: 1


PostPosted: Tue Feb 12, 2008 10:28 am Reply with quoteBack to top

is this a module that will allow members to submit there bxl gamertags and list them on a page and list them in a scrolling block? if so where can i get hold of it?
Find all posts by SST_SparkzView user's profileSend private message
XjrBuddhaX
Nuke Cadet
Nuke Cadet


Joined: Dec 20, 2007
Posts: 5


PostPosted: Tue Feb 12, 2008 4:57 pm Reply with quoteBack to top

Thanks, Evaders99. I had this lastnight, but didn't get around to posting the fix.

SST_Sparkz yes it is

I got it here http://nukecode.com/modules.php?name=Downloads&op=getit&lid=510
Find all posts by XjrBuddhaXView user's profileSend private message
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.167 Seconds - 179 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::