PDA

View Full Version : Referred By (in profile)


afterlab
03-22-2003, 10:00 PM
Referred By (in profile)
Letting us know who exactly is responsible for the uprising in n00bs
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Installation Time: 1-5 Minutes
Queries Added: 1 (on a conditional basis however)
Templates Added: 1
Templates Altered: 1
Files Altered: 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I come today to release my newest vBulletin.org creation, 'Referred By for profiles'. This hack has quickly become the easiest hack released by my name throughout the website. It shouldn't take an entire afternoon to hack and configure, so don't worry about opening a full hour for this hack's installation. More details can be found below as to what this hack's purpose is:

Purpose
To see who referred a specific member by visiting their member information (aka profile).

Screenshot
Click Here (https://vborg.vbsupport.ru/attachment.php?s=&postid=371651)

Enjoy this latest addition to your forums. Click "Install" as you please.

afterlab
03-23-2003, 02:02 AM
Screenshot attachment upload.

Boofo
03-23-2003, 02:09 AM
Anyway to have this in a pop-up window like the hack who voted on polls?

afterlab
03-23-2003, 02:17 AM
How exactly could that be done? If you're thinking about the link (in this case, "afterlab"), that is a link to that user's profile.

I am creating another hack in which will link the "Referrals" number to a popup listing the members referred by that member.

Another version will even list all the referred members by that member under the "Referrals" row in the user's profile.

Boofo
03-23-2003, 02:43 AM
You would have the number of referrals in the profile with a link that would pop-up a window (like you said in the above post). Like Lesane did for (I think it was) threadstarters. I have this done for the "Who am I a buddy of?" hack. ;)

afterlab
03-23-2003, 03:43 AM
Free for the taking: https://vborg.vbsupport.ru/showthread.php?s=&threadid=50680 :)

Boofo
03-23-2003, 03:58 AM
There you go. Now you're cooking. Thanks! ;)

LOD-squa
03-23-2003, 05:14 PM
Nice Job, I might install this ;)

Chris M
03-23-2003, 05:24 PM
Nice job!:)

Satan

auz1111
03-23-2003, 10:42 PM
wow... I managed to install much harder hacks not to mention your poreferral hack, but this one is not showing up for me. There is no extra row in the profile for the referred by member.

this is a piece of my member.php:

// ############################### start get info ###############################
if ($action=="getinfo") {
$templatesused = "getinfo_sendpm,aol,icq,yahoo,getinfo_birthday,geti nfo_customfields,getinfo,geti nfo_referred";
include("./global.php");

$permissions=getpermissions();
if (!$permissions[canview] or !$permissions[canviewmembers]) {
show_nopermission();
}

can i do it like this? any help appreciated

afterlab
03-24-2003, 10:33 AM
Yes, that is perfectly fine.

Alien
06-24-2003, 08:11 PM
Does this hack not show the line/row in the user's profile if someone has not been referred by someone?

If it doesn't do this, can this be added? :D

squawell
06-24-2003, 08:44 PM
quick question....is that only show up when user insert the referre

name to the field??if user not insert the name how to let it show up

the N/A??

thankz~

edit:nevermind i got it works...... :bunny:

Alien
06-24-2003, 09:08 PM
Yeah that's what I'm looking to find out.. If they have not been referred, I'd like the row/hack to not show up at ALL. :)

Also, how many queries does this add?

Kriek
06-24-2003, 10:30 PM
Today at 06:08 PM Alien said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=412377#post412377)
If they have not been referred, I'd like the row/hack to not show up at ALL.

Amusing you should mention that ..

Hide Unentered Fields (https://vborg.vbsupport.ru/showthread.php?s=&threadid=41753) by afterlab

FleaBag
10-30-2003, 01:11 PM
Excellent hack, much appreciated.

fredsmooth21
12-16-2003, 11:51 AM
I run a forum at the website www.maddennation.com I tried to install your member referral hack. I followed all the steps but it doesnt show up. Can you help me out with this? My AIM name is fredsmooth21

Any help would be greatly appreciated.

datainternet
03-28-2004, 01:51 PM
Hi,

This hack is very great, but i updatet to Vbulletin 3 and I really need this hack.

Is it possible to convert this hack from vb2 to vb3?

MFG datainternet

bigdaddy04
04-11-2004, 02:17 AM
hmm, just wondering, what if no one referred the members? what does it say in the profile under that field?

FleaBag
04-26-2004, 05:25 PM
It doesn't say anything in that case.

deaconxgp
04-28-2004, 01:45 PM
does this work with vB 3.0?

FleaBag
06-15-2004, 11:17 PM
Not as of yet, I'm trying to sort it out...