vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - ZH - Default Referrer (https://vborg.vbsupport.ru/showthread.php?t=134000)

Ziki 12-13-2006 10:00 PM

ZH - Default Referrer
 
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

Quote:

Originally Posted by HPIA (Post 1138897)
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

Quote:

Originally Posted by Kap O (Post 1261067)
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

Code:

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


2nd

Code:

        $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


All times are GMT. The time now is 02:32 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.00994 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete