vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - "Meet our Team" in Forumhome (https://vborg.vbsupport.ru/showthread.php?t=168319)

vbFreelancers 01-19-2008 10:00 PM

"Meet our Team" in Forumhome
 
Removed by the Author
due to luck of free time to support it.
------------------------------------------------------------



Meet our Team in Forumhome
by vbFrerlancers


New features in version 1.1.0
  1. Now you can choose to show user's Avatar or Image. If you choose Image and there is no one, then user's Avatar is displaying
  2. You can choose any usergroup you want to show
  3. Code moved to hook system, so you don't need any file or templates modifications.
I developed this mini-mod for our site, but I thought that maybe some of you, need something like this, so I added some attractive options to fit to your special needs.

1.- What it does

Very simple things comparing with our other mods. This shows your site's team in forum home. It's a good way to introduce yourselves to your visitors and members.

2.- Options


I believe that I added lots of configurable options (have more in my mind), but everything is depending on it's popularity. The default options are:
  1. Show/Hide the blocks
  2. How many members to show in the block
  3. Choose to show Avatar or user's Image
  4. If you choose Image you can setup the max width
  5. What interface to use for the block (Table or Fieldset)
  6. If it's table to use border or not
  7. Show header for the block or not
  8. Text to use for header
  9. Show online/offline status (Yes/No)
  10. Show last activity (Yes/No)
  11. Text for Last Activity (eg Last seen)
3.- Installation


Installation is pretty easy:
  1. Upload all files and directories including at "vbulletin" directory to the directory where vBulletin is installed.
  2. Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
  3. From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_siteteam.xml
  4. Set the various options at: Meet Our Team Options. If you can't see the menu on the left, press F5
4.- Upgrade from versions 1.0.0 & 1.0.1
  1. Revome the code that you've added at index.php
  2. Remove the variable $siteteam from FORUMHOME template
  3. Follow the steps for a new installation
That's all. Hope to enjoy it:)

Marina

TCE Killa 01-20-2008 11:42 PM

Thanks man, works great, one thing though, you should add Super Moderators to it as well, not just mods and admins. Thanks alot though, marked installed.

0tolerance 01-21-2008 12:23 AM

Its an awesome mod and im thinking of adding it to my website.
As an addon to it, you should add a options menu to select which groups to show, so some people can show admin only others can show every one..
perhaps even

PinkDaisy 01-21-2008 01:41 PM

great hack!
Is there a way to have it show all of the team (admin/super mods/mods) but maybe not have it stretch the page and have the rest as a more link to open up? hope this makes sense!

vbFreelancers 01-21-2008 02:01 PM

Quote:

Originally Posted by PinkDaisy (Post 1425846)
great hack!
Is there a way to have it show all of the team (admin/super mods/mods) but maybe not have it stretch the page and have the rest as a more link to open up? hope this makes sense!

I'll fix it (actually it's just a line of code) to include super mods. As for the other. The templare dosen't uses fix width but 100% of the place that you'll put it. If you add it in a smaller place will not cover the whole width. But of course you must reduce the amount of shown users.
If you want to add them in a column rather than a row, it needs 2 trivials template modifications

AtaPulja 01-21-2008 02:21 PM

Thanks

Pitman 01-21-2008 04:19 PM

Quote:

Originally Posted by vbFreelancers
- Open your vB index file (usally index.php)
Search for:
Code:

// ### ALL DONE!
Add above:
Code:

if($vbulletin->options['siteteam_active'] == '1')
 {
  require_once('vbF_Functions.php');
  $teambits = meet_our_team();           
  eval('$siteteam = "' . fetch_template('siteteam_main') . '";');
  }


Couldn't this be used as a plugin using the forumhome_complete hook?

vbFreelancers 01-21-2008 04:34 PM

Quote:

Originally Posted by Pitman (Post 1425962)
Couldn't this be used as a plugin using the forumhome_complete hook?

Maybe in a later update. As I wrote in my post I did this mod for my own use and then thought to post it here and I added the admin section. If I see that there is a good amount of downloads I'll extend it in many ways. eg by letting admin decide to use avatar or image, or more complicated "avatar if no image exists" and many other things.

TCE Killa 01-21-2008 06:56 PM

What do I add into templates to add Super Mods to the Site Team? Thanks.

Sofia 01-21-2008 07:08 PM

Thank you, vbFreelancers. Very nice hack. :)
Maria's daughter ? I hope she is well :)

jgommel 01-22-2008 12:21 AM

Another option that would be cool is to be able to choose a users ProfilePic rather than using the Avatar. Is that even possible?

Direct Vision 01-22-2008 01:27 PM

thanks for this.... i clicked install.....

i added the Super Mods aswell and it worked fne.

I don't know if i can upload them... maybe i the author give me permission

thanks alot

TCE Killa 01-22-2008 02:33 PM

^How do you add super mods? Thanks.

RedGTiVR6 01-22-2008 03:41 PM

I like this idea a LOT!

I'd also like to echo the sentament that I'd like it as a product instead of having to modify code.

I know you're wanting to wait and see how many people download it...but I think that's actually what's preventing people from downloading it. Many ppl don't like to install mods unless they are products as they don't like to hack the core files of vBulletin.

Just some food for thought!

I have installed this, but I don't have it active because it doesn't meet all of my needs. I'd like the ability to physically pick the users, not just a user group. I'd also like it to be a plug-in, and not have to leave core code hacked.

Mike-D 01-22-2008 05:38 PM

Quote:

Originally Posted by TCE Killa (Post 1425496)
Thanks man, works great, ...

On a side note: It's a woman :D

vbFreelancers 01-22-2008 05:48 PM

Quote:

Originally Posted by Mike-D (Post 1426787)
On a side note: It's a woman :D

THANKS !!! It's the 2nd time that I've to accept that saying:eek:

vbFreelancers 01-22-2008 05:52 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1426715)
I like this idea a LOT!

I'd also like to echo the sentament that I'd like it as a product instead of having to modify code.

I know you're wanting to wait and see how many people download it...but I think that's actually what's preventing people from downloading it. Many ppl don't like to install mods unless they are products as they don't like to hack the core files of vBulletin.

Just some food for thought!

I have installed this, but I don't have it active because it doesn't meet all of my needs. I'd like the ability to physically pick the users, not just a user group. I'd also like it to be a plug-in, and not have to leave core code hacked.

The reason that I decided not to post it as product, is that it's pretty small for product. Tomorrow I'll post an upgrade with some extra options for admins:
  1. Usergroup to use: Will be a multiselect drop list
  2. Use Avatar or Image. If Image is choosen and user don't has one, then avatar will be used instead
  3. I'll use the hook system, so no need any code/template modification.

Saviour 01-22-2008 10:52 PM

I also would wekcome this mod when it becomes available as a product.

Another option you may want to include is the ability for Admins, Super Moderators and Moderators the ability to upload their own image...other than using their avatars or profile pics.

I can see where the possibility for this mod could become almost endless...but for now...I'll keep it simple.

Thanks...I'll wait for the product.

Greek76 01-23-2008 06:19 AM

Looks good... Ill download once the Super Moderator is added..
How about making something like this to introduce the newest 4 registered members? lol

TCE Killa 01-23-2008 10:08 AM

Quote:

Originally Posted by Mike-D (Post 1426787)
On a side note: It's a woman :D

Haha lol sorry Freelancer.

Mecho 01-25-2008 09:15 AM

looks great

is it possible that u add an option that we can add UserIDs that we want to have in that box ??

Thanks

vbFreelancers 01-25-2008 09:46 AM

Quote:

Originally Posted by Mecho (Post 1428572)
looks great

is it possible that u add an option that we can add UserIDs that we want to have in that box ??

Thanks

I think that someone else asked it too, but why you're not trying to assign some valueable members to a special usergroup? This way, not only you can show them by this mod, but in the future you can handle this special group in different way in all other mods too.

Marina

Mum 01-25-2008 01:37 PM

Installed this and all appears to work, until you go to check it LOL The box is there, but nothing in it, no members.

vbFreelancers 01-25-2008 01:43 PM

Quote:

Originally Posted by Mum (Post 1428685)
Installed this and all appears to work, until you go to check it LOL The box is there, but nothing in it, no members.

  1. Have you setup from which usergroup(s) to show members?
  2. Have you members to that usergroup?:D

Mum 01-25-2008 01:55 PM

I though it would automatically pull the admin/supermods/mods, as there is no option for which user groups in the options page?

vbFreelancers 01-25-2008 02:06 PM

Quote:

Originally Posted by Mum (Post 1428693)
I though it would automatically pull the admin/supermods/mods, as there is no option for which user groups in the options page?

As many users asked to be able to choose the usergroups manually, I added at admincp a seperate menu option so you can choose which usergroup(s) to use.

Canis Firebrand 01-25-2008 02:22 PM

This looks like a really fun add-on. It is marked as for version 3.6.8, but will it run on older 3.6.x versions? I am still using 3.6.4 and I want to make sure this would work before downloading it.

**EDIT**
Okay, it looks like it works just fine on 3.6.4 :)

One other question I have. In your screenshot where you show what it looks like. Under the users name, there is a title displayed. Where is that pulled from or how is that entered so that it displays?

RedGTiVR6 01-25-2008 06:36 PM

Quote:

Originally Posted by vbFreelancers (Post 1428591)
I think that someone else asked it too, but why you're not trying to assign some valueable members to a special usergroup? This way, not only you can show them by this mod, but in the future you can handle this special group in different way in all other mods too.

Marina

For us, our admin group has vbSEO staff and a test admin account...we wouldn't want them to show up as staff.

Also, Our Staff user group has some members of the network side of our company, folks who don't want to be listed and whom we don't want posted.

MrPHD 01-25-2008 06:40 PM

Hi, Working very well, Thanks Installed.

jgommel 01-25-2008 09:22 PM

Great update! I do have two suggestions/requests. Since not all of us are going to use this to display who the forum moderators are it would be nice to be able to have it display the Custom User Title again rather than the Usergroup (or give us the option). I'm using this mod to display my paintball team-members instead. Also, it would be nice to be able to place the interface either above the forums, below the breadcrumbs (login), or keep it below the What's going on?.

Thanks again for a very useful mod!!!!

christicehurst 01-26-2008 08:04 AM

This mod doesn't work when installed with your other mod "New Members" Try again...

TCE Killa 01-26-2008 09:27 AM

The update/new version doesn't work for me.

Droptop 01-26-2008 10:16 AM

Works great!! Clicks Installed

REVHEAD 01-26-2008 10:45 AM

Works great thanks , just one gripe ,can we have it so we can show more than 1 user group in the next version? Because I have myself as admin thats 1 group and I want to show Mods as well that would be another group,apart from that this mod is really good ,thankyou.

Edit ### Avtar hight and width would be great as well not just width ,just a suggestion.

My custom user titles are not working either any idea?

74corvette 01-26-2008 03:51 PM

Great little Mod, The only suggestion I would like to add is make it so we can put it on the page we want or the location on the page. Is there a way to chage what page it gets displayed on ? Thanks vbFreelancers !:D

TCE Killa 01-26-2008 08:01 PM

Fixed, thanks.

dave9720 01-27-2008 02:11 AM

Only able to add 1 user group, need to add 2 more user group to complete your mod. Thanks Dave

Bomb-Chelle 01-27-2008 08:19 AM

I don't even get the option to choose a usergroup. :(

Droptop 01-27-2008 09:09 AM

I found if you click and drag, you can choose more than one usergroup, and save. I now have Admin, Supermod, and Mod enabled and it works fine. :)

hyppa 01-27-2008 10:32 AM

Is it possible to get this to show on the portal too?


All times are GMT. The time now is 08:16 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.01305 seconds
  • Memory Usage 1,829KB
  • 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
  • (11)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