The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Removing MSN stuff
First of all I would like to take this opportunity to thank you all for reading my thread. Your time is greatly appreciated.
I am writing this as I, like I guess many of us, are sick of going to websites/forums and apart from colors and added modifications they are more or less exactly the same. I know some administrators go the extra mile and add custom profile fields with images appearing in postbit for them etc however I am hoping someone here could help me take mine the little step further. I have done a fair bit of research on forums in my niche, and have signed up on many to look at their postbits, their profile options etc and as predicted the majority of them are the same. What I am trying to do:- In the Profile section of vBulletin they have the profile fields of MSN, Yahoo Messenger, Skype etc - I am hoping to completely remove these from the profile fields and replace them with things like: - Facebook, MySpace, Twitter, YouTube Where the same functions will exist where if a member puts their information in there it will show it on the postbit etc. I know there are current modifications out that adds, or helps you add these to the board however thats exactly what they do it adds them it doesn't remove the MSN stuff. I have held a poll on my forum whether they wanted the things of FB, MS etc added or to take over the MSN stuff and 98% voted to replace MSN. I know it's a big task as looking at all of the templates and files there is alot of code there to edit to edit the links that come up etc but I was wondering someone here would be kind enough to at least assist me in making these changes. Any help is greatly appreciated. I hope anyone reading this has a lovely day. |
#2
|
|||
|
|||
Seems to me that the quickest way to do this would be to repurpose the Yahoo/MSN/ICQ/Skype fields already in vBulletin.
I'm figuring that this would involve phrase edits (change Yahoo to Facebook, MSN to Twitter, etc), code edits to the MEMBERINFO and possibly POSTBIT (or POSTBIT_LEGACY) templates, then removing the existing contact information in the member's records (probably easiest through phpMyAdmin). After this, it's simply a matter of replacing the Yahoo/MSN/ICQ/Skype icons with Facebook, Twitter, etc icons (for displaying on the postbit). Now, packaging all this into a one-click mod.... that would require a better coder than I am. I'm more of a "hands-on, see where I screwed up" kind of guy. |
#3
|
|||
|
|||
That's the type of thing I was thinking however when clicking through everything I thought I saw some msn, yahoo type of thing in the actual php files - will have to double check though as i last looked at like 2:30am or something.
|
#4
|
|||
|
|||
If I understand you correctly, you want to completely remove the MSN (etcetera?) fields in the UserCP, as well as the icons and links in postbit. In that case, go to the modifyprofile template in your AdminCP. Near the bottom of said template, you'll find a fieldset. Place it between comment tags, or remove it (but make back-up unless you don't mind reverting the template in the (near-)future!):
HTML Code:
<fieldset class="fieldset"> <legend>$vbphrase[instant_messaging]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td colspan="2">$vbphrase[may_enter_identity_for_im]</td> </tr> <tr> <td>$vbphrase[icq_number]<br /> <img src="$stylevar[imgdir_misc]/im_icq.gif" alt="" /> <input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="25" maxlength="30" dir="ltr" /></td> <td>$vbphrase[aim_screen_name]<br /> <img src="$stylevar[imgdir_misc]/im_aim.gif" alt="" /> <input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="25" maxlength="30" dir="ltr" /></td> </tr> <tr> <td>$vbphrase[msn_messenger_handle]<br /> <img src="$stylevar[imgdir_misc]/im_msn.gif" alt="" /> <input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" dir="ltr" /></td> <td>$vbphrase[yahoo_messenger_handle]<br /> <img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" /> <input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" dir="ltr" /></td> </tr> <tr> <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> </td> </tr> </table> </fieldset> PHP Code:
(XX equals the field number found in the User Profile Fields category in AdminCP) PHP Code:
PHP Code:
[php] $vbphrase[phrase_name] [/php |
#5
|
|||
|
|||
This mod adds Facebook, MySpace, Twitter, YouTube ect icons in your profile & postbit:
https://vborg.vbsupport.ru/showthread.php?t=230997 Dunno if you've seen it... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|