vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [Adv] banners Hack (https://vborg.vbsupport.ru/showthread.php?t=73847)

madkidz 03-09-2005 06:07 PM

Anyone fixed this problem for vb 3.0.7

BluSmurf 03-10-2005 07:09 PM

anyone got this working on 3.0.7? would love to add this hack to my site :)

Eagle Creek 03-10-2005 08:37 PM

Quote:

Originally Posted by Eagle Creek
Is it full vb3.0.7 compatible?

????

Lionel 03-14-2005 06:03 PM

That hack is creating some kind of conflict with vbookie. Once I removed the below at the end of global.php, vbookie worked again...


PHP Code:

 $R THIS_SCRIPT;    
if(
$R != 'forumdisplay' AND $R != 'showthread' AND $R != 'login' ){
$queryxs  $DB_site->query("select * from adv where  script  LIKE '%*$R*%'  order by  'id' desc");
$rowx $DB_site->num_rows($queryxs);
while(
$row $DB_site->fetch_array($queryxs)){
eval(
'$shir .= "' fetch_template('adv_creativeSuite') . '";');
}
$update  $DB_site->query("UPDATE adv SET views = views+1  where  script LIKE '%*$R*%' ");
}
if(
$R == "forumdisplay"){
$foruminfo verify_id('forum'$_REQUEST['forumid'], 11);
$queryxs  $DB_site->query("select * from adv where   forumid  LIKE '%*$foruminfo[forumid]*%' order by  'id' desc");
while(
$row $DB_site->fetch_array($queryxs)){
eval(
'$shir .= "' fetch_template('adv_creativeSuite') . '";');
}
$update  $DB_site->query("UPDATE adv SET views = views+1  where forumid  LIKE '%*$foruminfo[forumid]*%'  ");
}

if(
$R == "showthread"){
$threadinfo verify_id('thread',$_REQUEST['threadid'], 11);
$queryxs  $DB_site->query("select * from adv where threadid LIKE '%*$threadinfo[threadid]*%'  order by  'id' desc");
while(
$row $DB_site->fetch_array($queryxs)){
eval(
'$shir .= "' fetch_template('adv_creativeSuite') . '";');
}
$update  $DB_site->query("UPDATE adv SET views = views+1  where threadid LIKE '%*$threadinfo[threadid]*%' ");



outlaw621 03-18-2005 04:03 PM

Here is a temporary fix to be able to use the "Mark All Forums Read" button.

In the code for the global.php you need to comment out one line as shown below:
PHP Code:

if($R == "forumdisplay"){
// $foruminfo = verify_id('forum', $_REQUEST['forumid'], 1, 1);
$queryxs $DB_site->query("select * from adv where forumid LIKE '%*$foruminfo[forumid]*%' order by 'id' desc");
while(
$row $DB_site->fetch_array($queryxs)){
eval(
'$shir .= "' fetch_template('adv_creativeSuite') . '";');


Do this at your own risk as I have no clue if it is going to break any other functions of this hack. I have completed the above and everything seems to be working. For some reason that particular line is causing the problem. If the author of the hack could look everything over and come up with a better solution that would be great.

Eagle Creek 03-18-2005 10:03 PM

Quote:

Originally Posted by outlaw621
Here is a temporary fix to be able to use the "Mark All Forums Read" button.

In the code for the global.php you need to comment out one line as shown below:
PHP Code:

if($R == "forumdisplay"){
// $foruminfo = verify_id('forum', $_REQUEST['forumid'], 1, 1);
$queryxs $DB_site->query("select * from adv where forumid LIKE '%*$foruminfo[forumid]*%' order by 'id' desc");
while(
$row $DB_site->fetch_array($queryxs)){
eval(
'$shir .= "' fetch_template('adv_creativeSuite') . '";');


Do this at your own risk as I have no clue if it is going to break any other functions of this hack. I have completed the above and everything seems to be working. For some reason that particular line is causing the problem. If the author of the hack could look everything over and come up with a better solution that would be great.

For what problem is this a fix?

outlaw621 03-18-2005 10:07 PM

Quote:

Originally Posted by Eagle Creek
For what problem is this a fix?

For the users who can no longer use the "Mark Forums Read" button or links.

amoree 03-19-2005 07:59 AM

السلام عليك?

شكرا على هل الهاك بس عندي مشكلة مني عارف شنو اسوي فيها وهي

انا قبل فترة سويت انستول للفايل وما ظبط وياي مرة وبعدين لاحظت انك سويت فيرجنت جديد فحبيت اسوي ابقريد قلت يمكن يظبط وياي طبعا ما ظبط واول ما سويت ابقريد للفايل حق الابقريد اعطاني ايرر انة في دبلكيت للتيبل ياريت تقلي شنو اسوي وهذا اهوة الايرور
ADV Hack - Upgrading : By Creative Suite

Duplicate column name 'NOCL'

djjeffa 03-19-2005 11:48 PM

Database error in vBulletin 3.0.5:

Invalid SQL: select * from adv where script LIKE '%*adv_index*%' order by 'id' desc
mysql error: Table 'djjeffa_djjeffaVB.adv' doesn't exist

mysql error number: 1146

Date: Saturday 19th of March 2005 07:26:59 PM
Script: http://www.djjeffa.com/vb/home.php
Referer:
Username: djjeffa



my prefix is _vb anyone have any advice?

xtreme-mobile 03-20-2005 04:33 PM

ive installed the hack but now i cant log in to my cp panel it says logging in then just goes back to the log in bit again

any ideas?


All times are GMT. The time now is 01:06 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.01530 seconds
  • Memory Usage 1,766KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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