vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Installed hack, now getting duplicate threads (https://vborg.vbsupport.ru/showthread.php?t=45228)

memdy 10-31-2002 12:16 AM

Installed hack, now getting duplicate threads
 
I installed some hacks on 2.2.8 and now when I create a new thread, it works fine but it creates a duplicate thread. Posting is fine in the thread, just when the thread is created, it creates two.

I installed hacks:

Quick Reply - per fireflys install
Refer a Friend
User level stars
Forum/thread title above posts
Numbered Posts in Threads
Default avatar if none selected

Can anyone wind me up and point me in the right direction, I think i broke my keyboard banging my head on it. What file/files could be hosed? Defeat is not an option!

Cheers!

Xenon 10-31-2002 10:09 AM

you should take a look at you're newthread.php

perhaps there are two $DB_site->query("INSERT INTO thread.. lines.

there should be just one

memdy 10-31-2002 11:40 AM

That was it! I found that vBPortal had two query statements, the only difference between them was that one added a topic field. I commented out the one w/o the topic field. I found to DBQuery Inserts that appeared to be related so I took them both out as they seem to be duplicates that were overlooked by either myself during install or by vBPortal.

Thanks,

MTE

Xenon 10-31-2002 03:12 PM

:)

you're welcome

Erwin 10-31-2002 05:58 PM

If you have vBPortal, you should comment out the one WITHOUT the topic field, and keep the one WITH the topic field. When you installed vBPortal, the original line without the topic field is automatically commented out - you may have uncommented it by accident (eg. when you upgraded). vBPortal needs that field for it's topic feature.


All times are GMT. The time now is 01:50 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.01043 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete