Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
No Double Post v1.0 Details »»
No Double Post v1.0
Version: 1.00, by saint_seiya saint_seiya is offline
Developer Last Online: Oct 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-20-2003 Last Update: Never Installs: 21
 
No support by the author.

This hack will not allow users to double post. Very useful and helps the mods a lot.

If you want any improvements for a future version let me know at:

AIM: Saint Seiya Zero
MSN: d_tenemazakramaley@hotmail.com (do not e-mail me here)
E-mail: david@vgcity.com

Tested in Version 2.2.9 but should work on any Vbulletin version.

DEDICATED TO: Our best double posters and spammers at www.vgcity.com/forum =)

If you need support just reply to this thread.

Time to install: 5minutes or less
Difficultness: Very Easy
Likeness to an error: Very Low

If you use it please click Install

Next Version Requests
-Exclude a certain forum.
-Usergroup settings integration

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-21-2003, 11:07 PM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Except in SPAM or Testing forums

MGM out
Reply With Quote
  #13  
Old 07-21-2003, 11:59 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, ok your right. Havent seen many forums with those though. lol Well expect the new version in around 2 weeks. I'm kinda very busy making a new design and adding new features to our cms (the double post was one of em in my do list :P )
Reply With Quote
  #14  
Old 07-22-2003, 12:27 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a better way to do it IMO...

PHP Code:
-----OPEN newreply.php-------
-----
FIND------

updateuserforum($threadinfo['forumid']);

-----
ADD AFTER IT------

//START NO DOUBLEPOSTS v1.0
$ddp $DB_site->query_first("SELECT * FROM post WHERE threadid='$threadid' AND visible=1 ORDER BY postid DESC LIMIT 1");
$dpp $ddp['userid'];

if (
$bbuserinfo['userid'] == $dpp){
eval(
"dooutput(\"".gettemplate("nodoublepost")."\");");
}
//END NO DOUBLEPOSTS v1.0

-----SAVE&UPLOAD newreply.php-------- 
Reply With Quote
  #15  
Old 07-22-2003, 01:09 AM
Kriek's Avatar
Kriek Kriek is offline
 
Join Date: Jul 2002
Location: Florida
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xenon's Prevent Doubleposting is more beneficial/productive in my opinion.
Reply With Quote
  #16  
Old 07-22-2003, 02:02 AM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link: I don't see how that is a better way. It's still the same.

Kriek: Yeah that might be a better way. Oh well. Never noticed that =o.
Reply With Quote
  #17  
Old 07-22-2003, 04:40 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's better in that it is less code and it is one less file edit...
Reply With Quote
  #18  
Old 07-22-2003, 02:02 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i use xenon's it's great, but good work seiya
Reply With Quote
  #19  
Old 07-22-2003, 02:17 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think

PHP Code:
if ($bbuserinfo['userid'] == $dpp){ 
eval(
"dooutput(\"".gettemplate("nodoublepost")."\");"); 

Will do the work. Yes it will output the error page but it will still output the post form after it. Think about it... =o
Reply With Quote
  #20  
Old 07-24-2003, 12:28 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very nice. What I would really wish to find is something that would gray out the submit button when pressed so they do not press it more than one time making a real double post!

David Bott
AVSForum.com
Reply With Quote
  #21  
Old 07-24-2003, 07:46 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's easy to do. I might add that in the next version.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04386 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete