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)

USODJA 04-10-2003 12:06 AM

No my main forum descriptions are spreading out, if you would turn your ICQ on I could explain better, I have removed most of them to clean it up!

USODJA 04-10-2003 12:08 AM

Quote:

Today at 09:00 PM trafix said this in Post #21
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


But That would remove the sponsoring of forums right.....

trafix 04-10-2003 12:15 AM

it would remove the "sponsored by xxxxx" in the forum list yes.

ICQ is on!

trafix 04-10-2003 12:19 AM

as for the no banners on forum home...you missed adding "$showthisad2" to your header template.....working now!

trafix 04-10-2003 02:13 AM

Quote:

Today at 06:27 AM Da_GoTTi said this in Post #16
im having a problem running the SQL file...

can you put it in a txt for me what needs to be ran please.

no.1
PHP Code:

CREATE TABLE `ads` (
`
idint(11NOT NULL auto_increment,
`
url_to_bannervarchar(255NOT NULL default '',
`
redirector_urlvarchar(255NOT NULL default '',
`
heightint(11NOT NULL default '0',
`
widthint(11NOT NULL default '0',
`
banner_textvarchar(255NOT NULL default '0',
`
guestclicksint(11NOT NULL default '0',
`
userclicksint(11NOT NULL default '0',
`
viewsint(11NOT NULL default '0',
`
reportuseridint(11NOT NULL default '0',
`
forumidnumvarchar(4NOT NULL default '0',
`
pagenamevarchar(255NOT NULL default '',
`
pagenamedescvarchar(255NOT NULL default '',
`
bannerbankint(2NOT NULL default '0',
`
clientvarchar(255NOT NULL default '',
`
activesmallint(2NOT NULL default '1',
`
addateint(10unsigned NOT NULL default '0',
`
origdateint(10unsigned NOT NULL default '0',
PRIMARY KEY (`id`) 

no.2
PHP Code:

CREATE TABLE `adsclicks` (
`
useridint(11NOT NULL default '0',
`
banneridint(11NOT NULL default '0',
`
clicksint(11NOT NULL default '0',
PRIMARY KEY (`userid`,`bannerid`) 


trafix 04-10-2003 03:44 AM

what happens when you try to run the quirie.php?

has anybody else had problems with it??

GoTTi 04-10-2003 08:11 AM

yea gotta add:

PHP Code:

TYPE=MyISAM

to the bottom ;p)

PHP Code:

CREATE TABLE `ads` (
`
idint(11NOT NULL auto_increment,
`
url_to_bannervarchar(255NOT NULL default '',
`
redirector_urlvarchar(255NOT NULL default '',
`
heightint(11NOT NULL default '0',
`
widthint(11NOT NULL default '0',
`
banner_textvarchar(255NOT NULL default '0',
`
guestclicksint(11NOT NULL default '0',
`
userclicksint(11NOT NULL default '0',
`
viewsint(11NOT NULL default '0',
`
reportuseridint(11NOT NULL default '0',
`
forumidnumvarchar(4NOT NULL default '0',
`
pagenamevarchar(255NOT NULL default '',
`
pagenamedescvarchar(255NOT NULL default '',
`
bannerbankint(2NOT NULL default '0',
`
clientvarchar(255NOT NULL default '',
`
activesmallint(2NOT NULL default '1',
`
addateint(10unsigned NOT NULL default '0',
`
origdateint(10unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
TYPE=MyISAM

PHP Code:

CREATE TABLE `adsclicks` (
`
useridint(11NOT NULL default '0',
`
banneridint(11NOT NULL default '0',
`
clicksint(11NOT NULL default '0',
PRIMARY KEY (`userid`,`bannerid`)
TYPE=MyISAM


GoTTi 04-10-2003 08:28 AM

This is the forum shot without the banner added...

it has made my forum wider then it should be

GoTTi 04-10-2003 08:29 AM

This is what it looks like after I add the banner to the forum.

It makes 2 links.

GoTTi 04-10-2003 08:43 AM

ok im a putz, I see why it @ the top..cuz its a sponsored forum...duh...

so my only problem i see is the double links on the forums that are being displayed...


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.01228 seconds
  • Memory Usage 1,785KB
  • 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
  • (6)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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