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, 118 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 - module development [ ]
 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
Nemesis
Corporal
Corporal


Joined: Apr 06, 2003
Posts: 65


PostPosted: Fri Apr 25, 2003 5:54 pm Reply with quoteBack to top

foudn this nice OFxmodule which i ma trying to fit into my idea so as not to drive myslef batty trying to maek one from scratch.

my intention- to make check boxes where memebrs can select which games they play on battle.net and have the game icons show in the member list next to name

i am trying to use this to select the icon (with a blank.gif for a default image for proper placement in memebr list)

each checkbox uses same layout with different names
Code:

<?php
if ( $cl[m_war3] != "" )
{
    $m_war3 = $cl[m_war3];
} else {
    $m_war3 = "blank.gif";
}
?>
<input type="checkbox" name="$m_war3" <?php
if($cl[m_war3] =="images/icons/war3.gif"){echo " CHECKED";}?>>WarCraft III


now i am trying to call the code into the memebr list with

Code:

<img src="<?php echo $m_sc ?>" width="30" height="15" border="0">


anyone see my mistake?
Find all posts by NemesisView user's profileSend private messageVisit poster's websiteAIM Address
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Apr 25, 2003 6:01 pm Reply with quoteBack to top

I responded to you before on this. You need to put a $ sign in front of the array element
Code:
if ( $cl[m_war3] != "" )
{
    $m_war3 = $cl[m_war3];
should be
Code:
if ( $cl[$m_war3] != "" )
{
    $m_war3 = $cl[$m_war3];

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Nemesis
Corporal
Corporal


Joined: Apr 06, 2003
Posts: 65


PostPosted: Fri Apr 25, 2003 6:03 pm Reply with quoteBack to top

sorry i scrathced the old and tried to redo its completely over must have done same mistake. instead of a drop ( i oculdnt get ot work) i tried to go with a checkbox thought it maybe easier
Find all posts by NemesisView user's profileSend private messageVisit poster's websiteAIM Address
Nemesis
Corporal
Corporal


Joined: Apr 06, 2003
Posts: 65


PostPosted: Sat Apr 26, 2003 3:17 pm Reply with quoteBack to top

man this been like 4 days same problem for me , anyone have any idea wher i cna get a good easy to use indepth manual ? i tried a few ( read the one here) and tried like www.php.net manule( reads like greek) anyone have any idea where i can get one for those who need a full easy to read comprehensive guide to php coding
Find all posts by NemesisView user's profileSend private messageVisit poster's websiteAIM Address
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sat Apr 26, 2003 3:20 pm Reply with quoteBack to top

It seems to me that your problems are more PHP related than nuke related. You need to get a good book on PHP. Goto your nearest Borders, Barnes & Noble, or whatever and look them all over. It's much like a car. Lots of them out there, but it's personal preference that sells the car usually.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Nemesis
Corporal
Corporal


Joined: Apr 06, 2003
Posts: 65


PostPosted: Sat Apr 26, 2003 3:22 pm Reply with quoteBack to top

hehe tried that , but i always get side tracked to the robert jorden sectino and end up walking out with a good novel 8- ) . hm deffiently php problem, i ma new. ill have to go buy a book.. worked for html and flash , shoudl work for php
Find all posts by NemesisView user's profileSend private messageVisit poster's websiteAIM Address
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.498 Seconds - 296 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::