vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Talkerbot V2.2.3 (AI Posting Bot) (https://vborg.vbsupport.ru/showthread.php?t=126386)

RichieBoy67 09-24-2006 05:10 PM

I am sorry if this has been covered but I do not have the time to reread the entire thread...

I had this script running fine for the most part. In certain forums users were not being redirected properly. Another words, you would make a post in one of these forums and you would get an unfound page instead of being redirected to the thread. I had to disabl;e the product because of this...

It was working though and my members loved it..

If I can get this fixed I would be glad to let people see it in action on my site.....

Anyone cover this bug yet???

Thanks

Gizmo5h1t3 09-24-2006 05:38 PM

Quote:

Originally Posted by nitro
Could be your missing the preceding / from the path(s) you entered ? as it should read /home/... not home/...

that could be it, i had the same thing happened, and i put the "/" before "home"...and it worked fine

eXtremeTim 09-24-2006 06:19 PM

This hack does not change the redirection system. So therefor I can not see how it would cuase it to redirect to a non existing page. If you could give more information about your setup I will try and see if maybe there is a conflict between this hack and another.

gooberface 09-24-2006 06:21 PM

Everyone, thank you. Nitro spotted it. After the reload, I left a leading "/" off of ONE of the two. Thanks everyone, I really appreacite the help.

RichieBoy67 09-24-2006 06:31 PM

I am getting this error now...

PHP Code:

Database error in vBulletin 3.6.1:

Invalid SQL:
INSERT INTO session (userid,lastactivity,hostVALUE ('2019',1159126146,'127.0.0.1');

MySQL Error  You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'VALUE ('2019',1159126146,'127.0.0.1')' at line 1
Error Number 
1064
Date         
SundaySeptember 24th 2006 03:29:08 PM
Script       
http://www.talkandmore.net/newthread.php?do=postthread&f=40
Referrer     http://www.talkandmore.net/newthread.php?do=newthread&f=40
IP Address   : *********
Username     : *******
Classname    vb_database 

Help please....lol


I think that I can modify this code right here
PHP Code:

$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."session SET lastactivity = '"TIMENOW ."' WHERE (userid = '".$vbulletin->options['ewt_talkerbot_botuid']."')");
                    if (
$vbulletin->db->affected_rows() == 0)
                    {
                        
$ip "127.0.0.1";
                        
$vbulletin->db->query_write("INSERT INTO ".TABLE_PREFIX."session (userid,lastactivity,host) VALUE ('".$vbulletin->options['ewt_talkerbot_botuid']."',".TIMENOW.",'$ip')");
                    }

                    
$userdata =& datamanager_init('User'$vbulletinERRTYPE_STANDARD);
                    
$userdata->set_existing($botinfo);
                    
$userdata->set('lastactivity'TIMENOW);
                    
$userdata->set('lastvisit'TIMENOW 1);
                    
$userdata->save();

                } 

This is in the ewt_talkerbot.php --

Can anyone give me a hand coming up with this fix?

Romeos Tune 09-24-2006 08:01 PM

I am getting the same error when posting in a bot forum. Anyone??

RichieBoy67 09-24-2006 08:07 PM

Can you help me rewrite this block? I think I almost got it..

hotwheels 09-24-2006 08:10 PM

hey richie, let me look at my ew real quick and i will get back to ya.......Meantime, could you do me a favor and on the post you made a few steps back, delete your ip addy and just put ****** in its place, same with your username..........

hotwheels 09-24-2006 08:16 PM

try this on richie.........it is the one i am currently running and my bot is working.

RichieBoy67 09-24-2006 08:18 PM

Oh yeah, thanks for catching that. Sorry, I should no better...

Thanks :)


All times are GMT. The time now is 08:42 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.01887 seconds
  • Memory Usage 1,759KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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