PDA

View Full Version : Mini Mods - ZH - Default Referrer


Ziki
12-13-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Default Referrer

~Hack description
This hack prefills the referrer box by registration.

~Hack options

Turn On/Off
Choose referrer name


~Hack info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 5
Settings: 2

Install time: 3 sec
Install level: Easy

~Hack installation
Step 1: Import Product



~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki
12-14-2006, 07:01 PM
Reserved

HPIA
12-15-2006, 12:19 AM
I don't know why we would need to use this though, but it is good.

Shazz
12-15-2006, 12:22 AM
Can't you just make your navbar or wherever your register button is make /u=117597 or I forgot the code =\

Ziki
12-17-2006, 03:58 PM
What?I don't understand

encryption
01-19-2007, 03:34 PM
I don't know why we would need to use this though, but it is good.

Unless I misunderstood what this mod does, I think its a good hack.

On my board, I am using php to protect my downloads, which checks for the referring site before allowing you to download, someone could fake the referer to match my domain name in order to get to the downloads.

being able to change it to something entirely random brings it a step closer to securing my downloads even more. I'm defo gonna give this a go.

StrifeX
05-29-2007, 06:10 AM
Doesn't work.

Kap O
06-04-2007, 03:33 PM
Dosent work gives me an error in the register page.

Shazz
06-04-2007, 03:37 PM
Dosent work gives me an error in the register page.

Try this
https://vborg.vbsupport.ru/showthread.php?t=134323

katie hunter
07-13-2007, 05:56 PM
Hi Ziki this error shows up when i install it your xml do you think it is fixal ?
Thanks

Parse error: syntax error, unexpected T_IF in /home/nihonoma/public_html/forum/register.php(880) : eval()'d code on line 5

https://vborg.vbsupport.ru/showthread.php?t=152133

P.S i chekced this add right now
https://vborg.vbsupport.ru/showthread.php?t=134323

but i find two register.php
which one should i place this after it ?referrerid=X

1St


{
$vbulletin->url = iif(strpos($vbulletin->url, 'register.php') !== false, $vbulletin->options['forumhome']



2nd


$navbits = construct_navbits(array(
'register.php?' . $vbulletin->session->vars['sessionurl'] . 'a=ver' => $vbphrase['activate_your_account'],
'' => $vbphrase['email_activation_codes']
));
eval('$navbar = "' . fetch_template('navbar') . '";');


************************************************** ************************

Also about the id should i put the id # of the unregitered ppl, i don't know which id # i should put ;o

Thanks <33

Ziki
07-14-2007, 07:35 PM
Did configure the settings?And tell me what hacks are installed on the register_ hooks.

katie hunter
07-14-2007, 10:25 PM
I installed that one the xml file https://vborg.vbsupport.ru/showthread.php?t=134000

but is showes an error in my registration page so i read this one addon :

https://vborg.vbsupport.ru/showthread.php?t=134323

and the steps are confusing for me, they are asking to replace after 'register.php'
replace this referrerid=X

First i don't know which id # i should put and the second issue is I have two register.php words, don't know which one should i place the reffereid after it



which one should i place this after it ?referrerid=X

1St


{
$vbulletin->url = iif(strpos($vbulletin->url, 'register.php') !== false, $vbulletin->options['forumhome']



2nd


$navbits = construct_navbits(array(
'register.php?' . $vbulletin->session->vars['sessionurl'] . 'a=ver' => $vbphrase['activate_your_account'],
'' => $vbphrase['email_activation_codes']
));
eval('$navbar = "' . fetch_template('navbar') . '";');

calorie
07-14-2007, 11:05 PM
In the zh_ref.xml file, add a semi-colon after this line:

$zhref = $vbulletin->options['zh_ref']

katie hunter
07-15-2007, 12:14 AM
add that word ? semi-colon

calorie
07-15-2007, 12:17 AM
The character ;

$zhref = $vbulletin->options['zh_ref'];

Ziki
07-15-2007, 12:23 AM
I'm sorry I forgot that.I will update now.

katie hunter
07-15-2007, 10:28 AM
XML Error: syntax error at Line 1

That is what i received when i tried to upload the xml afterward.

yoyoyoyo
10-04-2007, 03:33 PM
if another member actually does send a referral will this remove that referral?

Also - the setting in the ACP says to enter the referrer's name - do I really enter the name or the user ID?

Ziki
10-05-2007, 09:58 AM
Name