Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by Iliana (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-30-2001 Last Update: Never Installs: 0
 
No support by the author.

Hello!

I want to run a contest on my site and winners would be determined by the # of posts they make. I was wondering if anyone has created a hack that could do this by being able to determine the start and end date of contest and then list the post standings by users. Then having a way to turn this option off when you do not have a contest running on the boards.

Show Your Support

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

Comments
  #62  
Old 07-31-2001, 12:16 PM
BradC
Guest
 
Posts: n/a
Default

The Pickel is in the mail... it is a large dill pickel... so it is a semi-large small box
Reply With Quote
  #63  
Old 07-31-2001, 03:59 PM
Sarge
Guest
 
Posts: n/a
Default

<a href="http://www.dlrarmy.com/forums/contest.php" target="_blank">http://www.dlrarmy.com/forums/contest.php</a>

It works!
But the thing is,
I am using this time stamp

$date1 = "UNIX_TIMESTAMP(\"2001-07-01\")";

$date2 = "UNIX_TIMESTAMP(\"2001-08-01\")";

If I put the date into the future at all, it screws up and starts giving off errors again

What I wanted to do was run a contest from Aug1, 2001 to Sept 1,2001 and have it count posts. While it is counting posts everyday, people can check their progress.

Is this feasable?
Thanks for the help
Reply With Quote
  #64  
Old 07-31-2001, 05:07 PM
BradC
Guest
 
Posts: n/a
Default

Yes it is feasible.. putting in the dates like this :

$date1 = "UNIX_TIMESTAMP(\"2001-08-01\")";
$date2 = "UNIX_TIMESTAMP(\"2001-09-01\")";

will give you an error because there is 0 posts..

start this tommorow.. and have anyone but you.. post a few times like in a test thread and see if that makes a difference.

That is what I gather from it, if you get that error it is because it can't find a value for posts.. for the array.
Reply With Quote
  #65  
Old 07-31-2001, 05:41 PM
Sarge
Guest
 
Posts: n/a
Default

I changed the start date to 7/30 and it works
Thanks so much
Sarge
Reply With Quote
  #66  
Old 07-31-2001, 07:50 PM
BradC
Guest
 
Posts: n/a
Default

Glad it works..

took me like freddie said 50 some posts.. total me and whoever else in this post.. lol to figure that simple thing out.

I was like I don't know why I am getting that error.. then I was thinking again about ohh ya I have 4 members and almost nill to 0 posts.. so I could see why the mysql was upchucking that now
Reply With Quote
  #67  
Old 07-31-2001, 07:59 PM
Sarge
Guest
 
Posts: n/a
Default

hey is there anyway we could beef this up and have the person's name link to their profile, and maybe show how many stars they have?

How about their total post count also?

are any of these hard?
Thanks broheim
Sarge
Reply With Quote
  #68  
Old 07-31-2001, 08:30 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so is the code safe to try now?-or are u still working out the bugs?
just curious!?
Reply With Quote
  #69  
Old 08-01-2001, 12:54 AM
BradC
Guest
 
Posts: n/a
Default

Sarge.. it is all possible... I have not really messed with it.. I mean I wanted to.. cause I just can't keep things the way they are/were

and Maverick1236 it should work just fine.. before we messed with it..

Freddie did a great job
Reply With Quote
  #70  
Old 08-01-2001, 02:36 AM
Sarge
Guest
 
Posts: n/a
Default

<a href="http://www.dlrarmy.com/forums/showthread.php?s=&threadid=12189" target="_blank">http://www.dlrarmy.com/forums/showth...threadid=12189</a>

I added in the images before each name...and it added a bit to it.

If we could make this kinda look like the memberlist it would kick ass!

I tried to steal php off the memberlist, but since I suck, it didn't work.

Brad.. is this something you might want to tackle in the future?
Thanks in advance
Sarge
Reply With Quote
  #71  
Old 08-01-2001, 04:01 AM
BradC
Guest
 
Posts: n/a
Default

Sarge,

Sure I can tackle this.. stumble, get bruises, go to the hospital no problem... but I will need Freddie's consent

Making it look like the memberlist would be kind of cool.. is there anything else you want to add.. to make it look even more interesting
Reply With Quote
Reply

Thread Tools

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 03:30 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.05190 seconds
  • Memory Usage 2,282KB
  • Queries Executed 26 (?)
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
  • (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
  • (3)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
  • (1)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete