MyBB Community Forums

Full Version: Friend Codes Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone make a plugin for listing Wii and DS friend codes? I think this would be a really popular plugin considering how many forums I see with people listing their friends codes in their signature. o.o
So whats needed?
Code:
Field for 'name'
Field for 'console'
Field for 'gamename'
Field for 'friend-code'

And than a summary page of all the codes ?

Edit:

"BetaRelease Only for MyBB 1.4" >

Install:
* Upload myfc.php into your root folder
* Upload ./inc/friendcodes.php into your ./inc/plugins/ folder
* Activate.
* Add Consoles in the SettingsGroup ( Default: Wii && Nintendo DS )

Screens:
UCP Nav : [attachment=10188]

Index Page : [attachment=10187]

Add New : [attachment=10186]
this would be something good and I think the format you have Lex is perfect for it.
Wow. It looks and works great. Thanks and nice job. Wink

There are several changes that need to be made though.

- Admins should have the ability to change which games can have friend codes entered.
- The "Enter FriendCode" field should have a restricted number of characters. Probably 14 because Wii Friend Codes are xxxx-xxxx-xxxx.
First thing can be done; will take a look at it.
And that's a standard codeformat for all consoles ? xxxx-xxxx-xxxx ?

Edit:
* Games can be added in a new setting in the FriendCodes Group; if there are no games in that setting it will show a textbox;
* I've set a maxlength of 14 at the friendcodes textbox + a check in the code;
* Update :
- Uninstall Old Version; if you don't want to loose all entered FriendCodes
Open friendcodes.php
Find && Delete
PHP Code:
    if($db->table_exists('friendcodes'))
    {
        
$db->query("DROP TABLE ".TABLE_PREFIX."friendcodes"); 
    } 

- Upload New Files ( myfc.php && ./inc/plugins/friendcodes.php )
- Install && Activate;
(08-05-2008 09:20 AM)LeX- Wrote: [ -> ]First thing can be done; will take a look at it.
And that's a standard codeformat for all consoles ? xxxx-xxxx-xxxx ?

Edit:
* Games can be added in a new setting in the FriendCodes Group; if there are no games in that setting it will show a textbox;
* I've set a maxlength of 14 at the friendcodes textbox + a check in the code;
* Update :
- Uninstall Old Version; if you don't want to loose all entered FriendCodes
Open friendcodes.php
Find && Delete
PHP Code:
    if($db->table_exists('friendcodes'))
    {
        
$db->query("DROP TABLE ".TABLE_PREFIX."friendcodes"); 
    } 

- Upload New Files ( myfc.php && ./inc/plugins/friendcodes.php )
- Install && Activate;

xxxx-xxxx-xxxx is the standard format for Wii while xxxxxx-xxxxxx is the standard for DS.

Once again, nice work. Wink
Also, just so you know, it's Super Smash Bros. Brawl not Super Mario Brawl. Toungue
(08-05-2008 12:20 PM)coolmaster Wrote: [ -> ]Once again, nice work. Wink
Also, just so you know, it's Super Smash Bros. Brawl not Super Mario Brawl. Toungue

Yeah just entered something to test =P
i saw a commercial about that game and remembered the title vague ^^
Can be changed easily =P
Hehe, Great Job!
I'm using it right now!
Thanks LeX-! =D

I'm loving the progress.
Reference URL's