Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Nintendo Wii Friend Code in Profile & Postbit Details »»
Nintendo Wii Friend Code in Profile & Postbit
Version: 1.00, by Sim9 Sim9 is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 12-02-2006 Last Update: Never Installs: 29
Template Edits
Additional Files  
No support by the author.

A quick guide on adding a Nintendo Wii Friend Code profile field and postbit icon. Example here or see attached screenshot.

Step 1: Add Profile Field

Go to your Admin CP and add a new profile field for the Wii Code. This option can be found under User Profile Fields >> Add New User Profile Field. I suggest you use Single-Line Text Box with a maximum length of 19 (that allows for 16 digits and three spaces). Name the field something like "Nintendo Wii Friend Code."

Save, and check the Profile Field Manager. Make a note of the field name. For me, it is 'field5', but your results will differ depending on what your other profile fields are.

Step 2: Create & Upload an Appropriate Image for the Postbit

Create an image that is appropriate for Nintendo Wii and will fit nicely next to the other communication icons. Since I already made an appropriate icon for Nintendo Wii news posts, I have re-used that icon on my site for Wii Friend Codes. Create an icon that works well on your site, and upload it to your images folder. Make a note of the image URL, you will need that for the next step.

Step 3: Add Postbit Icon

Now pull up the AdminCP and go to Styles & Templates >> Style Manager. Choose Edit Template for the template your site is using (repeat this step for each unique root-level tempate your site uses). Open the Postbit Templates section and choose either Postbit or Postbit_Legacy depending on which type of postbit your site uses (vertical or horizontal).

Edit the template to include an image after your communication icons are listed.

The code template to display the image is below:

HTML Code:
<if condition="$post[YOUR_WII_FIELD_NAME_HERE]"><img src="YOUR_WII_IMAGE_PATH_HERE" alt="Wii Friend Code: $post[YOUR_WII_FIELD_NAME_HERE]"></if>
For instance, here is my communication icon line before and after edits:

Before:

HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
</div>
After:

HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
<if condition="$post[field5]"><img src="http://forums.editingarchive.com/images/newsposticons2/wii.jpg" alt="Wii Friend Code: $post[field5]"></if>
</div>
Step 4: Test it Out & Notify Your Users

Go to your User CP, and update your profile with your Wii Code (or make one up if you don't have a Wii :P). That number should show up on your profile and as an icon in your postbit. If everything works, annouce it to your community and encourage them to add their Wii numbers.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-06-2008, 11:13 AM
sp0okz sp0okz is offline
 
Join Date: Dec 2007
Location: Newcastle Uk
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we get it like wii pals if they wont mind sharing it, thanks for the edit anyways ...
Reply With Quote
  #23  
Old 03-06-2008, 06:55 PM
sp0okz sp0okz is offline
 
Join Date: Dec 2007
Location: Newcastle Uk
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant get this mod to work i done it right 2 but nothing is showing extra for me
Reply With Quote
  #24  
Old 03-08-2008, 10:29 PM
Xray12345 Xray12345 is offline
 
Join Date: Jan 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It simple to get it like wiipals, send me a pm if you want to know how..
Reply With Quote
  #25  
Old 03-25-2008, 10:21 AM
poromenos poromenos is offline
 
Join Date: May 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xray12345 View Post
Do you have any idea how to do this?

Hello, I really need someone to code this plugin! its for users to post there friendcodes for profiles.

Heres how it should look in the user cp:


Heres how it should look when you click on the game to add your friendcode to it:


Heres how it should look in the profile:


Heres how it should look with your mouse hovered over it in profile:


There should be an Area in the Admin Control Panel where you can add games and images for the games, also it should only display the image in the profile if the user added that friendcode via user cp. Im sure im not the only person needing this, so please can someone do it?
if you find how to do that please inform us!
Reply With Quote
  #26  
Old 08-15-2008, 02:30 PM
gorentals gorentals is offline
 
Join Date: May 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking for this exact same thing. Please let me know.
Reply With Quote
  #27  
Old 08-21-2008, 09:44 AM
Chris11987 Chris11987 is offline
 
Join Date: Jun 2008
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to add that whole Friend Code section like in the screen above?
Reply With Quote
  #28  
Old 05-06-2009, 08:08 PM
gorentals gorentals is offline
 
Join Date: May 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to do the above like in the screenshot? I'm willing to pay.
Reply With Quote
  #29  
Old 07-08-2009, 09:23 PM
Feanor_87's Avatar
Feanor_87 Feanor_87 is offline
 
Join Date: Mar 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ That

Anybody figure it out?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04833 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete