Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
PSN Portable ID in Postbit Details »»
PSN Portable ID in Postbit
Version: 1.00, by smokin1337 smokin1337 is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 10-18-2009 Last Update: Never Installs: 6
Template Edits
 
No support by the author.

This will display your PSN Portable ID in postbit. You have to add 1 profile field and 1 template mod.

Example:


EU Example:


Add profile field:

Single-line textbox

Name: PSN ID

Description: Enter your PSN ID

Rest leave default

Go to postbit or postbit_legacy and find:

Code:
$template_hook[postbit_user_popup]
Add above:

Code:
<!--- / PSN Portable ID --->

<if condition="$post['fieldX']"><tr><td class="vbmenu_option">
<a href="http://profiles.us.playstation.com/playstation/psn/profiles/$post[fieldX]"><img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/$post[fieldX].png" border="0" height="140" width="204" /></a></td></tr></if>

<!--- / End PSN Portable ID --->
If you are in EU use this one.

EU ONLY ADD:

You may have to play around with the EU version as far as size goes to make it look right. It's wider than the US version.

Code:
<!--- / PSN Portable ID EU --->

<if condition="$post['fieldX']"><tr><td class="vbmenu_option">
<a href="http://eu.playstation.com/psn/profile/$post[fieldX]"><img src="http://mypsn.eu.playstation.com/psn/profile/$post[fieldX].png" border="0" height="140" width="204" /></a></td></tr></if>

<!--- / End PSN Portable ID EU --->
As an alternate since the EU image is so much bigger you can use it under the users signature. Follow this to use for a sig.

In postbit or postbit legacy find:
Code:
$template_hook[postbit_signature_end]
Add above:
Code:
<!--- / PSN Portable ID EU Sig --->
<a href="http://eu.playstation.com/psn/profile/$post[fieldX]"><img src="http://mypsn.eu.playstation.com/psn/profile/$post[fieldX].png" align="center" border="0" /></a>
<!--- / End PSN Portable ID EU Sig --->
Just replace the red X's with the id of the profile field you created.

That's it, please mark installed if you use it.

Show Your Support

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

Comments
  #2  
Old 10-19-2009, 05:32 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

removed as it messed my template up.
wll wait for someone with the knowlage as im new to this vbulletin but installed it like you said.
Reply With Quote
  #3  
Old 10-19-2009, 04:18 PM
smokin1337 smokin1337 is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
removed as it messed my template up.
wll wait for someone with the knowlage as im new to this vbulletin but installed it like you said.
Should work now use the EU code instead.
Reply With Quote
  #4  
Old 10-20-2009, 02:04 PM
marwolf marwolf is offline
 
Join Date: May 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work.
Reply With Quote
  #5  
Old 10-20-2009, 02:37 PM
smokin1337 smokin1337 is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does work, some themes are different. You have to know how to edit templates, also i'm thinking the person using it has to make a portable id on playstation.com. I didn't make one though and it showed mine. But EU i think you have to go make one.
Reply With Quote
  #6  
Old 10-20-2009, 06:17 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will wait like i said for someone to maybe get it slimmer as the uk 1 is way too wide for the profile.
if i knew ho to i waould but just learning vb.lol
Reply With Quote
  #7  
Old 10-20-2009, 07:05 PM
smokin1337 smokin1337 is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
will wait like i said for someone to maybe get it slimmer as the uk 1 is way too wide for the profile.
if i knew ho to i waould but just learning vb.lol
Yea it is kinda big thats why i added this:

As an alternate since the EU image is so much bigger you can use it under the users signature. Follow this to use for a sig.

In postbit or postbit legacy find:
Code:
$template_hook[postbit_signature_end]
Add above:
Code:
<!--- / PSN Portable ID EU Sig --->
<a href="http://eu.playstation.com/psn/profile/$post[fieldX]"><img src="http://mypsn.eu.playstation.com/psn/profile/$post[fieldX].png" align="center" border="0" /></a>
<!--- / End PSN Portable ID EU Sig --->
Just replace the red X's with the id of the profile field you created.
Reply With Quote
  #8  
Old 10-20-2009, 07:16 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seen that mate but want it in profile,some members have xox 360,some ps3 an some both so would be great to get it to show in profile
Reply With Quote
  #9  
Old 10-20-2009, 07:16 PM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made this for myself a few months back and to get any card to show you will need to go to us.playstation or eu.playstation.com and login to your PSN accoutn using your current email and password...then click on portable id and it will show up.
I just use the US version as the Eu people can still login over at us.playstation.com and the card will show.
Check it out here
http://www.tzaclan.net/forum/showthread.php?t=12925

I have user from all over .
That is how it works with the one i made.

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

I have mine in profile
http://www.tzaclan.net/forum/member.php?u=25
Reply With Quote
Reply

Thread Tools

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 03:46 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.13473 seconds
  • Memory Usage 2,310KB
  • Queries Executed 24 (?)
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
  • (7)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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