vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Post Counter (https://vborg.vbsupport.ru/showthread.php?t=49348)

Kamui Shirou 02-25-2003 03:43 PM

Post Counter
 
Hi folks. Hope you can help me by solving this problem.
It has something to do with the newreply.php i think but im not sure.
If a user posts in a thread he gets 1 forward to his post counter. But if he posts in a second time no reaction. The Counter remains the number of posts it had reight before.
If you go to another thread, in which you've not posted before its the same thing. the post counter only counts 1 post for each thread.
the hackz installed:
Stop Doubleposting, vb Last Title, myvbIndex3.1, quickreply, NewStatistik by Afterburner

running:
vb 2.30

demo: http://www.mangaboard.com

hope you can help me. ah i attched the newreply.php

edit: srz. did not know that im not allowed to post my newreply.php

Xenon 02-25-2003 04:47 PM

stop doubleposting prevents users from doubleposting, and so also the postcounter doesn't increase!

it will just increase after someone else has posted into this thread and then again the first one.
so, no problem, everything works correct.

Kamui Shirou 02-25-2003 04:49 PM

oh no.
this is also the case if another user just postet before and you only give an anser

Xenon 02-25-2003 04:55 PM

hmm, maybe you've made an mistake while installing...
reupload the original newreply.php and apply the hack again carefully

Kamui Shirou 02-25-2003 05:16 PM

the problem made the newstatistik hack ny afterburner

newreply.php

before

indexpost($postid,0);

add

// Afterburner
$curtime = time();
$date_today = getdate($curtime);
$time_today=mktime(0,0,0,$date_today[mon],$date_today[mday],$date_today[year]);
$res1 = $DB_site->query("UPDATE afterburner_stat SET newposts = newposts+1 WHERE time = '$time_today'");
// Afterburner


All times are GMT. The time now is 08:24 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.01615 seconds
  • Memory Usage 1,711KB
  • 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