PDA

View Full Version : Miscellaneous Hacks - New Members Page


Eric
05-03-2011, 10:00 PM
What is this!?
This hack will produce a New Members page listing the username, avatar, profile pic, joindate, total posts, and last activity of the latest users sorted by joindate. The amount listed is based on an admin configurable limit.

This was originally made by request (https://vborg.vbsupport.ru/showthread.php?t=122676), 3.5 version can be found here (https://vborg.vbsupport.ru/showthread.php?p=1046366), 3.6 version here (https://vborg.vbsupport.ru/showthread.php?t=149521), and 3.8 version here (https://vborg.vbsupport.ru/showthread.php?t=247619).

Current Version
3.0.0

Current Features:

Can be turned on/off
Limit how many days of registrations this will show (eg: 7 will show reg. dating back 7 days)
Limit how many users are listed per page
Default avatar and profile pic if the user does not have one



Features flagged for future version(s):

Anything that you all suggest.


Will this work on x.x.x ??
I've not been able to test on any other vB version, but works on vB 4.1.x

Sounds cool. How do I install?

Import the product, product-newmembers.xml
Upload images found in /upload/images/misc to your forum's images/misc folder.
Upload /upload/newmembers.php to your forum root.
You need somewhere to link the newmembers page. The hack has an option to have this done for you automatically. Otherwise, you can put it anywhere you want, here's an example of adding it to the navbar:

Template navbar

Find:
{vb:raw template_hook.navbar_quick_links_menu_pos3}
After add:
{vb:raw newmembers_navbar}
Set options in AdminCP > Settings -> Options > New Members Page


That's it! Enjoy! :)


Changelog
3.0.0 - May 04, 2011
- Updated for 4.x.

2.0.0 - July 30, 2010
- Updated for 3.8.x
- Added lastactivity display (if user has perms to see), post count
- Other small enhancements.

1.0.3 - June 12, 2007
- Updated for 3.6.x
- Added joindate display and WOL

1.0.2
- Re-added the 'cutoff'. It is based on an admin set number of days.

1.0.1
- Removed the time restriction: 'cutoff'. Cleaned up the newmembers_results

BadgerDog
05-04-2011, 11:40 AM
Installed for testing on 4.04 with thanks ... :)

There appears to be a bug in showing noavatar and noprofile default pics

The default pics provided are indeed installe in our site's images/misc/ ...

The AdminCP settings for this mod just states as indicated with no path:

noavatar.gif

and

noprofilepic.gif

However, no pics show when mod executes .... :confused:

By the way, if a member has an avatar or profile pic, it shows fine ... ;)

Regards,
Doug

Eric
05-04-2011, 12:03 PM
Installed for testing on 4.04 with thanks ... :)

There appears to be a bug in showing noavatar and noprofile default pics

The default pics provided are indeed installe in our site's images/misc/ ...

The AdminCP settings for this mod just states as indicated with no path:

noavatar.gif

and

noprofilepic.gif

However, no pics show when mod executes .... :confused:

By the way, if a member has an avatar or profile pic, it shows fine ... ;)

Regards,
Doug
Odd, I tested this on 4.1.3 and it works fine. Have a link? Or could you show me the HTML that is generated which is not showing the image.

BadgerDog
05-04-2011, 12:18 PM
Odd, I tested this on 4.1.3 and it works fine. Have a link? Or could you show me the HTML that is generated which is not showing the image.

Pic attached ...

Have checked everything again, so perhaps it's just simply incompatible with 4.0x series ..

Maybe modify to permit people to put in a path, with the default to your original pics? We use a default avatar now ...

Thanks .. :)

Regards,
Doug

hugh_
05-04-2011, 11:00 PM
Looks good, might be nice to add usergroup access permissions to limit access... ;)

HMBeaty
05-05-2011, 06:15 AM
Typo? lol
Current Features:
Can submit to the following sites:

Eric
05-05-2011, 07:02 AM
Pic attached ...

Have checked everything again, so perhaps it's just simply incompatible with 4.0x series ..

Maybe modify to permit people to put in a path, with the default to your original pics? We use a default avatar now ...

Thanks .. :)

Regards,
Doug
Hmm, will look into that :)

Looks good, might be nice to add usergroup access permissions to limit access... ;)
That's already built in. vB gives you the option of limiting access to the members list per usergroup, this mod uses those same permissions.

Typo? lol
Oops, lol. Fixed, ty :)

BadgerDog
05-05-2011, 09:50 AM
Hmm, will look into that :)


Thank you ... :up:

Regards,
Doug

COL NIL SATIS
05-05-2011, 06:32 PM
tagged!!!