PDA

View Full Version : Countdown Timer for your users


Hellcat
02-09-2006, 10:00 PM
(inspired by this thread: https://vborg.vbsupport.ru/showthread.php?t=107226)

This little AddOn gives your users the option to show a custom countdown timer at the bottom of their signature.

Features: Fully configurable via UserCP (see screenshot)
BB-Code can be used for eventname and overmessage :)
fully phrased/templated, nothing hardcoded and so fully customizable
leading days or hours with a value of "0" are not shown
(so it shows "42minutes" rather then "0days 0hours 42minutes")

Installation:
Painless: Upload "plugins_usercountd.php" to ".../forum/includes"
Import the product .XML

DONE :)
That's it.
No template edits, no nothing :D


Usage:
Go into your UserCP -> Edit Options
On the very bottom you will find the options for the Countdown Timer.
Set it to whatever you like, if "Enable" is set to "Yes" the timer will automatically be shown on the bottom of your sig, set to "No" will hide/disable the time display :)



Have fun :)


Update 1.10
IF YOU UPDGRADE FROM A PREVIOUS VERSION, BE SURE TO UNISTALL THE CURRENTLY INSTALLED ONE BEFORE INSTALLING THE UPGRADE!
(unfortunately all events will be lost)
[FIX] Phrased the last three things that were not (Yes/No of the enable radio and main description)
[NEW] Added Usergroup Permissions for the countdown! :)
In the usergroupmanager it now has an area "User Countdown Permissions" where the admin can allow/enable or disallow/disable the countdown timer for each usergroup.

If the usergroup permissions do not work, or even don't show up at all, you might need to rebuild the bitfield using this URL:
http://yourdomain.tld/pathtoforum/admincp/index.php?do=buildbitfields

docvader
02-09-2006, 10:39 PM
Wow. First post. I always get tingles when this happens.

Will install immediately. Nice idea.

EDIT: Installed. Awesome. Flawless.

I can use this for things, such as, well, counting down to my next date. Glad you put the "years" option in there.

-=Sniper=-
02-09-2006, 10:46 PM
wow, excellent work dude!

Lineman28645
02-09-2006, 10:58 PM
Excellent hack! :)

XtremeOffroad
02-09-2006, 11:04 PM
Very cool, Now to figure out why sigs and timer arent showing.
Nothing to do with hack BTW.
Clicks Install.

Lineman28645
02-09-2006, 11:07 PM
Question. Is there anyway we can make it so only admins or specified groups can use this feature?

Hellcat
02-09-2006, 11:17 PM
Question. Is there anyway we can make it so only admins or specified groups can use this feature?
Hmm, this can be added, yes.

I am currently hunting another flaw I just encountered.
On my live board it doesn't save the settings.... No idea why (yet), on my testinstall it does....

docvader
02-09-2006, 11:26 PM
Working fine on mine, with Netscape and IE; it saved the settings, and is counting down appropriately.

Hellcat
02-09-2006, 11:29 PM
Yeah, I have 1:1 "copy" of my live board on my laptop.... working fine there too, just not on the live thing....

XtremeOffroad
02-09-2006, 11:38 PM
Working Great, Forgot about a hack installed to only allow 1 sig per post.
Oops my bad.
Now to decide what to countdown to, Valentines day or my surgery?
hmmmm both are on the same day. :disappointed: :disappointed:
I think I'll do VD :nervous: lol

GamerJunk.net
02-09-2006, 11:52 PM
Now my signature and also timer isn't showing.

GamerJunk.net
02-10-2006, 12:29 AM
Got it working now.

jugo
02-10-2006, 12:38 AM
This is really cool...thanks.

poprulz
02-10-2006, 12:39 AM
nice hack!

installed..n working perfect. The countdown doesn't show up if the user don't have a signature?

The Chief
02-10-2006, 12:40 AM
awesome hack :)

Hellcat
02-10-2006, 12:44 AM
nice hack!

installed..n working perfect. The countdown doesn't show up if the user don't have a signature?
Yes.
There has to be a signature (at least one char) and in the post's option "Show my signature" has to be checked.

This way it will not show to ppl who have the display of sigs disabled.

Sooner95
02-10-2006, 01:30 AM
Woooohooo! Finally!

Click

CallieJo
02-10-2006, 01:54 AM
I've been waitin so long for something like this...moreso like tickercentral and lilypie and 3fatchicks...but this will def work for me now...thanks BUNCHES!!!

Just one q: Is there anyway we can have an option to use a pic next to the countdown date? Pics would be editable by admin and if the user does not want a pic they don't have to select one. This would be cool cause I could use my own graphics for usages...then maybe I wouldn't have so many other tickers in my members siggies...which is a whole bunch of them....

Oooh...wait...one more q: Is it possible to have more than one countdown?

Thanks BUNCHES for all your hard work...I totally love this!!!!

Mr Chad
02-10-2006, 02:13 AM
Wow. First post. I always get tingles when this happens.

Will install immediately. Nice idea.


EDIT: Installed. Awesome. Flawless.

I can use this for things, such as, well, counting down to my next date. Glad you put the "years" option in there.

lol... your funny.

Tulsa
02-10-2006, 03:00 AM
So, what would a person need to do to get rid of that border around it?

Hellcat
02-10-2006, 03:03 AM
So, what would a person need to do to get rid of that border around it?
Find in your Style Manager the template "usercountdown_display" and open it.
Remove all <fieldset> and <legend> tags -> gone is the border :)

Tulsa
02-10-2006, 03:38 AM
Well now that didn't look very good. ;) I just wanted to get rid of the white border.

bashy
02-10-2006, 05:28 AM
Brill m8 well done...clicked install

dan35
02-10-2006, 05:37 AM
clicked install! Thx dude!

JaMBo
02-10-2006, 06:46 AM
mine doesnt seem to show what the event is, just the countdown, nice hack BTW...

BeatificFaith
02-10-2006, 09:38 AM
Very wonderful. Installation was easy and works flawlessly. Thank you!

scottct1
02-10-2006, 11:54 AM
Hmm its not working for me.

I go and make my event, click save then go back in and look at my options again and it is blank.

Any ideas?

scottct1
02-10-2006, 12:11 PM
I got it working, seems like my timer name was too long.

Gizmo5h1t3
02-10-2006, 12:24 PM
working a trerat on my board....nice addition!!

Snake
02-10-2006, 01:17 PM
Good work there, buddy. I'll install this right now! ;)

Chris Lang
02-10-2006, 03:46 PM
Frickin' Cool Hack! **Clicks Install*** My users love it!

Hellcat
02-10-2006, 06:16 PM
Hmm its not working for me.

I go and make my event, click save then go back in and look at my options again and it is blank.

Any ideas?
What PHP version do you have?
Might be the same problem I have on my live board....

JaMBo
02-11-2006, 02:27 AM
What PHP version do you have?
Might be the same problem I have on my live board....

that is the same for me, it not show $event either?, we are on PHP version 4.4.1 if thats any help

Hellcat
02-11-2006, 11:41 AM
Is only the event empty or is nothing saved at all?

NuclioN
02-12-2006, 09:06 AM
Hellcat i saw that it only works if you have a signature. If not the countdown is not showing up.

Hellcat
02-12-2006, 04:07 PM
Hellcat i saw that it only works if you have a signature. If not the countdown is not showing up.
Yes, that's right.
The countdown only shows if there's a signature for that post.
So if someone disabled sigs showing it's also not shown.
That's on purpose, but might be enhanced in future updates :)

scootman
02-12-2006, 06:32 PM
<font color="SeaGreen">Klick Install</font>

Great hack,thanks

Regards

BrandiDup
02-13-2006, 02:43 PM
Can I kiss your feet? Seriously, thank you so much. I've been requesting this since I got vB last year. Installed flawlessly and my members LOVE it. Thank you sooo sooo much.

Is there a way to make more than one countdown? My members do a ton of countdowns on my forum and the tickers from the ticker sites really slow the load time (not to mention taking up tons of space) so I'd love to enable more than one countdown to get rid of some of the tickers.

You totally rock.

BrandiDup
02-13-2006, 02:51 PM
One quick question. Is there any way I can keep the border around the countdown, but stop it from spanning the whole width of the signature? I'd like to have it around the text, but not span the whole width of the board.

Wachtmeister
02-13-2006, 03:27 PM
Great, just 3 phrases cannot be translated:

Option to show a public countdown to a certain event
Yes
No

Maybe you can phrase these three in an update. Good work!

Hellcat
02-14-2006, 04:24 AM
Can I kiss your feet? Seriously, thank you so much. I've been requesting this since I got vB last year. Installed flawlessly and my members LOVE it. Thank you sooo sooo much.
* Hellcat puts off his shoes
Sure, get over here ;):D

Seriously: Glad you have so much use for it :):up:
Is there a way to make more than one countdown?
At the moment it can only be installed once for one countdown.
(I tried to just change the product ID in the XML and some other identifiers - the second install still messed up the whole thing down to the unability to uninstall it - thankfully it was on my local dev. vB :D)

I might think of a way how to do more than one countdown per user....
* Hellcat thinks



One quick question. Is there any way I can keep the border around the countdown, but stop it from spanning the whole width of the signature? I'd like to have it around the text, but not span the whole width of the board.
If you put the contents of the counter display template inside a 1x1 cells table it should do the trick.



Great, just 3 phrases cannot be translated:

Option to show a public countdown to a certain event
Yes
No

Maybe you can phrase these three in an update. Good work!
Whoops.... those slipped by....
The first however is the userprofilefiled decription, those don't use phrases :-/
But I'll overwrite the description with a phrase text, that should do it :D
Will all be phrased in the next update :up:

ConKien
02-15-2006, 08:05 PM
Yes, that's right.
The countdown only shows if there's a signature for that post.
So if someone disabled sigs showing it's also not shown.
That's on purpose, but might be enhanced in future updates :)

Can you seperate the signature & this countdown event? I want the count down shown & no signature, if no countdown then show the signauture, something like

If (has countdown)
Show countdown
Else
Show signature (if enable)

My users hav to sacrify! They can't have both since it's will slow down if we have a big board and everyone showing theirs!

ktp101
02-15-2006, 08:56 PM
nice hack, i'm useless at installing things but done this no problems

rammbs
02-17-2006, 09:36 PM
mod installed. thanks!

Edit (spoke too soon):

installation went fine. no problems.

but when i go to "Edit Options" i get the error below...

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thebe6/public_html/forums/profile.php(2687) : eval()'d code on line 64

if i move it to "Edit Profile". I see it there and no error like the above. BUT after making a countdown. i don't see it in my sig portion.

help please...

G_Man
02-17-2006, 11:18 PM
Question. Is there anyway we can make it so only admins or specified groups can use this feature?


Same question. Hack looks GREAT, but I would like to limit who has access, also.

If you get around to implementing something like this I will back to install in a heartbeat. :D

Hellcat
02-17-2006, 11:36 PM
@rammbs:
That's weird.... I'll check it....

Also working on the usergroup permissions :)

rammbs
02-18-2006, 03:49 AM
Hellcat, no need!

i found my culprit. it was an extra "if" in the "modifyoptions" template after installing another hack.

it's all good! again, nice mod and thanks!! :up:

ConKien
02-18-2006, 03:54 AM
Same question. Hack looks GREAT, but I would like to limit who has access, also.

If you get around to implementing something like this I will back to install in a heartbeat. :D

Or better yet, let the user purchase this option through Ebux/Estore system! :)

Hellcat
02-18-2006, 07:28 AM
Happy news :)
While I was walking through the code anyway, I got the usergroup permissions working :up:

You can now choose what usergroup(s) can use the countdown via the usergroupmanager!
New archive has been uploaded.


Hellcat, no need!

i found my culprit. it was an extra "if" in the "modifyoptions" template after installing another hack.

it's all good! again, nice mod and thanks!! :up:
Cool, so I can stop looking ;)


Or better yet, let the user purchase this option through Ebux/Estore system! :)
Hmm.... cool idea!
I might think about a way of including this as an action in eStore :up:

Diggazz
02-18-2006, 10:45 AM
Not working here it wont save the info or display anything

got1-2
02-18-2006, 11:54 AM
Not working here it wont save the info or display anything


Same problem here, if i set event, ans save, it wont show, and go back to edit options...there is no event???

im at a complete loss....

SuperJETT
02-18-2006, 01:41 PM
I'm baffled, nothing appears to have changed.

I've tried 2 different ways so far because the instructions don't mention the /xml/bitfield_hc_countdown.xml so I tried both with and without it.

Uploaded the .php file to /includes/ then added new product with the .xml file and there is nothing anywhere and I've tried 3 different test accounts.

I also tried with uploading /xml/bitfield_hc_countdown.xml and no errors, but no options anywhere for countdown.

Uninstalled for now sadly. This sounds like a great addon.

BTW, 3.5.3 with a few addons, PHP 4.4.1 with Apache 1.3.34 on Linux.

G_Man
02-18-2006, 02:56 PM
Happy news :)
While I was walking through the code anyway, I got the usergroup permissions working :up:

You can now choose what usergroup(s) can use the countdown via the usergroupmanager!
New archive has been uploaded.





Fantastic! Up to my ears with some other things atm, but will be back to install this later this weekend. Thanks! :D

rammbs
02-18-2006, 03:04 PM
thanks for the update!

mholtum
02-18-2006, 03:16 PM
Great Idea, but I am a little lost.
I have followed your instructions and installed the mod, then I edited the user group properties.. But if you look at the image, I am not sure what to do.

rammbs
02-18-2006, 03:26 PM
I'm baffled, nothing appears to have changed.

I've tried 2 different ways so far because the instructions don't mention the /xml/bitfield_hc_countdown.xml so I tried both with and without it.

Uploaded the .php file to /includes/ then added new product with the .xml file and there is nothing anywhere and I've tried 3 different test accounts.

I also tried with uploading /xml/bitfield_hc_countdown.xml and no errors, but no options anywhere for countdown.

Uninstalled for now sadly. This sounds like a great addon.

BTW, 3.5.3 with a few addons, PHP 4.4.1 with Apache 1.3.34 on Linux.


@SuperJETT, please try this...

1. upload "plugins_usercountd.php" to ".../forum/includes/"
2. upload "bitfield_hc_countdown.xml" to "..forum/includes/xml"
3. then under "Plugin System" --> "Manage Products" --> "Add/Import Product"
4. import "product-hc_usercountdown110.xml"

5. go to "Usergroups"
6. edit your "Registered Users"
7. Scroll all the way down and click "Yes" to enable.
8. click "Update"

you're done.

hope this helps...

mholtum
02-18-2006, 04:14 PM
Ok, Now I am getting the Options for the countdown displaying twice.

SuperJETT
02-18-2006, 04:36 PM
I decided to give it one more shot, had to go in and edit the db manually though because on the last remove it didn't take the fields out properly apparently.

Short story = db is messed up. I have some work to do.

@SuperJETT, please try this...

1. upload "plugins_usercountd.php" to ".../forum/includes/"
2. upload "bitfield_hc_countdown.xml" to "..forum/includes/xml"
3. then under "Plugin System" --> "Manage Products" --> "Add/Import Product"
4. import "product-hc_usercountdown110.xml"

5. go to "Usergroups"
6. edit your "Registered Users"
7. Scroll all the way down and click "Yes" to enable.
8. click "Update"

you're done.

hope this helps...

lordofgun
02-18-2006, 05:22 PM
Yikes. This is causing an extra query per post on showthread.php. 38 queries had me freaked out!

SuperJETT
02-18-2006, 06:08 PM
Argh.

SuperJETT
02-18-2006, 06:20 PM
Ok, I need help on manually removing this plugin, my board is down currently. I've never had any problems like this with other plugins or my years of running phpbb forums and manually editting stuff.

Can anyone help me out? before viewthread died completely, I had 7 entries in the usercp for events. I know I haven't tried this 7 times, and I dug around in the templates and don't see multiple entries for anything related to this.

SuperJETT
02-18-2006, 06:27 PM
Here is my error:

Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT field FROM vbuserfield WHERE userid='106';;

MySQL Error : Unknown column 'field' in 'field list'
Error Number : 1054
Date : Saturday, February 18th 2006 @ 02:26:28 PM
Script : http://www.x-h2o.com/showthread.php?t=750
Referrer : http://www.x-h2o.com/search.php?searchid=22848

Classname : vb_database

Hellcat
02-19-2006, 02:31 AM
Same problem here, if i set event, ans save, it wont show, and go back to edit options...there is no event???

im at a complete loss....
I'm having the same issue on my own live server.
I already tracked it down to some sort of misbehaviour of eval()'d code on some occasions.
I think I have soon at least a workaround for this....


Uploaded the .php file to /includes/ then added new product with the .xml file and there is nothing anywhere and I've tried 3 different test accounts.

I also tried with uploading /xml/bitfield_hc_countdown.xml and no errors, but no options anywhere for countdown.
Did you edit the usergrouppermissions to allow usage of the timer?



I've tried 2 different ways so far because the instructions don't mention the /xml/bitfield_hc_countdown.xml so I tried both with and without it.Upload the contents of the "upload to ...." folder, the subfolder layou tin there is how it's supposed to be uploaded already....



Great Idea, but I am a little lost.
I have followed your instructions and installed the mod, then I edited the user group properties.. But if you look at the image, I am not sure what to do.
That's weird :ermm:
Shouldn't look that way. Have to see and find what may cause this....



Ok, I need help on manually removing this plugin, my board is down currently. I've never had any problems like this with other plugins or my years of running phpbb forums and manually editting stuff.
In the table "settings" delete all entries with "varname" = "countdownfield"
In table "profilefield" delete all entries with "title" = "User Countdown"
In table "userfield" drop all columns added by the countdown
SQL: DELETE FROM plugin WHERE product = 'hc_usercountdown';
In the product table delete the "hc_usercountdown" entry
Delete uploaded files



[EDIT]
OK, I did a few quick test, it seeme vB re-runns the install code even if it's already there. That shouldn't have happened....
That could be the cause for much troubles....

SuperJETT
02-19-2006, 07:45 AM
In the table "settings" delete all entries with "varname" = "countdownfield"
In table "profilefield" delete all entries with "title" = "User Countdown"
In table "userfield" drop all columns added by the countdown
SQL: DELETE FROM plugin WHERE product = 'hc_usercountdown';
In the product table delete the "hc_usercountdown" entry
Delete uploaded files



Just did that, showthread.php isn't working currently after removing everything from the db and the files from /includes.
Warning: Unknown(./includes/plugins_usercountd.php): failed to open stream: No such file or directory in /includes/class_postbit.php(279) : eval()'d code on line 3

Warning: Unknown(./includes/plugins_usercountd.php): failed to open stream: No such file or directory in /includes/class_postbit.php(279) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required './includes/plugins_usercountd.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xh2ocomg/public_html/includes/class_postbit.php(279) : eval()'d code on line 3

After uploading the files again just to see if it works:
Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT field17 FROM vbuserfield WHERE userid='290';;

MySQL Error : Unknown column 'field17' in 'field list'
Error Number : 1054
Date : Sunday, February 19th 2006 @ 03:39:46 AM
Script : http://www.x-h2o.com/showthread.php?p=12134
Referrer : http://www.x-h2o.com/index.php?
IP Address : my ip
Username : me
Classname : vb_database

field 17 is gone of course, was one that I deleted from the db. Can you point out the code modifications I need to remove? I'm new to the .xml and can sort of understand it, but not completely.

It's a beautiful day in the neighborhood, a beautiful day for a neighbor....

BTW, I love the idea of this plugin, and will definitely install it once it's sorted completely.

EDIT: since I was down anyway, decided to see if reinstalling would at least get me functional since the database was corrected, and it did, for now. Counters are even working. Can I get verification that the plugin uninstall works properly?

Hellcat
02-19-2006, 08:30 AM
EDIT: since I was down anyway, decided to see if reinstalling would at least get me functional since the database was corrected, and it did, for now. Counters are even working. Can I get verification that the plugin uninstall works properly?
Weird that it still wanted to access the files when the plugins are deleted....
Did the product / the plugins still show up on the plugin manager?

I just installed, uninstalled and reinstalled it several times on a test installation - didn't encounter any problems :-/

SuperJETT
02-19-2006, 11:33 AM
Weird that it still wanted to access the files when the plugins are deleted....
Did the product / the plugins still show up on the plugin manager?

I just installed, uninstalled and reinstalled it several times on a test installation - didn't encounter any problems :-/

Try installing, reinstall with overwrite, then uninstall and see where you end up. I think that's what got me.

Hellcat
02-19-2006, 11:50 AM
That's the point: NO OVERWRITE
Besides, after unistalling the overwrite is somewhat meaningless, since there is nothing to overwrite.

I think that's what causing the problems. Reinstalling by overwriting the current one (without uninstalling it first), and vB also re-runs the installer code (wich it shouldn't) and that really messes things up.

I will enhance the installer somehow to prevent that!

heynurse
02-19-2006, 12:55 PM
very nice, I'm sure our users will like this, easy install.

SuperJETT
02-19-2006, 01:52 PM
BTW Hellcat, thanks, both for writing this, and for helping me get mine straightened out.

NoRespect
02-20-2006, 07:34 AM
Anyone have this running on a large board? I am curious about performance. It sure does add a lot of queries.

Very nice hack though. :)

ImportPassion
02-25-2006, 02:54 AM
I just realized that if you don't have a sig, this will never show either. Is there a way around that?

ImportPassion
02-25-2006, 03:10 AM
Yikes. This is causing an extra query per post on showthread.php. 38 queries had me freaked out!

do u have ur options set to allow all posts on one page?

ImportPassion
02-25-2006, 03:16 AM
One quick question. Is there any way I can keep the border around the countdown, but stop it from spanning the whole width of the signature? I'd like to have it around the text, but not span the whole width of the board.

I know this was a couple weeks ago, but to solve this, just use the style attribute inline for the fieldset.
in template usercountdown_display
FIND: <fieldset class="fieldset">

REPLACE WITH: <fieldset class="fieldset" style="width:300px;">
or whatever width you want. You can also use percentage.
REPLACE WITH: <fieldset class="fieldset" style="width:50%;">

You also may need to add a <br/> before the fieldset tag.

lordofgun
02-25-2006, 03:21 AM
do u have ur options set to allow all posts on one page?

nope

cbr929rrerion
02-25-2006, 04:23 AM
well i have it installed, its showing on edit options, i put in the info and it does not save anything.

so nothing in the sig line...

any ideas?

kr580
02-25-2006, 04:53 AM
I somehow installed the product twice. Not sure how but now it's all messed up. After the second install it disappeared off the 'Manage Products' page.

I deleted most of the related parts in SQL but there's a few instances of the countdown that are mingled into certain tables that contain other stuff and I don't want to mess it up. Can you help me get rid of it completely? All in are in table 'datastore'. If you need the specific code LMK.

SuperJETT
02-25-2006, 10:19 AM
I somehow installed the product twice. Not sure how but now it's all messed up. After the second install it disappeared off the 'Manage Products' page.

I deleted most of the related parts in SQL but there's a few instances of the countdown that are mingled into certain tables that contain other stuff and I don't want to mess it up. Can you help me get rid of it completely? All in are in table 'datastore'. If you need the specific code LMK.

Read his replies to me, had the same problem and he helped\me get it straightened out.

Hellcat
02-26-2006, 07:39 AM
I'll punch together a "clean up script" this weekend for broken installs!

Gizmo999
02-26-2006, 09:24 AM
Hellcat, no need!

i found my culprit. it was an extra "if" in the "modifyoptions" template after installing another hack.

it's all good! again, nice mod and thanks!! :up:

I've installed but can't see the countdown, also got a modified modifyoptions template ( user select new searches). what do I need to do to alter this to get countdown to show up please??

A safe uninstaller would be useful or can i just delete the product and remove the Includes/plugins_usercountd.php and includes/xml/bitfield_hc_countdown.xml files??

I only want a small user group to have access to this product so I'm hoping queries won't be too much.

Hellcat
02-26-2006, 10:00 AM
Usually a uninstall via the Product Manager works fine.
Onyl sometimes, esp. when re-installed with "Allow Overwrite" things could get a bit messy - therefor the cleanup script.

Also ATM countdowns only show when a sig is present and displayed - I'm going to tweak that as well.

Gizmo999
02-26-2006, 12:40 PM
Usually a uninstall via the Product Manager works fine.
Onyl sometimes, esp. when re-installed with "Allow Overwrite" things could get a bit messy - therefor the cleanup script.

Also ATM countdowns only show when a sig is present and displayed - I'm going to tweak that as well.

So to unistall, remove via product manager, remove Includes/plugins_usercountd.php and includes/xml/bitfield_hc_countdown.xml files and then reinstall everything.

I didn't have a signature showing before the install and only added one after I installed then read the full thread :(

cbr929rrerion
02-26-2006, 02:13 PM
well i have it installed, its showing on edit options, i put in the info and it does not save anything.

so nothing in the sig line...

any ideas?


Help.. help

Gizmo999
02-26-2006, 05:15 PM
phew, got it working, deleted the product, removed files then added text to my signature, made a test post, saw sig visible, upped files again, reimported product and hey presto all working fine.

Christie189
02-27-2006, 09:13 PM
Please help me. I followed the instructions 100%. Now, the product is not showing up in the Installed Products list. And I have 3 of the slots in my profile. Yet, I cannot seem how to UNINSTALL this completly from my board? I got some SQL error a while ago. HELP!

Gabriela.B
02-28-2006, 02:23 AM
Hello, I got everything installed; except something is not correct when I went to User Control Panel/Options

This is what it shows

Im not sure what it is

Gabriela.B
02-28-2006, 01:43 PM
That thing really screwed my SQL Database, you might need to fix it! :ermm:

How do I delete it completely? Or does that mean I have to reinstall Forum?

Gabriela.B
02-28-2006, 02:17 PM
Well I found how to fix it and SQL Database works better now, To the people who have SQL Database, this might help you

Go to Admin
User Profile Fields - User Profile Field Manager

Delete the Countdown, it will tell you that it has error but keep deleting all until you got them deleted, then your SQL Database will work as normal.

It worked for me. Hope this helps.

Calisse
02-28-2006, 05:36 PM
awesome hack :)

Wonderful. Mention in readme that you need to edit usergroups because at first i was like.. hmm that didnt work

Hellcat
02-28-2006, 10:37 PM
@cbr929rrerion:
Try this (worked on my board):
Open the plugin "Usercountdown - Save Settings" and replace the complete contents with this: $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 );



The cleanup script is almost done.... ;)

cbr929rrerion
03-01-2006, 12:02 AM
@cbr929rrerion:
Try this (worked on my board):
Open the plugin "Usercountdown - Save Settings" and replace the complete contents with this: $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 );



The cleanup script is almost done.... ;)


Thanks Hellcat that fixed it.. working perfect now..

Just one question, I want to change the way its displayed in the sig, like add breaks and maybe change font, where do I go to edit that part..

Thanks...

Hellcat
03-01-2006, 12:13 AM
In your style manager locate the template "usercountdown_display" and edit it to your needs :)

cbr929rrerion
03-01-2006, 12:45 AM
awesome, done deal.. looks great

Hanif
03-01-2006, 05:28 AM
Does this work for 3.5.4???

Cant seem to get it working????

Ta,

Hanif

Hellcat
03-01-2006, 08:48 AM
Should have no probs on 3.5.4.
Did you edit the usergroup permissions?

What exacltely doen't work?

Hanif
03-01-2006, 06:25 PM
Should have no probs on 3.5.4.
Did you edit the usergroup permissions?

What exacltely doen't work?
Thanks for getting back in touch HellCat,
Ive edited it for the Usergroup, and said 'Yes' or enabled it, however, cant see it anywhere in the Signature options.

Kind regards,

Hanif

dxguru
03-13-2006, 10:24 PM
Thanks for the great plugin Hellcat,
Just have one request/question about timezones ...

When setting up a countdown it doesn't seem to take into account the members timezone.
eg I set up a countdown that should have shown 30 minutes, instead I got 14 hours and 30 minutes.

Lottis
03-25-2006, 09:14 AM
I get this error, when i try to import the xml- product file.
Duplicate entry 'countdownfield' for key 1

Does anyone know why, and how i can fix this?

presumined
03-29-2006, 12:11 PM
I'm not getting it for some reason.

I uploaded the plugins_usercountd.php file to my includes directory, then went into the Admin CP > Plugin System > Manage Products > Add/Import Products, and uploaded the product-hc_usercountdown110.xml file.

I went to my User CP but nothing shows up. What have I done wrong? (Apologies - I'm new to VBulletin).

Also, how does clicking Install on this thread affect my plugin? I don't see how it can.

dano
03-29-2006, 03:04 PM
Works fine on 3.5.4 btw. It is slowing my board down a bit as I have a pretty busy board. Wish there was a way to speed things up a bit. Any ideas?

oz_moses
03-30-2006, 11:03 PM
Hi Dano, if the slowdown is due to one extra query per post, you could speed up your board by decreasing the number of posts shown on a page..

kr580
04-10-2006, 07:26 AM
Have that cleanup script yet? :)

ijob
04-10-2006, 03:22 PM
can u have more than 1 countdown?

Jordan17
04-10-2006, 05:29 PM
* Jordan17 installs (Installation 101 ;))

ChuckH
04-11-2006, 06:04 PM
@cbr929rrerion:
Try this (worked on my board):
Open the plugin "Usercountdown - Save Settings" and replace the complete contents with this: $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 );



The cleanup script is almost done.... ;)


fixed the no save problem for me!

ryancooper
04-11-2006, 08:06 PM
Any way to use a javascript and make the countdown live so you can see it actulyl counting sown?

slim cutty
04-18-2006, 02:52 AM
Invalid SQL:
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile, datatype, product) VALUES ('countdownfield', 'hc_usercountdown_settings', '7', '0', '', 0, 0, 0, 'number', 'hc_usercountdown');;

after the hack wouldn't show I tried to re-install ... and got the message above. When I tried to unistalll it said that the plugin wasn't available... however it was in my database.

I can't uninstall this ... can someone help me out on which queries to run??? This hack has dissappeared from the plugin menu in my admincp; however, it still shows in edit options and I assume that remnants are still in the database.

*Edited
I figured it out... had to do the uninstalls manually... now it works just fine... thanks

help please! Thanks

dirtycrow
04-18-2006, 08:42 PM
i tried to install this and now i have this in the users CP.

anyone have any ideas how to remove this? also the plug in is not listed in the "manage plug ins" page.

http://img.photobucket.com/albums/v249/kdpsports/Paste41820061.jpg

dirtycrow
04-19-2006, 06:14 PM
since installing this, and then uninstalling this i get this error, when i attempt to edit a users profile. I checked in the User Profile Field Manager and there is no "field 35" to be found. how do i correct this? thoughts?

MySQL Error : Unknown column 'field35' in 'field list'
Error Number : 1054
Date : Wednesday, April 19th 2006 @ 03:02:13 PM
Script : http://forums.xxx.com/admincp/user.php
Referrer : http://forums.xxx.com/admincp/user.php?do=edit&u=587
IP Address : xxx
Username : xxxx
Classname : vb_database

ryancooper
04-26-2006, 08:31 PM
Is there a way to get this to show in a vb block? I tryed adding it to my /modules directory and adding a php block but no go.

halpern
05-14-2006, 02:47 AM
Is there a version this for vb 3.5.4? It seems as though this doesn't work for it because I have tried installing it and I dont see it.. Thanks.

mholtum
05-14-2006, 02:52 AM
It works. The check usercp / options but, you must have something in your sig I think.

halpern
05-14-2006, 04:20 AM
I currently have a signature and when I go to Edit Options in the Miscellaneous section I don't see anything.

napukjon
05-17-2006, 04:12 PM
Hasnt worked for me! No options in Edit Options for me to make timer with.

Hellcat
05-17-2006, 07:12 PM
Hasnt worked for me! No options in Edit Options for me to make timer with.
Set up usergroup permissions?

UncoderMom
05-24-2006, 05:10 AM
Great hack! TY very much!!

installed

JulianWolf
05-28-2006, 06:07 PM
The Timer is great, but it doesn´t look so fine togehter with the signature.

There is a black line, then the signature, then, without a space, the border with the timer inside. It´s too much different stuff, different fonts and so on.

I love the border so I think about ... how could I remove the black line and put the signature inside the border also? Then everything is inside the border, that would look nice.

I tried it out but I have no clue. Any suggestions, where to look for?

Best wishes, Julian!

Lea Verou
05-29-2006, 12:54 AM
I can use this for things, such as, well, counting down to my next date. Glad you put the "years" option in there.

LOOOL!!! :D


Hellcat thanks for the nice modification. It's always nice to see such orignal and creative ideas! Thumbs up! Will probably install when I get over my database & hosting problems. Btw how many queries does this add? (No time to look at the code, sorry)

webgroup
05-29-2006, 01:23 AM
nice hack!
Would like to see a version for the forum home page, to place a countdown to an especial event on the forum.

Like:
Countdown to: Vin Diesel VideoChat on the forum
(i used this example cause I have an entertainment forum)

slickdawg
06-06-2006, 04:08 PM
I'm new to vb, and tried to install this on 3.5.4 and it didn't work.

So I uninstalled, and tried to reinstall. Now I get this:

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile, datatype, product) VALUES ('countdownfield', 'hc_usercountdown_settings', '5', '0', '', 0, 0, 0, 'number', 'hc_usercountdown');;

MySQL Error : Duplicate entry 'countdownfield' for key 1
Error Number : 1062
Date : Tuesday, June 6th 2006 @ 11:57:50 AM
Script : http://forums.2daves.org/admincp/plugin.php
Referrer : http://forums.2daves.org/admincp/plugin.php?do=productadd
IP Address : my ip
Username : me
Classname : vB_Database



What do I need to do to fix this? Thanks!

noob

Hellcat
06-07-2006, 12:33 AM
Yooohooo!

Finally....
I just upload an updated version of the countdown timer!

There are no changes to the countdown itself, but I completely replaced the install/uninstall code to perform cleanup actions during install!

If you have a messed up install or you are unable to (re)install or even uninstall the coundown, download the new version 1.12 and import it with "Allow Overwrite" enabled.

During install the product will now perform a cleanup, removing all remains of a previous installation, including left over install/uninstall codes that may cause problems, before doing the actual installation.

slickdawg
06-07-2006, 02:37 PM
The new version did the trick! Thanks a bunch hellcat!!!

kidron
06-08-2006, 03:37 AM
I uploaded the file and iimported "product-hc_usercountdown112.xml" in the "Manage Products" section, but still nothing changes under "Edit Options" in the UserCP .. am I missing something?

Jeordie015
06-09-2006, 09:06 PM
Okay, I admit it, I'm picky. I really like this hack, but there were a few things I wanted to change. First, I wanted to change it in the user CP so that the dropdown menu to select the month came before the day. I guess that's an American thing to prefer that. Anyway, I managed to do that. But the other thing that I wanted to change was the actual display in the posts so that there would be a space between the number and the measure of time and add commas where appropriate.

For example, currently the countdown would appear like this in a signature:
19days 1hours 20minutes

I would want it to appear like this:
19 days, 1 hour(s), 20 minutes

Is that possible?

Hellcat
06-09-2006, 10:33 PM
I uploaded the file and iimported "product-hc_usercountdown112.xml" in the "Manage Products" section, but still nothing changes under "Edit Options" in the UserCP .. am I missing something?
Make sure you set the usergroup permissions to allow using the contdown forall usergroups you want to be able to....


But the other thing that I wanted to change was the actual display in the posts so that there would be a space between the number and the measure of time and add commas where appropriate.

I would want it to appear like this:
19 days, 1 hour(s), 20 minutes

Is that possible?
That's just another template edit.
It the.... erhm.....
* Hellcat checks
Ah, it's the "usercountdown_display" template - that hods the markup for the counter display, just edit this to your needs.

But the actual time display comes from the plugin itself....
* Hellcat checks again
Open ".../includes/plugins_usercountd.php", the actual time/counter display is constructed from line 209 to 219, you can change it there and add the commas and/or change positions and such.....

Jeordie015
06-09-2006, 11:19 PM
Thanks. I knew it wasn't in the template, and I figured it would be in one of the xml files, but I didn't know which one or where.

Hm...I'm not sure how to add spaces and commas where I want them. Can you help me out here?

Hellcat
06-10-2006, 01:07 AM
To add the commas, in plugin_usercountd.php change:

Line 213:$counter = $remain["hours"] . $vbphrase["countdown_hours"] . " " . $counter; to $counter = $remain["hours"] . $vbphrase["countdown_hours"] . ", " . $counter;

Line 218:$counter = $remain["days"] . $vbphrase["countdown_days"] . " " . $counter; to $counter = $remain["days"] . $vbphrase["countdown_days"] . ", " . $counter;

rareclownfish
06-10-2006, 01:55 AM
Nice update

kidron
06-10-2006, 04:30 AM
When importing the XML file I get this error "XML Error: unknown at Line 0" :confused:

Hellcat
06-10-2006, 04:38 AM
When importing the XML file I get this error "XML Error: unknown at Line 0" :confused:
You're using Zend?

Jeordie015
06-10-2006, 02:27 PM
To add the commas, in plugin_usercountd.php change:
Awesome. I figured out how to add the spaces myself using what you said. As you can probably tell, I'm not a coder, but I'm not dumb.

Anyway, nice hack. I like the idea. I'm just going to edit some things to make it look like I want.

I think another thing that at least I'm going to attempt to do is show the countdown on the main User CP page. Is there a way to display the current countdown on the main User CP page without it being in the signature?

I'm just thinking especially if it'll be possible to make multiple countdowns in the future, it would be cool to show them all on the main User CP page for the user's sake. Okay, I'm done babbling now. Just some ideas.

kidron
06-10-2006, 03:04 PM
You're using Zend?

Ok.. I got it imported..

now the problem is that there isn't anything about UserCoundowntimer on the Usergroups options (I ran the index.php?do=buildbitfields script)

gonecountry
06-10-2006, 08:31 PM
I'm having same problem uploaded like read me says I even rebuilt the bitfields, still nothing. No usergroup option or nothing in the edit options in usercp.

lucky123
06-10-2006, 09:15 PM
Help here's my error....
I downloaded to my documents and imported in the manage products, plugin ins. I can see it under styles but now I get the following error when I try to read a PM from somebody.

Warning: Unknown(./includes/plugins_usercountd.php): failed to open stream: No such file or directory in /includes/class_postbit.php(279) : eval()'d code on line 3

Warning: Unknown(./includes/plugins_usercountd.php): failed to open stream: No such file or directory in /includes/class_postbit.php(279) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required './includes/plugins_usercountd.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lucky123/public_html/includes/class_postbit.php(279) : eval()'d code on line 3

lucky123
06-10-2006, 09:20 PM
I unistalled this and it fixed the board but I really want this one.

Please tell me what I am doing wrong with this pluggin

Jeordie015
06-10-2006, 10:08 PM
lucky123, did you upload plugins_usercountd.php to the includes directory?

lucky123
06-10-2006, 10:14 PM
no and this is where I know must have messed up

Where is the includes catagory (in the cp admin?).
I just uploaded the file into the pluggin section.

gonecountry
06-10-2006, 10:26 PM
No you need to upload to your forums directory then includes via FTP or your host control panel. Good Luck!

www.yoursite.com/forums/includes or something similar

lucky123
06-10-2006, 10:26 PM
Oh I missed that folder labeled "upload to includes directory"
I had to FTP it.

O.k so I had a blond moment (no offense anyone)

gonecountry
06-10-2006, 10:35 PM
LOL glad you straightened it out. Now I hope someone has an answer to my problem!

lucky123
06-11-2006, 03:10 PM
It works and my users are using it but in my CP panel log here is the errors I am getting now...
[Sun Jun 11 09:58:40 2006] [error] [client 68.142.250.136] File does not exist: /home/lucky123/public_html/404.shtml
[Sun Jun 11 09:58:40 2006] [error] [client 68.142.250.136] File does not exist: /home/lucky123/public_html/robots.txt


I looked for this file but could not find it. Is it a necessary file???

Also this error which never showed before either.

[Sun Jun 11 11:26:43 2006] [error] [client 68.108.155.79] File does not exist: /home/lucky123/public_html/404.shtml
[Sun Jun 11 11:26:43 2006] [error] [client 68.108.155.79] File does not exist: /home/lucky123/public_html/shadowkali@yahoo.com


(that's the email my VB uses to email from the forum)


Please help someone!

heynurse
06-17-2006, 02:29 AM
Hi everyone, I had the previous version of this hack running, and users were complaining of it not working quite right? They would fill out their details for the countdown, and then save it, but the countdown would not show??? They had something in their signature feild, so that was not the problem?

The details for the countdown would not even save in the edit options page. For example, see the screen shot after you submit your countdown, it's blank??

I thought I'd upgrade to the latest version of the countdown, but that did not fix the issue, I un-installed the last version, re-installed the new version, and the same problem??

It's like it's not storing data somewhere? The edit options page fields remain blank after submiting and the countdown is not showing up??? I've gone throught the uninstall/re-install process 3 times and no luck??? Any advice on how to fix this???

I love this hack and would love to get it back up and running again! TIA!

Jeordie015
06-17-2006, 07:54 PM
Hm. I've had this installed for a while, but didn't notice it until now. The time seems to be off by 2 hours. What could be the cause of this?

Elsie
06-29-2006, 12:53 PM
i've just installed it but it doesn't appear anywhere........ what have i missed??

kidron
06-29-2006, 01:20 PM
i've just installed it but it doesn't appear anywhere........ what have i missed??

the same is happening to me.. I installed it some weeks ago and nothing happened.. :tired:

Elsie
06-29-2006, 01:22 PM
glad it's not just me!

can someone enlighten us please?!?!

Muellmann
07-14-2006, 04:10 PM
the same is happening to me.. I installed it some weeks ago and nothing happened.. :tired:

works fine, needs a bit playing :)
pressed install! thanks to Hellcat for this useful siggi-addon

1) follow the instructions howto install it
2) make your own siggi at least one char length
3)Update in your usergroupmanager the bitfields by checking out at least one group (registered users e.g.)!
4)Give the permissions to use it for registered users and admins (apply in options of the usergroup in the usergroupmanager), because default is NO.
5) enable display signatures in your usercp and in one of your posts by checking
the option "display signatures in post"

The you're done!

R-n-R
07-14-2006, 08:25 PM
I am in the Admin CP and trying to Import the bitfield_hc_countdown.xml file.

I get this message after clicking Import button:

Invalid File Specified

I have tried importing via the "upload the XML file from your computer" way and also used FTP to upload the file to the ./includes/xml/ directory and used the "import the XML file from your server" and both ways I get the error message Above.

This is with version 3.6 RC1

Any ideas? Or maybe this doenst work with 3.6 RC1? :surprised:

Elsie
07-24-2006, 07:48 AM
is there a way to set it so that, after 24 hours of the event, the countdown removes itself from the sig?

so for instance you don't have "it's my birthday" there for weeks (i know you just go and disable it, but it'd be cool if it did it itself).

Elsie
07-24-2006, 08:38 PM
any news of this one being upgraded for 3.6?

Maagic
07-25-2006, 11:18 PM
To add the commas, in plugin_usercountd.php change:

Line 213:$counter = $remain["hours"] . $vbphrase["countdown_hours"] . " " . $counter; to $counter = $remain["hours"] . $vbphrase["countdown_hours"] . ", " . $counter;

Line 218:$counter = $remain["days"] . $vbphrase["countdown_days"] . " " . $counter; to $counter = $remain["days"] . $vbphrase["countdown_days"] . ", " . $counter;

Can you post the correct code for putting a space between the number and the words? 10 days, 9 hours, 8 minutes for example.

SpanishHarlem
07-26-2006, 03:48 PM
Installed and thank's. My member's will love this.

Tasoli
07-29-2006, 05:18 AM
/Installed

Please mention in the top post that you have to ENABLE it in the USERGROUPS in the ADMIN CP... took me 20 minutes to figure that out.

Wifey
07-30-2006, 08:44 PM
Installed and working great! Nice hack :)

Traxdata
08-16-2006, 02:00 PM
Do not install this hack on vB 3.6.0!!!

Al-Fateh
09-03-2006, 06:01 PM
after i log in my User Options , the countdown option is not even there

BENSTER
09-08-2006, 01:04 PM
after i log in my User Options , the countdown option is not even there
go in to your control panel to enable this feature after installing.

DaveAK
11-07-2006, 03:28 AM
Do not install this hack on vB 3.6.0!!!
Why not?

G0F0RBR0KE
11-12-2006, 04:49 AM
Nvm...got it working...

joseduddy
12-18-2006, 04:15 AM
Cannot get this very simple add on to work. VB3.6.4

did the rebuld for bitfield and got alot of data base errors from server. Do I need to wait for upgrade?

Jose

Glynn58
01-31-2007, 09:58 PM
Installed tonight and it installs OK.

Uploaded files to /includes
imported product.
Edited usergroups
Went to userCP and Nothing :(

I'm on 3.6.4

Any ideas? do I need to edit a template to get the settings to show in usercp/edit options?

Mum
02-01-2007, 04:30 PM
Just watching for success stories with 3.6.4 before i install :)

Fitone
02-12-2007, 06:41 PM
This is a TOTAL newb question but where can i find the "forum/includes' ?

Fitone
02-12-2007, 06:59 PM
Ok I found it on my server and uploaded the .php file and also uploaded the .xml file through VB however the countdown option is not appearing it my edit options.

Any ideas? Is is supposed to work with 3.6?

Mum
02-13-2007, 09:34 PM
I haven't heard of any success stories yet, i'm still waiting!!

blind-eddie
02-16-2007, 12:38 AM
Any news yet?

Tom_S
02-16-2007, 09:12 AM
Same issues with errors on install with 3.6.4..uninstalled and waiting for upgrade

gobears20
04-27-2007, 09:00 PM
Will this work with Version 3.6.5?

airborneCAL
05-11-2007, 02:35 AM
Will this work with Version 3.6.5?

I'm curious as well.

R-n-R
05-11-2007, 02:47 AM
I would like to know as well.

WAHMama
05-17-2007, 03:29 PM
I just tried to install this and as soon as I did I received database error whenever attempting to access a thread. I could see the main board and the forums but entering individual threads was an issue. Have uninstalled and will wait for further information.

I am running 3.6.7

PinkLiquorice
06-10-2007, 12:34 PM
I am running 3.6.7 uploaded it as prompted and although it is in my usergroup bit and I have enabled it from there there is nothing showing in the usercp

SBlueman
06-24-2007, 10:41 PM
Getting this DB error:
Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT field0 FROM userfield WHERE userid='580';;

MySQL Error : Unknown column 'field0' in 'field list'
Error Number : 1054
Date : Sunday, June 24th 2007 @ 07:40:49 PM
Script : http://gridironfans.com/forums/showthread.php?t=29692&page=16
Referrer : http://gridironfans.com/forums/showthread.php?p=172063
IP Address : 71.198.190.172
Username : SteveRobWhatever
Classname : vb_database

Aeolian
09-29-2007, 03:48 PM
is this MOD dead? :|

Mum
09-30-2007, 07:17 AM
The mod writer hasn't been on since Jun 06 so i d say so :(

jdelasko
11-13-2007, 02:38 AM
Wish I would have read this entire thread before I installed. Same story... doesn't show up in userCP in V 3.6.4

Uninstalled.

Great idea though. Wish someone would fix this.

craiovaforum
11-18-2007, 06:38 PM
I have been using this plugin for some time now. Just now I stumbled upon something that it seems I have overlooked in the past.
The file "/includes/plugins_usercountd.php" gets parsed every time postbit_display_complete is called. Meaning that if you look at a thread with 50 posts per page that file will be parsed 50 times. Luckily the script includes no database queries :)
This has probably little effect if you use a php opcode cache like xcache, apc etc. On systems that don't use an opcode cache for php this plugin will generate plenty of unneeded overhead.

I'm seriously thinking of removing this plugins from my forums because of this even if it didn't visibly affect me so far (probably because I have always used xcache). My board recently hit the 1 million post milestone so every bit of gained performance is valuable from now on.

nyunyu
12-08-2007, 07:03 PM
I installed this hack. After giving permission to usergroup, I tried to test it out.
Unfortunately it work with an error..see attachment.

How can I fix this? I use vB 3.6.8.

Tom_S
12-08-2007, 08:10 PM
Maybe because it is for version 3.5.4?:rolleyes:

nyunyu
12-09-2007, 09:41 AM
I understand if some mod for 3.6.x doesnt have backward compatibility with lower version but 3.5.4 mod cannot be used for 3.6.8? Hmm...can the coder replied so that I can know for sure if this mod cannot be used with 3.6.8?

Tom_S
12-09-2007, 03:11 PM
Why don't you do like I do and everyone else. On the top right of this mod there is a link that says "About the Developer (https://vborg.vbsupport.ru/member.php?u=35034)" click that link. It says he/she has not been on here since 3 Jul 2006. Now I would pretty much say your chances are pretty slim. Your best bet is getting another member to help you.

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.
// ************************************************** ******************** \\

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
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.
// ************************************************** ******************** \\

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?