vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=40145)

Xenon 12-03-2002 04:25 PM

admin/setting.php

Posting Code allowances (vB code / HTML / etc) [edit] [remove] [add setting]

click add setting

Title: Enable Doublepost checking
Variable Name: stopdoublepost
Value: 0
Code to generate option: yesno
Order: 1 (or something else)

yzztik 12-03-2002 04:32 PM

ok NOW I feel really dumb :$ I was opening the PHP file instead of going to the file on my browser. Dunno why I didnt think of trying that. So so sorry :(

Xenon 12-04-2002 11:44 AM

*gggg*

no problem :)

partang2 12-26-2002 03:39 PM

Works great on 2.2.9 with fireflys quickreply installed!

*Clicks install*

N9ne 02-10-2003 05:42 PM

Xenon, I have a question. How can I exempt one thread from the double post prevention?

if($bbuserinfo['usergroupid'] ==6 ||$lastpost[userid]!=$bbuserinfo[userid] || (time()-$lastpost[dateline])>3600 || ($attachmentid and !$foruminfo[moderateattach])) {

Is it something to do with this line? Do I just add || $threadid=2171 to it???

Xenon 02-10-2003 05:50 PM

yes right, but you should use $threadinfo['threadid'] == 2171 :)

N9ne 02-10-2003 05:52 PM

Ah ok, yesterday I decided to pick up my php book and learn each page from the start slowly step by step, so hopefully in a few months i'll be able to hack much bigger hacks :). Thanks for the code though.

007 02-27-2003 08:02 PM

Is there a way to make this say edited by "name" on "date"

you know, the standard edit text when someone posts?

Is it possible to make it do this after the same amount of time that my normal time is set ebfore having it diplay edited by?

I have it set to 2 minutes, so how would I do this?

I tried:
PHP Code:

else {
            if(
$lastpost[pagetext]!=$message) {
              
$editedbysql="";
              if (
$showeditedby and $lastpost[dateline]<(time()-($noeditedbytime*1))) {
                 
$editedbysql=",edituserid='$bbuserinfo[userid]',editdate='".time()."'";
              } 

without any luck... Probably something stupid I didn't think of.. :ermm:

Xenon 02-27-2003 10:16 PM

have you applied th edited by thing i posted in the thread here already?

007 02-27-2003 10:37 PM

Quote:

Originally posted by Xenon
Velocd: i have updated the installation file, now it should add an edited by message :)
??? I assumed this was in the installation file now. I looked around and am not seeing it. Can you maybe give me the post # of it? Thanks. :)


All times are GMT. The time now is 09:53 AM.

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.01161 seconds
  • Memory Usage 1,739KB
  • 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)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
  • (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