vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Meet Our Staff (https://vborg.vbsupport.ru/showthread.php?t=184491)

Hasann 07-15-2008 10:29 AM

demo of pro version http://www.vbulletin-turkey.com/foru...f.php?langid=1
If you want pro version just pm or email me.

MarkFoster 07-15-2008 11:52 AM

Thanks allot for this hack!
Its really awesome!

Pocket Aces 07-16-2008 11:55 PM

So this one follows Forum Leaders permissions. Would be nice to have its own permissions regarding usergroup inclusion.

RK1gaming 07-17-2008 02:22 PM

Great Mod ..... Installed and nominated

EagleNick 07-20-2008 04:08 PM

My suggestions:

It should have it's own settings regarding usergroups to include (Rather than adapting the vBulletin settings) and we should also be able to re-arrange the groups in our desired order.

That would make it nicer.

Morsolo 07-21-2008 06:00 AM

Such a brilliant mod, something like this should be in vBulletin out of the box.
The default "Forum Leaders" is so bland and un-informal, I've completely replaced mine with this! I also changed the link to the page from "Meet Our Staff" to "Meet The Staff" (As a reference to Valve's Team Fortress 2)

*Marked as Installed & Nominated*

EagleNick 07-21-2008 06:07 PM

I noticed that line breaks in the biography information in user's profiles do not show up on the Meet Our Staff page.

For example, I had a member who made a list in the "Biography" part of their profile.
E.G.:
List item 1
item 2
item 3

However, on the Meet our Staff page, it shows up as:
list item 1 item 2 item 3.

Is there any way to fix this?

blind-eddie 07-21-2008 08:24 PM

Quote:

Originally Posted by EagleNick (Post 1580776)
I noticed that line breaks in the biography information in user's profiles do not show up on the Meet Our Staff page.

For example, I had a member who made a list in the "Biography" part of their profile.
E.G.:
List item 1
item 2
item 3

However, on the Meet our Staff page, it shows up as:
list item 1 item 2 item 3.

Is there any way to fix this?

Try what I did, to remove the original & add a new one.
================================================== ===========================





Quote:

Originally Posted by blind-eddie (Post 1568285)
I edited the meetstaff_usergroupbit template, to show additional info on the staff page. I omitted the original biography from it & added a new biography section with larger text area & moved it up below send email. Check it out, http://teamamp.us/forum/staff.php

If you wish to do the same, create a new User Profile Field via admincp/User Profile Fields/Add New User Profile Field.
Select Multiple-Line Text Box
Title: Biography2 (Or what ever you want to name it)
Description: Enter what you wish here
Max length of allowed user input: 100
Field Length: 70
Text Area Height: 10
Display Order: Should be filled in allready
Field Required: No
Display Order: Should be filled in as well. REMEMBER this number, you will need it later.
Display Page: Edit Your Details
Click Save.

Now, You will need to create a new phrase via admincp/Languages & Phrases/Phrase Manager/Add New Phrase
Varname: fieldx_title (Change x To Field Number)
Text: Biography2
Click save.
Remember to save a copy of this template before you edit it. You may need to use it, in case you have an error
Now, Go to Styles & Templates/Search in templates,
search for meetstaff_usergroupbit
Find:
Code:

<li>
<img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" alt=" <phrase 1="$user[username]"> $vbphrase[send_message_via_email_to_x]</phrase>" border="0" />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</li>
</if>

Add below:
Code:

<if condition="$user['fieldx']">
<li><span class="shade">$vbphrase[fieldx_title]</span> $user[fieldx]</li>
</if>
</ul>

Remember to change the x to field number.

Click Save


MoMan 07-22-2008 01:02 PM

Is it possible to show different groups in meet our staff than in showgroups.php? I want to use showgroups for users with many posts and staff for mods and admins.

blind-eddie 07-22-2008 01:04 PM

That info is posted throughout this thread.


All times are GMT. The time now is 01:51 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.01604 seconds
  • Memory Usage 1,748KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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