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)
-   -   Poll Start - End - Days Run/Remaining Hack v1.1 (https://vborg.vbsupport.ru/showthread.php?t=50785)

Boofo 03-25-2003 10:33 AM

Thank you, sir. Coming from you, that means alot. ;)

Dean C 03-25-2003 03:55 PM

Nice hack buddy - you sure love using the date systems in php don't you ;)

- miSt

Boofo 03-25-2003 04:02 PM

If you really think about it, that is the main backbone of vBulletin. I love the $ourtimenow variable. Can't get enough of it. ;)

And Zzed came up with the core of the code. I just re-worked it to fit what we needed. ;)

Intex 03-25-2003 04:57 PM

Nice one Boofo - I'll add this to my install list :cool:.

Zzed 03-25-2003 05:09 PM

Quote:

Today at 10:02 AM Boofo said this in Post #13
If you really think about it, that is the main backbone of vBulletin. I love the $ourtimenow variable. Can't get enough of it. ;)

And Zzed came up with the core of the code. I just re-worked it to fit what we needed. ;)

Very nice Boofo. Well done my friend. :)

And thank you for your kind words. :)

Stud_Muffin 03-26-2003 03:49 AM

I installed it in vb 2.3.0 and it seams to be showing in almost all the threads :surprised: Something in the forumdisplay.php ??

Boofo 03-26-2003 04:58 AM

If you have a start time and end time configured with the poll, it will show. It you don't have an ending time configured, it will not show. Check your polls and see how many of them are set up with the start and end time. ;)

Stud_Muffin 03-26-2003 02:39 PM

NO, sorry my fault. Perhaps i should include a screenshot to explain :p They all have the same start and end date as the test poll i just posted. so if you set all the polls of the forum not to time out it does not display like the screenshot

Boofo 03-26-2003 05:34 PM

Quote:

Today at 10:39 AM Stud_Muffin said this in Post #18
NO, sorry my fault. Perhaps i should include a screenshot to explain :p They all have the same start and end date as the test poll i just posted. so if you set all the polls of the forum not to time out it does not display like the screenshot
Ok, make sure you edit the "forumdisplaybit" template with:

$thread[pagenav]$pollrun

I had that happen as I was putting this together before I added:

PHP Code:

    } else {
    
$pollrun ''

to the code but that fixed it on my site.

Please recheck the instructions and make sure everything is there and let me know. There's really no way that should be happening unless you either missed a piece of code or got it in the wrong place. ;)

Sebastian 03-26-2003 06:52 PM

nice job., Boofo :)


All times are GMT. The time now is 01:47 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.01174 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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