vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - PSN ID in profile and postbit (https://vborg.vbsupport.ru/showthread.php?t=186770)

Eonwe 07-29-2008 10:00 PM

PSN ID in profile and postbit
 
Playstation Network ID in Profile and Postbit by Eonwe


Description

This mod will add your psn id to your profile page and in your postbit. When clicked a popup will show your PSN avatar, name and your 'about you' section.

Features

-You add your PSN in the same section where you add your other IM's.
-Shown in postbit next to the other IM's.
-Shown in the member list next to the other IM's.
-Shown in members profile page with the other IM's.

Installation

Will take less then 5 minutes.
Download the zip file and follow the instructions in there.

Instructions

Upload the PSN image icon to forum directory > images > misc.

Go onto admincp > Styles and Templates > Search in Templates

Then type modifyprofile into the search box and click search titles only. Then click find.

Once there do control + f to bring up the find box, and type the bellow in the box.

Code:

<td>$vbphrase[skype_name]<br />
<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
<td>&nbsp;</td>

Once youve found this highlight this section and replace it with the following code.

Code:

<td>$vbphrase[skype_name]<br />
<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
                                       
<td>PlayStation Network ID<br />
<img src="$stylevar[imgdir_misc]/im_psn.gif" alt="" />
<input type="text" class="bginput" name="psn" value="$bbuserinfo[psn]" size="25" maxlength="30" dir="ltr" /></td>
</tr>

Then go back to the Search in Templates (Go onto admincp > Styles and Templates > Search in Templates) and type in postbit or postbit_legacy (postbit is horrizontal leagacy is verticle).

Find this code

Code:

$post[skypeicon]
and add after

Code:

$post[psnicon]
Then go back to the Search in Templates (Go onto admincp > Styles and Templates > Search in Templates) and type in memberinfo.

Find this code

Code:

<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onClick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>

and add after

Code:

<td>$userinfo[psnicon]</td>
 <td><a href="#" onclick="openWindow('http://pid.us.playstation.com/user/$userinfo[psn].jpg', 260, 180); return false;">$userinfo[psn]</a></td>


M-Tuning 07-30-2008 05:33 PM

Nice

BucWiLd 07-30-2008 10:25 PM

i have been looking for this.but i cant find the profile template your described, would you be able to simplify the instructions? and will it work with 3.7

Eonwe 07-30-2008 11:22 PM

Go on admincp > Styles and Templates > Search in Templates.

Then put Modifyprofile ect in the search box.

Search for the bits that i wrote in the instructions text and add the extra sections in after.

I honestly don't know if it will work for 3.7 as i don't use it and 3.7 has a new profile page.

BucWiLd 07-30-2008 11:32 PM

damm, im running into to many issues on 3.7.. i really wish someone would make something up for 3.7.

Eonwe 07-30-2008 11:49 PM

I tried it on a 3.7 and found that it will work on postbit but wont work on peoples profile page. I will code that into it tomorrow and release it in the 3.7 mod section.

BucWiLd 07-31-2008 12:08 AM

you are the man, i will try it on the post bit when i get home...also would you be able to make your instructions a little simpler.. it was hard to follow it with all the spaces between them..i am a new at all of this and im sure other newbs like me will have the same difficulty..lol, thanks man.

*edit* i tried it and i cant get it to work even in the postbit legacy. help please

CardMafia 07-31-2008 01:52 AM

Excellent, thank you :)

MrD 07-31-2008 07:41 AM

Hi,
can you put some more Gamer ID to this addon?
Maybe Xbox Gamer Card,Wii Friendscode

Eonwe 07-31-2008 11:15 AM

You can find xbox and wii modifications else where in vbulletin. Just do a search.


All times are GMT. The time now is 07:14 AM.

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.01144 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete