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

Reply
 
Thread Tools
PS3 Gamercard in Postbit Legacy Details »»
PS3 Gamercard in Postbit Legacy
Version: 1.01, by zombietom zombietom is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.4 Rating:
Released: 10-19-2009 Last Update: 03-02-2010 Installs: 18
Template Edits
 
No support by the author.

This is a mod i made several Months ago it should work on any version on VB.
The Good part about my code is that if a person don't enter their PS3 info nothing will show up.

Special note: To Get this mod to work and show the ps3 gamercard, your users will have to go to www.us.playstation.com and login with their PSN info, which is their email address and password. Once they do this they will just need to click on "Portable Id" and this will make the PS3 gamercard show on your forums. Even forum members from the UK will still need to go to the US playstation site.. no need to go to the EU playstation site.

There is a few options to consider with adding this ps3 gamercard mod.

If you don't have a Field ID that allows user to add in the PS3 gamertag you will need to create one.

Heres how:
Create a new profile Field (remember the field id number)
Directions:
1. In adminCP go to user profile fields
2. Click on add new profile field
3. add The following
Title - PS 3 ID
Description -Type in PS3 GamerTag.
Default Value -leave blank
Max length of allowed user input - set to whatever you want
Field Length- Set to whatever you want
Profile Field Type -Single-Line Text Box
Field Required - yes or no ..up to you..i set mine to no
Field Editable by User - YES
Private Field - NO
Field Searchable on Members List - Yes or No ..up to you
Show on Members List -yes or no ..up to you
Regular Expression - Left mine blank
Which page displays this option - select "edit your details" from the menu
Finish - Click save and remember you fieldID number

Here is the Code, Add it to your Postbit Legacy.
Look for this
PHP Code:
$post[musername]
</if>
</
div
Add this code under it and replace the X in fieldx with the field id you just created.
PHP Code:
<if condition="$post[field5]">
<
img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/$post[fieldX].png" scrolling="no" frameBorder="0" height="140" width="204">
</if> 
Now here is another option.
If you have the Gamefields Icons mod installed you will use the following code.
Gamefields mod is here
https://vborg.vbsupport.ru/showthread.php?t=196587

So if you have the above mod installed use this code in your postbit legacy.

Look for this
PHP Code:
$post[musername]
</if>
</
div
Add this code under it.
PHP Code:
<if condition="$post[gf_playstation]">
<
img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/$post[gf_playstation].png" scrolling="no" frameBorder="0" height="140" width="204">
</if> 

Also if you want to install Xbox Live Gamercard Block in Profile
Found here
https://vborg.vbsupport.ru/showthread.php?t=171157

You can add the code to show up in your profile under the xbox card.
You just need to edit the memberinfo_block_gamercard ..If anyone needs help with this just let me know.

Here is a demo of this mod in action
Postbit view
http://www.tzaclan.net/forum/showthread.php?t=12925

Profile view
http://www.tzaclan.net/forum/member.php?u=25

This works very well with UK and USA members.

Download Now

File Type: txt ps3gamercard.txt (4.6 KB, 45 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
FTG LIQUID CL

Comments
  #12  
Old 12-12-2009, 11:10 PM
tommyturnage's Avatar
tommyturnage tommyturnage is offline
 
Join Date: Nov 2007
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the code to add the psn to the memberinfo_block_gamercard template?
Reply With Quote
  #13  
Old 12-13-2009, 02:59 AM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The info is included in the download, i'm pretty sure.
if not just let me know

thanks
Reply With Quote
  #14  
Old 12-22-2009, 02:43 AM
tommyturnage's Avatar
tommyturnage tommyturnage is offline
 
Join Date: Nov 2007
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post exactly what your memberinfo_block_gamercard template looks like?

thanks
Reply With Quote
  #15  
Old 12-22-2009, 02:13 PM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tommyturnage View Post
can you post exactly what your memberinfo_block_gamercard template looks like?

thanks
I PMed you some details
Reply With Quote
  #16  
Old 01-04-2010, 10:30 PM
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Location: Sunny Florida
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Thanks for the Mod,

Any idea why the PSN ID wont update ? my users are are saying it wont updated because they have gotten more trophies than what it displays.

Thanks again
Reply With Quote
  #17  
Old 01-05-2010, 03:01 PM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can login to the PSN (us.playstation.com) site a couple times a month and click portable id and then it will update.
Reply With Quote
  #18  
Old 01-05-2010, 09:35 PM
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Location: Sunny Florida
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks I`ll inform them.
Reply With Quote
  #19  
Old 02-28-2010, 06:52 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zombietom View Post
The info is included in the download, i'm pretty sure.
if not just let me know
For the Profile, it is not included in the download.



This does not exist in MEMBERINFO Template (or memberinfo_block_gamercard)
Quote:
Look for this
PHP Code:
$post[musername
</if> 
</
div
So we cant add this under it.
Quote:
PHP Code:
<if condition="$post[gf_playstation]"
<
img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/$post[gf_playstation].png" scrolling="no" frameBorder="0" height="140" width="204"
</if> 
</if> 
Reply With Quote
  #20  
Old 03-01-2010, 12:44 AM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to install this first and add the ps3 code to it
Xbox Live Gamercard Block in Profile
Found here
https://vborg.vbsupport.ru/showthread.php?t=171157

Thanks
Reply With Quote
  #21  
Old 03-02-2010, 05:35 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont you think directions on how to do it without having to install the Xbox mod would be a good idea.?
I know there are lots of people out there that dont use Xbox..

Although i do use Xbox & have the other mod installed already. (but this still didn't work)
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 08:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04532 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete