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)

blind-eddie 07-07-2008 10:24 PM

Quote:

Originally Posted by veenuisthebest (Post 1569303)
Go to your AdminCP > Plugins & Products > Plugin Manager > Add new Plugin

Product: vBulletin
Hook Location: online_location_process
Title: Extra Online Users Process
Execution Order: 5

PHP Code:

if ($filename == 'staff.php')
{
    
$userinfo['activity'] = 'Viewing Staff Page';


Save.

Go to your AdminCP > Plugins & Products > Plugin Manager > Add new Plugin

Product: vBulletin
Hook Location: online_location_unknown
Title: Extra Online Users Unknown
Execution Order: 5

PHP Code:

if ($userinfo['activity'] == 'Viewing Staff Page')
{
        
$userinfo['action'] = 'Viewing Staff Page'// you might wanna use a $vbphrase here...
        
$userinfo['where'] = '<a href="./staff.php?' $vbulletin->session->vars['sessionurl'] . '">Staff</a>'// you might wanna use a $vbphrase here...
        
$handled true;


Save.


Hope this helps !!


Awesome, Thank you very much! :up:

Hornstar 07-07-2008 10:57 PM

yeah very nice work. thanks for sharing.

Hasann 07-08-2008 01:07 AM

New version coming soon today...
What would you like to see in this hack???
I can add your requests and suggestions into this hack!!!

Vicros 07-08-2008 01:17 AM

yes very nice indeed and great update thanks alot..

pooffck1 07-08-2008 07:26 AM

Quote:

Originally Posted by Hasann (Post 1569674)
New version coming soon today...
What would you like to see in this hack???
I can add your requests and suggestions into this hack!!!

ohh well this might be big but is it possible you can make a big template change so it would change the WHOLEEEE of showgroups.php?

and 1 more thing

is it possible you can make something like this


Owner = showgroup.php?id=6

and it only shows the owners on it

and

adminstrators = showgroup.php?id=7

I would love to have that!. please take it in request!

Hasann 07-08-2008 07:32 AM

yes I can make it.. do you have any suggestions ?

blind-eddie 07-08-2008 07:40 AM

Would it be possable to allow member the choice to have either the Avatar or Profile Pic added to the staff page, changable on the fly via usercp?

Also, I see there are a few members with large member count & ommit some usergroups from showing on the Forum leaders page & this mod. To have more then one staff page for each usergroup, with sepeate templates, would be great.

Also, I have my memberinfo_block_contactinfo template edited to show more, would it be hard to hard to grab the contents from the memberinfo_block_contactinfo template, line 2,
$show['messagelinks'] to the new staff page?

Hasann 07-08-2008 08:09 AM

Quote:

Originally Posted by blind-eddie (Post 1569899)
Would it be possable to allow member the choice to have either the Avatar or Profile Pic added to the staff page, changable on the fly via usercp?

What? Do you mean on usercp I can make it only selectable on Admin CP by the Admin
Quote:

Originally Posted by blind-eddie (Post 1569899)
Also, I see there are a few members with large member count & ommit some usergroups from showing on the Forum leaders page & this mod. To have more then one staff page for each usergroup, with sepeate templates, would be great.

I'll add alphabetical list like Memberlist page to the Meet Our Staff page and selectable usergroups pages
Quote:

Originally Posted by blind-eddie (Post 1569899)
Also, I have my memberinfo_block_contactinfo template edited to show more, would it be hard to hard to grab the contents from the memberinfo_block_contactinfo template, line 2,
$show['messagelinks'] to the new staff page?

why do you want grab the contents from memberinfo_block_contactinfo template? There are allready added contact information pm,email,website,add contact your buddylist etc...

blind-eddie 07-08-2008 08:46 AM

Quote:

Originally Posted by Hasann (Post 1569915)
why do you want grab the contents from memberinfo_block_contactinfo template? There are allready added contact information pm,email,website,add contact your buddylist etc...

No, I only wish to grab content from the send message drop down located in Your Profle via the memberinfo_block_contactinfo template on line Two.

Mine is edit with <if conditionals to show more ways of contacting members.

Hasann 07-08-2008 11:36 AM

Here a screenshot from the new Meet Our Staff Modification:

http://img530.imageshack.us/img530/7362/motwy8.jpg

Do You Like That? :D


All times are GMT. The time now is 07:50 AM.

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.01787 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (6)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