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)
-   -   Homepage and Email Buttons in Profile (https://vborg.vbsupport.ru/showthread.php?t=40938)

Boofo 07-10-2002 10:00 PM

Homepage and Email Buttons in Profile
 
Homepage and Email Buttons in Profile
Version 1.0 by Boofo

A very big "Thank you" goes out to Xenon for all of his help in steering me in the right direction and fixing my mistakes as I made them. :)

What this small hack does:

Instead of having text links in the getinfo template (for profile), you can now have image buttons for the "send private message", "email user" and "homepage" links. (I have moved all of these under the Contact User field in the profile view on my board). Also, if the user does not enter a homepage or has the email feature turned off, the buttons will not show up. They work the same way as the sendpm button works now. (You can edit your getinfo template to allow the buttons to go anywhere you choose.)

This hack has been tested on vBulletin 2.2.5.

Installation time: 2 minutes

This is my first attempt at any hack, so please bear with me. :)

(Screenshots are below in messges #3 and #4.)

Please don't forget to hit the install button if you decide to use this.

Xenon 07-11-2002 03:50 PM

you should perhaps add a screenshot of your new User-Profile ;)

also i say, because you haven't mentioned it: the buttons can be found in a template, so its easy customable for all here.

:)

Boofo 07-11-2002 03:59 PM

Once again, here to bail me out. :) Thanks, Xenon!

The following is a screenshot of how I have the buttons installed on my site in the Profile. This screenshot is with all 3 buttons enabled.

Boofo 07-11-2002 04:00 PM

This screenshot is with only the sendpm button enabled.

mashby 07-12-2002 03:38 AM

Very nice! I can't wait to install it!

lordnet 07-13-2002 08:21 PM

COOL !!

i will use it ;)

btw great hack :)

my best wish...

LORD :)

Boofo 07-13-2002 08:27 PM

Thanks, guys! I know it isn't much, but if even one person can use it, then it was worth releasing. :)

globalwin 07-13-2002 11:41 PM

cool Boofo

Dark Shogun 09-16-2002 07:06 PM

I can't get the email button to show. This is my forum url: http://www.thatfinalfantasysite.com/testvb

Dark Shogun

Boofo 09-17-2002 01:41 AM

I just tried the link but the board is closed.

Quote:

Originally posted by Dark Shogun
I can't get the email button to show. This is my forum url: http://www.thatfinalfantasysite.com/testvb

Dark Shogun


Dark Shogun 09-17-2002 01:57 AM

I opened it back for you. I replied via email but it posted in another thread. Weird.

Dark Shogun

Boofo 09-17-2002 05:37 AM

It doesn't show up in the memberlist either. Do you have it turned on?

Quote:

Originally posted by Dark Shogun
I opened it back for you. I replied via email but it posted in another thread. Weird.

Dark Shogun


Dark Shogun 09-17-2002 11:28 AM

That was the problem but I could have sworn that I enabled it when I installed the board.

Dark Shogun

Boofo 09-17-2002 01:18 PM

The important thing is that you have it working now. :) Enjoy the hack.

Quote:

Originally posted by Dark Shogun
That was the problem but I could have sworn that I enabled it when I installed the board.

Dark Shogun


aquariumpros 09-25-2002 04:36 AM

Can someone please explain how to go about adding this part of the hack (I'm sure I'm just being stupid).

Quote:

In the getinfo template:

Add this to wherever you want the three buttons to show up.
(I have mine in the Contact Info field.)

$userinfo[email] $userinfo[sendpm] $userinfo[homepage]
Thanks in advance,

aquariumpros 09-25-2002 04:43 AM

This is what I'm getting thus far.

Anyone tell me what is up with the visit homepage link??

TIA


All times are GMT. The time now is 03:51 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.01187 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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