vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Addon To MSN Hack (https://vborg.vbsupport.ru/showthread.php?t=24586)

webhost 08-04-2001 10:00 PM

The following was done by Stasik on my board to add 2 features to Chris's MSN hack.

1) Add field to the profile for Hotmail ID Handle.

2) Have that ID handle showup automatically in the username field box in Chris's hack.

3) Add field for a additonal homepage also.

First go the control panel and select User profile fields/add
Then add your new profile. You can call it Hotmail ID or Handle or whatever you like. When finished save new profile field. Then when screen comes back up look at the new profile field you have created, notice the edit button to the right of it. While holding down the shift key click on edit. This will bring up a new window. Maximize this window. Look in command line torwards the end you will see something like this "edit&profilefieldid=8" remember id number on the end. Do the same for the extra homepage. Homepage info only goes in getifno template a stated below.

Now go the messagecenter template supplied by Chris.

===============================
Find This Line
===============================

PHP Code:

<input type="text" name="login" id=login size="15" maxlength="64" accesskey="m"

===============================
Replace with this
===============================

PHP Code:

<input type="text" name="login" id=login size="15" maxlength="64" accesskey="m" value="$bbuserinfo[field8]"

Change the 8 out with whatever you found earlier to be the Field ID you setup when setting up the new field.
When putting in handle in profile DO NOT PUT IN @HOTMAIL.COM, just handle.

To arrange in your profile under other services, place the following in your getinfo template. Between the lines are new items DFDFDF and F1F1F1 are first and second altcolors.
PHP Code:

<td bgcolor="#DFDFDF"><normalfont><a href="$userinfo[homepage]target="_blank">$userinfo[homepage]</a>&nbsp;</normalfont></td>
</
tr>
<
tr>
==============================================
    <
td bgcolor="#F1F1F1"><normalfont><b>Additional Homepage:</b></normalfont></td>
    <
td bgcolor="#F1F1F1"><normalfont><a href="$userinfo[field7]target="_blank">$userinfo[field7]</a>&nbsp;</normalfont></td>
</
tr>

<
tr>
    <
td bgcolor="#DFDFDF"><normalfont><b>MSN Hotmail ID:</b></normalfont></td>
    <
td bgcolor="#DFDFDF"><normalfont><a href="$userinfo[field8]target="_blank">$userinfo[field7]</a>&nbsp;</normalfont></td>
</
tr>


<
tr>
==============================================
    <
td bgcolor="#F1F1F1"><normalfont><b>ICQ Number:</b></normalfont></td

Enjoy, This was tested and worked with Vbulletin Version 2.0.3

smithy256 08-05-2001 12:54 AM

can i see a example

adrianmak 08-05-2001 01:03 AM

Quote:

Originally posted by smithy256
can i see a example
simple click his current WWW site :)
there has a example

webhost 08-05-2001 04:22 AM

Example:
Click on Forums in my signature in this message, when on the site look at the bottom you will see the msn hotmail section. Register on board or use username newguy password hackman.
After logging in, go to edit profile you will see hotmail field, put in your hotmail handle, save and go back to home page and look at msn username field your handle should be there. Please after you run the test remove your handle in the profile of username newguy and signout.

Thanks


All times are GMT. The time now is 03:50 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.01252 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete