vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Store Hack Getting Duplicate Posts (https://vborg.vbsupport.ru/showthread.php?t=50074)

xcel 03-13-2003 05:04 AM

Store Hack Getting Duplicate Posts
 
I just installed the store hack and I am getting duplicate posts. How can I stop this from happening??

Thanks for any help that you can give me.:)

xcel 03-13-2003 08:02 AM

1 Attachment(s)
Here is a screen capture of what i have. I have no idea how it happened. Is it calling twice somewhere??

Please help!

007 03-13-2003 08:36 AM

Easy fix. It looks like instead of replacing certain things in the postbit template, you just duplicated the table. If you attach your postbit template I'll take a look at it. That seems to be where the problem is, since if you noticed, your old non store postbit AND your store postbits are being used each time...

:pirate:

xcel 03-13-2003 09:24 AM

1 Attachment(s)
It is 3am and I am going crazy. Thanks for your help!

007 03-13-2003 06:38 PM

Oh, I will check it out right now.

007 03-13-2003 09:06 PM

1 Attachment(s)
Sorry, got a little distracted, had some problems on my own board... ;) Anyway, here it is all fixed up for you. I tested it on my board and it works fine.

The problem was when you edited this "postbit" template, (and I'm not sure how you did this), but had the entire message table code in their twice...

I think this didn't happen in the store hack, it happened when you installed the contract old posts hack because when you were supposed to either replace the table, or edit it, instead you just pasted the code, thus, giving you two tables, one that you then edited for the store hack, and one that you had extra from before. :ermm:

I just deleted the table, and then moved the last </DIV> to where it is supposed to be.

Link14716 03-13-2003 09:06 PM

1 Attachment(s)
Use this...

007 03-13-2003 09:07 PM

Hmm, i wonder who's is better... LOL! You posted that like a second after me. :) It ws already there by the time I got brought back to this post after posting LOL!

:banana:

007 03-13-2003 09:10 PM

And Link, you deleted the last </DIV>, which is needed for the contract old posts hack... :speechless:

Otherwise it's exactly the same as mine :)

xcel 03-13-2003 09:16 PM

Thank You Guys SOOOOOOOO Much!!!

I totally appreciate your efforts!!

Link14716 03-13-2003 09:39 PM

Well, I did it on the spur of the moment, I saw that you posted hours ago, so I just did my best. ;)

Odd how close our posts where though. :)

007 03-13-2003 10:02 PM

Yeah, I got busy doing something else :( Anyway, I thought about posting about 10 minutes before I posted that to say that I was just about ready to post it, just in case someone else came.. oops lol!


All times are GMT. The time now is 08:25 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.01137 seconds
  • Memory Usage 1,722KB
  • 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
  • (12)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