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)
-   -   >>--ARROW ADS---> Hack (https://vborg.vbsupport.ru/showthread.php?t=51380)

KarateKid 04-09-2003 02:48 PM

good work :)

trafix 04-09-2003 02:54 PM

Glad you like it!

Rose 04-09-2003 03:13 PM

Your demo link has a typo in it (a comma instead of a period). Very nice hack. :D

Dean C 04-09-2003 03:33 PM

Good good trafix ;)

[high]* Mist is tempted to install (will investigate further tomorrow) :)
[/high]

- miSt

GoTTi 04-09-2003 06:17 PM

your instructions are missing something.

where it says:
PHP Code:

**********************************
OPEN Show Thread Templates showthread
**********************************
------------------
Find
------------------

$header

------------------
REPLACE with
------------------

$header
$showthisad

**********************************
SAVE Show Thread Templates showthread
**********************************


------------------
Add this at the bottom
------------------

$showthisad2

**********************************
SAVE header template
********************************** 

i think you forgot to put
PHP Code:

**********************************
OPEN Show Thread Templates header
********************************** 

below
PHP Code:

**********************************
SAVE Show Thread Templates showthread
********************************** 


USODJA 04-09-2003 07:00 PM

I have wierd spacing in my descriptions, I notice you don't have any sponsored forums with descriptions at your site, I moved the code below description, but my forum home looks wierd!

USODJA 04-09-2003 07:36 PM

I also have no banners showing on forum home!

USODJA 04-09-2003 08:25 PM

I also went from 36 to 72 queries on the main forum!

trafix 04-10-2003 12:02 AM

USODJA

The amount of quiries have increased as the hack is checking each forum that is listed on the forum home for posible sponsors.

Descriptions are for sponsored php files...and used to let the advertiser know exactly where his ads are showing....We all know that memberlist.php is for the members list, it just simplifies it for your advertisers in the stats view area. There is no need for description of sponsored forums as the hack generates the forum title and provides a link to it in the stats area

No banner on forum home page.....i will investigate.

Da_GoTTi

im not sure why you are having problems with the quirie script but i will put together a text incert version for you soon.

Re instructions....sorry yes i will also ament that in the zip soon as well.

Rose

Thanks.....link fixed

miSt

Where are you having problems?

trafix 04-10-2003 12:06 AM

you can fix the excess quirie problem by removing
PHP Code:

//############### >>--Arrow Ads--> by Trafix #############
$showadforumbit $DB_site->query_first("SELECT * FROM ads WHERE forumidnum=$forum[forumid]");
    if (empty(
$showadforumbit[forumidnum])) {
  
$showsponsorforumbit="";
} else {    
if (
$showadforumbit['active'] == 1) {
$showsponsorforumbit="<br><a href=\"click.php?bannerid=$showadforumbit[id]\" target=\"_blank\"><smallfont color=\"#FF0000\" ><b>Sponsored by $showadforumbit[client]</b></smallfont></a>";
}else {
$showsponsorforumbit="";
}


from the index.php


All times are GMT. The time now is 06:14 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.01071 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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