PDA

View Full Version : Cant install this hack!


Blaminator
10-10-2004, 01:08 PM
http://www.vbulletin.org/forum/showthread.php?t=64297&page=1&pp=15



Installed it but got no support so far, anyway, it asks for this :

In your vbAdvanced index page (adv_index.php) or any other page:
//FIND or SIMILAR TOP OF FILE LOCATION
globalize($_REQUEST, array('page' => STR));

//BELOW THAT ADD
$sponsors = create_ad();



So i add

$sponsors = create_ad();


at the end of cmps_index.php

then create a module using this :

<a href="forums/sponsor.php?sponsor=$sponsors[id]">$sponsors[sponsor]</a>

in the template

but didnt work

help

thanks

Blaminator
10-10-2004, 02:15 PM
bump already ><

Our Sponsors
 

Zachery
10-10-2004, 02:31 PM
Please wait at least 12 hours before bumpign a post, did yuou try asking at vBulletin.org?

Brian
10-10-2004, 04:49 PM
Just add that code anywhere in your forum/includes/vba_cmps_include_bottom.php file. Then look for this code:
global $pages, $stylevar, $headinclude, $header, $footer, $vboptions, $vba_options, $navbar, $cusid, $_REQUEST;


And replace it with:
global $pages, $stylevar, $headinclude, $header, $footer, $vboptions, $vba_options, $navbar, $cusid, $_REQUEST, $sponsors;

Our Sponsors
 

Blaminator
10-10-2004, 04:57 PM
Thanks for your help, but that did nothing, is my module correct?

Brian
10-10-2004, 05:06 PM
You'll need to ask in the thread at vb.org then as I've never used the hack.

Blaminator
10-10-2004, 05:19 PM
Thanks for your help

Awaiting reply at vb.org ><