vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Users Registered Today v2.0.0 (https://vborg.vbsupport.ru/showthread.php?t=126289)

Masked Crusader 11-06-2006 01:28 AM

Was not going to install this. I passed over it the first time.

Then, I thought I would be great to know how many registrations I am getting per day. So, CLICKED INSTALL and have installed.

tinhyeuon 11-11-2006 04:21 PM

Sorry i want change time my forum when my member registered.

eXtremeTim 11-13-2006 03:32 AM

Quote:

Originally Posted by tinhyeuon (Post 1114835)
Sorry i want change time my forum when my member registered.

What?

johnny713 11-13-2006 08:20 PM

thank you for sharing, have a nice day.

Cocko 11-13-2006 09:26 PM

Quote:

Originally Posted by Cocko (Post 1111347)
possible template for vbadvanced cmps 2.2.1 ?

oh.. any ?

eXtremeTim 11-14-2006 07:35 AM

Quote:

Originally Posted by Cocko (Post 1116654)
oh.. any ?

I might see about creating one soon.

Cocko 11-14-2006 04:15 PM

Quote:

Originally Posted by eXtremeTim (Post 1116906)
I might see about creating one soon.

veriy nice too, if admin will be able to choose showing the i.e. last 10 regs

Makc666 11-20-2006 06:59 AM

Temlate 'ewt_usersregtoday' - error fix

Temlate 'ewt_usersregtoday' must be:
PHP Code:

<tbody>
    <
tr>
        <
td class="thead" colspan="2"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_urt')"><img id="collapseimg_forumhome_urt" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_urt].gif" alt="" border="0" /></a>$vbphrase[ewt_users_registered_today]: $numregtoday</td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_urt" style="$vbcollapse[collapseobj_forumhome_urt]">
    <
tr>
        <
td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[ewt_users_registered_today]border="0" /></td>
        <
td class="alt1" width="100%"><div class="smallfont">$regtoday</div></td>
    </
tr>
</
tbody

What was changed?
forumhome_stats
changed to:
forumhome_urt
3 (three) times!

What was the problem?
When you was trying to collaps that table of "Users Registered Today" by pressing button /buttons/collapse_thead.gif, there was mess up with other tables.
Also value forumhome_stats can be use there.
It must be used forumhome_urt every where in that template!

Stop 11-21-2006 08:05 PM

How can I display it under the today users ?

johnrizz 11-21-2006 11:16 PM

veriy nice, I like it! thanks...:knockedout:

Makc666 11-23-2006 03:18 PM

Quote:

Originally Posted by Stop (Post 1122460)
How can I display it under the today users ?

Maybe uninstall both products and then install fist today users and the this one?

Makc666 11-27-2006 04:17 PM

Another TWO BUGs!!!

1.
MOD doesn't allow translation.
It uses text in its code: Users Registered Today:

2.
MOD uses $today in its code.
But!!! $today is already reserved by vBulletin forum!

So, this hack bracks working of this URL:
Attachment 56747

If you install MOD you will see a broken URL like:
calendar.php?do=getday&day=&sb=1

Must be:
calendar.php?do=getday&day=2006-11-27&sb=1

Missed:
2006-11-27

I attached a correct version with translation string and with fixes for BUG #2

Makc666 11-28-2006 07:18 AM

I reuploaded file above.
There was one more bug in missing translation.

MustangLisa 12-01-2006 12:50 AM

Awesome! Thank you.

flindersredclaw 12-01-2006 04:37 AM

Installed thank you.

Request to have it show the weeks registrations as our forum is not really that big and the members would like to know who has registered so they can greet them. If it is just for one days registrations some people will be missed for sure.

I poked about but could not find where it is calling the time.

Any and all assistance and advice appreciated.

Crusty

vectra-c.com 12-06-2006 04:27 PM

Installed :)

dknelson 12-20-2006 11:33 AM

Just upgraded to this newest version. A couple of things.

I had the same problem with the collapse as Makc666 pointed out. I've got that problem corrected but wondered why the download hasn't been updated to correct it.

The other thing is that I don't want to show the post counts. I had removed them from the previous version but don't remember how. Can somebody help?

Thanks

Makc666 12-20-2006 03:18 PM

Quote:

Originally Posted by dknelson (Post 1142168)
The other thing is that I don't want to show the post counts. I had removed them from the previous version but don't remember how. Can somebody help?

Thanks

Go to ACP.
Go to vBulletin Options.
Find EWT - Users Registered Today there.
And you will see :)


Next time read first post more attentive! ;)
There is text:
Quote:

Admincp toggles for the following things:
ability to turn on an off the forumhome box and new page version.
ability to turn off and on showing of the new users posts for the forumhome box and new page version independantly

dknelson 12-20-2006 04:50 PM

Thank you so much and I do apologize. I read it at least 3 times and it never sunk into my thick skull. :(

Masked Crusader 12-28-2006 04:32 PM

Alright. If you go to my site http://www.defyingevolution.com and scroll down to where the Users Registered Today part, you will see there is a space after every user that has registered. How can I get rid of that space for that the username is followed directly by the comma?

Makc666 12-29-2006 01:52 AM

shanejeffery86
Download version 2.0.0 or my 2.0.1 (fixed some translation strings).
Open that file in Notepad and look for lines (separately):
Code:

$regtoday .= "$today[opentag]$today[username] ($today[posts] $vbphrase[posts])$today[closetag]</a>*, ";
$regtoday .= "$today[opentag]$today[username] ($today[posts] $vbphrase[posts])$today[closetag]</a>, ";
$regtoday .= "$today[opentag]$today[username] $today[closetag]</a>*, ";
$regtoday .= "$today[opentag]$today[username] $today[closetag]</a>, ";

Do you see this one at the end of EACH line:
, ";
There is a space before ".
Remove those 4 (four) spaces, save file and reupload the product with overwrite option.

encryption 01-13-2007 11:57 AM

Dude you fixed the one error that was bugging me (the minimize box option which minimized the wrong box).

I uploaded yours and all is well now.

Anyways as for your the lines above, I dont see them in your version of the mod...

criscokid 01-21-2007 12:08 PM

Suggestions for future version:

1: Make the usernames a hyperlink to their profile page.
2: Create an 'external block' to allow this to be shown on a vbPortal page
3: Show user's avatars

Makc666 01-21-2007 10:26 PM

Quote:

Originally Posted by encryption (Post 1157958)
Dude you fixed the one error that was bugging me (the minimize box option which minimized the wrong box).

I uploaded yours and all is well now.

Anyways as for your the lines above, I dont see them in your version of the mod...

Quote:

Originally Posted by criscokid (Post 1164208)
Suggestions for future version:

1: Make the usernames a hyperlink to their profile page.

Usernames are hyperlinks to their profile pages...
Code:

        if ($today[visible])
        {
            $regtoday .= "<a href='member.php?u=$today[userid]'>";

Quote:

Originally Posted by encryption (Post 1157958)
2: Create an 'external block' to allow this to be shown on a vbPortal page

Quote:

Show Users Registered Today On New page
This option turns on the second page which you can use to show the members who have registered today.
Read the first post, there is an example page:
PHP Code:

http://humor.extremechatforums.com/forums/misc.php?do=usersregtoday 

If this one not what you want, than go here:
Priority Support: Here

Quote:

Originally Posted by encryption (Post 1157958)
3: Show user's avatars

You can code this your self. This one is a very specific option.

fishmaster 01-21-2007 11:02 PM

Does the .xml file listed in post number one contain all the fixes that have been listed in this thread?

Makc666 01-21-2007 11:07 PM

Quote:

Originally Posted by fishmaster (Post 1164635)
Does the .xml file listed in post number one contain all the fixes that have been listed in this thread?

No, it's not.
You can see it yourself:
Released: 11. Sep 2006
Last Update: Never

Take this one.
https://vborg.vbsupport.ru/showpost....8&postcount=52

If there is no some fix there, tell be and I will look into it.

criscokid 01-23-2007 09:03 AM

Quote:

Originally Posted by Makc666 (Post 1164638)
No, it's not. You can see it yourself: Released: 11. Sep 2006 Last Update: Never

It's common / best practice on this site to add the latest version to the download section. I wonder how many people like myself downloaded the mod expecting it to be the latest version.

jw00dy 01-23-2007 09:16 AM

Quote:

Originally Posted by criscokid (Post 1165642)
It's common / best practice on this site to add the latest version to the download section. I wonder how many people like myself downloaded the mod expecting it to be the latest version.

The thing you need to realize is that makc666 is NOT the original creator of this mod.

He's just a nice guy helping us with the broken aspects of it.

criscokid 01-23-2007 10:59 AM

Quote:

Originally Posted by jw00dy (Post 1165650)
The think you need to realize is that makc666 is NOT the original creator of this mod. He's just a nice guy helping us with the broken aspects of it.

I didn't realise that - thanks for pointing that out.

eXtremeTim 02-05-2007 04:29 PM

I will be releasing 2.1.0 in the next few days. Which will include every fixed mentioned plus additional controls and features.

jw00dy 02-05-2007 05:34 PM

Thanks Tim.

staff80 02-08-2007 10:10 PM

hi, i've installed this mod but registered users reset at 12 pm. I want it to reset at 00 am. What can i do about it?

eXtremeTim 02-11-2007 06:41 PM

Right now it should reset at midnight gmt. I will see about making an offset option as well as making it so you can use a rolling x hours period instead of today only.

staff80 02-22-2007 08:08 PM

still waiting :rolleyes:

MeMySelfNi 02-23-2007 04:11 AM

mine is resetting before 12am the next day....

staff80 03-27-2007 07:19 AM

Quote:

Originally Posted by staff80 (Post 1177926)
hi, i've installed this mod but registered users reset at 12 pm. I want it to reset at 00 am. What can i do about it?

i think i am very lucky coz i solved problem without any php knowledge.

Here it is for who has same problem.

Edit Plugin > Users Registered Today
Find >

$cutoff = mktime(0, 0, 0, date('m', $now), date('d', $now), date('Y', $now));

Change the first zero to whatever you want. For example, in my forum, registered users was reset on afternoon 12:00. And i set it to:

$cutoff = mktime(-12, 0, 0, date('m', $now), date('d', $now), date('Y', $now));

and it is now reset 12 hours before old reset time, so on 00 am as i want.

NOTE:I did it and my problem has been solved, i don't have any php knowledge, so use it at your own risk.

eXtremeTim 04-07-2007 06:23 PM

I will get an updated version put together with an offset to fix that problem.

eXtremeTim 05-17-2007 05:10 PM

Taking feature requests for the next version now.

jw00dy 05-24-2007 01:45 AM

Can't think of anything, other then great mod. I use it all the time.

bongwater 06-03-2007 10:34 AM

Could this be configured so that it is viewable by usergroup permissions?


All times are GMT. The time now is 12:54 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.01504 seconds
  • Memory Usage 1,838KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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