vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Countdown Timer for your users (https://vborg.vbsupport.ru/showthread.php?t=107596)

nyunyu 12-09-2007 03:24 PM

ah..I missed that part...

~nyu click uninstall~

FoReX 01-28-2008 01:00 AM

not working 3.6.8. i installed and i can't see any section in editprofile page. can anyone update to 3.6.8.

UncoderMom 05-30-2008 11:37 AM

Yep... stopped working for me in 3.7.0. Shame really becuase this is something that was so very used on my forums.

Hope someone can update!!

UncoderMom 05-30-2008 11:52 AM

I think the problem is somewhere in here...

Someone wanna take a stab? The mod just says that it cant be redistributed with out giving credit. LOL doesnt say we can fix it if its broke.
PHP Code:

// ********************************************************************** \\

if ( ( $THIS_HOOK == "profile_updateoptions" ) AND ( $permissions["hc_usercountdown"] & $vbulletin->bf_ugp["hc_usercountdown"]["canusecountdown"] ) )
{
  
$vbulletin->input->clean_array_gpc('p', array( "countdownuserfield" => TYPE_STR,
                                                 
"cdsettings"         => TYPE_ARRAY ));

  
$cdsettings     $vbulletin->GPC["cdsettings"];
  
$cdprofilefield $vbulletin->GPC["countdownuserfield"];

  
$cddata["enabled"] = $cdsettings[$cdprofilefield "_enable"];
  
$cddata["day"]     = $cdsettings[$cdprofilefield "_day"];
  
$cddata["month"]   = $cdsettings[$cdprofilefield "_month"];
  
$cddata["year"]    = $cdsettings[$cdprofilefield "_year"];
  
$cddata["hour"]    = $cdsettings[$cdprofilefield "_hour"];
  
$cddata["minute"]  = $cdsettings[$cdprofilefield "_minute"];
  
$cddata["event"]   = $cdsettings[$cdprofilefield "_event"];
  
$cddata["overmsg"] = $cdsettings[$cdprofilefield "_overmsg"];

  
$vbuserfields[$cdprofilefield] = serialize$cddata );
  
$vbuserfields[$cdprofilefield "_set"] = "1";
  
$vbuserfields[$cdprofilefield "_opt"] = "";

  
$userdata->set_userfields$vbuserfields );



PBX1 06-06-2008 10:28 AM

Quote:

Originally Posted by UncoderMom (Post 1536142)
I think the problem is somewhere in here...

Someone wanna take a stab? The mod just says that it cant be redistributed with out giving credit. LOL doesnt say we can fix it if its broke.
PHP Code:

// ********************************************************************** \\

if ( ( $THIS_HOOK == "profile_updateoptions" ) AND ( $permissions["hc_usercountdown"] & $vbulletin->bf_ugp["hc_usercountdown"]["canusecountdown"] ) )
{
  
$vbulletin->input->clean_array_gpc('p', array( "countdownuserfield" => TYPE_STR,
                                                 
"cdsettings"         => TYPE_ARRAY ));

  
$cdsettings     $vbulletin->GPC["cdsettings"];
  
$cdprofilefield $vbulletin->GPC["countdownuserfield"];

  
$cddata["enabled"] = $cdsettings[$cdprofilefield "_enable"];
  
$cddata["day"]     = $cdsettings[$cdprofilefield "_day"];
  
$cddata["month"]   = $cdsettings[$cdprofilefield "_month"];
  
$cddata["year"]    = $cdsettings[$cdprofilefield "_year"];
  
$cddata["hour"]    = $cdsettings[$cdprofilefield "_hour"];
  
$cddata["minute"]  = $cdsettings[$cdprofilefield "_minute"];
  
$cddata["event"]   = $cdsettings[$cdprofilefield "_event"];
  
$cddata["overmsg"] = $cdsettings[$cdprofilefield "_overmsg"];

  
$vbuserfields[$cdprofilefield] = serialize$cddata );
  
$vbuserfields[$cdprofilefield "_set"] = "1";
  
$vbuserfields[$cdprofilefield "_opt"] = "";

  
$userdata->set_userfields$vbuserfields );



I don't think $vbuserfields is used anymore, however I'm not a coder so I could be wrong. I'd like to see this work in 3.7.x too, but it probably needs a complete rewrite.

tandy 12-11-2008 01:04 PM

It work fine for me with vb 3.8 rc1 without any modification.

DanTHEGREAT 12-20-2008 11:21 PM

It doesn't work with vb 3.8 rc2!! @_@

Jafo232 02-18-2009 08:54 PM

Here is one that does:

https://vborg.vbsupport.ru/showthread.php?t=205841

Cindyl10 03-07-2010 12:32 PM

I've uploaded and installed this and I'm using vBulletin 3.8.4 Patch Level 2; it looks like everything is done right, but it's not showing up under "edit options" in the user control panel. Does anyone know what I can do to make this work?


All times are GMT. The time now is 08:52 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.01700 seconds
  • Memory Usage 1,764KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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