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)

attroll 02-01-2009 03:37 PM

I don't know if anyone else has ran into this issue but if you running a photo gallery or external software with Vb then the navbar links will not work properly within that program. I had to insert "../forum/" in the Plugin Manager "Meet Or Staff Navbar Link". This might be a good feature to set it up for the default plugin Hasann.

Here is what it looks like now in mine:
Code:

if ($vbulletin->options['meetstaff_links_creation'] == 1) {
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="../forum/staff.php?'.$session['sessionurl'].'do=main">'.$vbphrase['meet_our_staff'].'</a></td>';
}

if ($vbulletin->options['meetstaff_links_creation'] == 2) {
    $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="../forum/staff.php?'.$session['sessionurl'].'do=main">'.$vbphrase['meet_our_staff'].'</a></td></tr>';
}


JamesGunner 02-12-2009 08:19 PM

I like this mod but the documentation is so poor, maybe if you would add a better documentation people wouldnt ask for so much support?

Tilly 02-13-2009 01:59 AM

Quote:

Originally Posted by hornstar1337 (Post 1709308)
I'd also like an option if I want it to show a usergroup eg. mod. and a mod has another usergroup as there main usergroup, that it shows them under the mod usergroup instead of it listing them under there main usergroup which doesn't look as good.

I think it is trying to be too complex when it should simply have the title of that usergroup with all the listed members that are in the usergroup (displayed the way you are doing it of course) instead of dispalying what there main usergorup is and seperating them.

Anyone come up with a fix for this yet? The staff.php page just shows up "Admin, Moderator, Super Moderator" it doesn't show any of the specific user groups I picked for staff...who's going to be the hero to explain how to fix this?

Shazz 02-13-2009 02:38 AM

I tweaked the template a little
http://www.sounddistrict.com/staff/

attroll 02-13-2009 03:15 AM

Still can not get the additional profile fields to show up that I added.

They showing up in my template "meetstaff_profilefields" like this and they are not empty fields but they will not display.

Code:

<if condition="$user['field8']"><li><span class="shade">$vbphrase[field8_title]:</span> $user[field8]</li></if>
<if condition="$user['field10']"><li><span class="shade">$vbphrase[field10_title]:</span> $user[field10]</li></if>


attroll 02-13-2009 04:03 AM

Quote:

Originally Posted by Shazz (Post 1742472)
I tweaked the template a little
http://www.sounddistrict.com/staff/

How did you get the occupation and interest fields to show. Please let me know?

mindfawk 02-15-2009 03:08 PM

I'm having the same problems with the added profile fields.

Reef Man 02-17-2009 12:32 AM

I am getting problems with this.
I installed it with the spanish version and I am getting members that are not in the correct group and when I change to see the other staff groups selected, I am getting this on the header on my forum:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/reefman/public_html/forums/staff.php(415) : eval()'d code on line 1

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/reefman/public_html/forums/staff.php(415) : eval()'d code on line 1

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/reefman/public_html/forums/staff.php(415) : eval()'d code on line 1

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/reefman/public_html/forums/staff.php(415) : eval()'d code on line 1

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/reefman/public_html/forums/staff.php(415) : eval()'d code on line 1

Any idea how to solve this?

Reef Man 02-17-2009 12:39 AM

mmm
strange.

I reinstall it and now works fine.

Thanks anyway.

Reef Man 02-17-2009 12:59 AM

I found the problem.
It occurs when you add a profile field and with combination on the Navbar link.
Any solution?

CILGINKRAL_ 02-17-2009 02:23 PM

I put my really nice forum thanks hasan

vBulletin-Turkey:)

iogames 02-17-2009 03:48 PM

3.6x?

Don't u work fr hire anymore?

Hasann 02-17-2009 04:16 PM

Quote:

Originally Posted by iogames (Post 1747014)
3.6x?

Don't u work fr hire anymore?

I do custom works as always come to online in msn (:

tekram 02-20-2009 07:30 PM

Quote:

Originally Posted by attroll (Post 1742495)
Still can not get the additional profile fields to show up that I added.

They showing up in my template "meetstaff_profilefields" like this and they are not empty fields but they will not display.

Code:

<if condition="$user['field8']"><li><span class="shade">$vbphrase[field8_title]:</span> $user[field8]</li></if>
<if condition="$user['field10']"><li><span class="shade">$vbphrase[field10_title]:</span> $user[field10]</li></if>


Same Problem here. No Field will display .... vBulletin 3.8.1 ... Hasann whats going wrong?

attroll 02-21-2009 04:00 AM

Yes. I also have the same problem. I have been waiting patiently for some support on this.

mindfawk 02-21-2009 10:51 AM

Has anyone been able to get the added profile fields to actually display?

If so, how?

blind-eddie 02-21-2009 11:44 AM

I manually edited my templates, I did not use the automatic placement...works fine

Hasann 02-24-2009 01:57 AM

<i>24.02.09 - new update is released</i>
update fixes and changes
fixed all known bugs, improved meet_staff_ templates

attroll 02-24-2009 04:29 AM

Now I get this error:
Code:

Fatal error:  Call to undefined function modsystem_usertitle() in /home/apages/public_html/forum/staff.php(437) : eval()'d code on line 1

attroll 02-24-2009 04:53 AM

I have found out when thing in troubleshooting the error above. If I disable the the plugin and access staff.php it work fine.

Hasann 02-24-2009 04:56 AM

Quote:

Originally Posted by attroll (Post 1752990)
Now I get this error:
Code:

Fatal error:  Call to undefined function modsystem_usertitle() in /home/apages/public_html/forum/staff.php(437) : eval()'d code on line 1

If you have Modification System by Coroner don't installed on your forum

Please delete or disable "Meet Our Staff (Mod System) User Titles" plugin.

attroll 02-24-2009 06:18 AM

What is a Modification System by Coroner?

I don't think I have this modification.

Hasann 02-24-2009 06:32 AM

Quote:

Originally Posted by attroll (Post 1753078)
What is a Modification System by Coroner?

I don't think I have this modification.

[3.8.0] Modification System [v2.4]

Einjeher 02-24-2009 12:45 PM

Doesn't work for me. I've overwrite the files and it gives me a Database Error when i tried to access the staff pages.

attroll 02-24-2009 03:04 PM

Quote:

Originally Posted by Hasann (Post 1753093)
[3.8.0] Modification System [v2.4]

I do not have this modification installed and I still get this problem.

Stifmeister2 02-24-2009 04:16 PM

3.8.1 supported??


I've been wanting to install this for a while now, but the bugs reported by Einjeher and attroll are holding me back... I'll keep an eye on this, hopefully you can fix the bugs. :)


Also, where does the "Meet our Staff" link go if you enable automatic navbar link creation? My navbar is pretty stuffed, and I'd prefer if it went under "Members List" in the "Community" drop down menu.

attroll 02-24-2009 04:39 PM

Quote:

Originally Posted by Stifmeister2 (Post 1753435)
3.8.1 supported??


I've been wanting to install this for a while now, but the bugs reported by Einjeher and attroll are holding me back... I'll keep an eye on this, hopefully you can fix the bugs. :)


Also, where does the "Meet our Staff" link go if you enable automatic navbar link creation? My navbar is pretty stuffed, and I'd prefer if it went under "Members List" in the "Community" drop down menu.

It went between the Usercp and the Membership list. You can disable the navbar plugin and put it anywhere you want if you know a little about editing the navbar.

I still am having the issue with the Fatal Error though. It seems to have something to do with a hook though because if I disable the hack in the plugins and just access it thought staff.php it works.

Blackheart_72 02-24-2009 07:55 PM

If anyone is using the staff titles hack and would like it to show on the page just add:

Code:

<if condition="$userinfo['isstaffrank']"><div>$userinfo[staffrank]</div></if>
above

Code:

<if condition="$userinfo['usertitle']"><div>$userinfo[usertitle]</div></if>
in the meetstaff_usergroupbit template

inciarco 02-24-2009 11:26 PM

The New Version Caused the Following Error when Trying to See the staff.php Page :confused::confused::confused::

ZZZ is Replacement for Table Prefixes and Forum Path.

Quote:

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT user.*, usergroup.usergroupid, usergroup.isstaff, usergroup.title, user.options, usertextfield.*, userfield.*,

IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid
FROM ZZZuser AS user
LEFT JOIN ZZZusergroup AS usergroup ON(ZZZusergroup.usergroupid = ZZZuser.usergroupid)
LEFT JOIN ZZZuserfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN ZZZusertextfield AS usertextfield ON(usertextfield.userid=user.userid)
WHERE ZZZusergroup.isstaff = '1';

MySQL Error : Unknown column ZZZusergroup.isstaff' in 'where clause'
Error Number : 1054
Request Date : Tuesday, February 24th 2009 @ 08:21:00 PM
Error Date : Tuesday, February 24th 2009 @ 08:21:01 PM
Script : http://ZZZ/staff.php
Referrer :
IP Address : ZZZ
Username : ZZZ
Classname : ZZZDatabase
MySQL Version : 5.0.51a-community
My Best Regards.

:)

System69 02-25-2009 01:10 AM

i really like your mod's Hasan... but most of them just don't work....................

and whit every new release of meet our stuff, i feel like there are more new problems, than old ones resolved...

i updated to 3.2 today - just a pure catasrophy..............:mad:

i give it up.........................

Hornstar 02-25-2009 04:05 AM

I am getting a database error after upgrading as well :/

Quote:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT user.*, usergroup.usergroupid, usergroup.isstaff, usergroup.title, user.options, usertextfield.*, userfield.*,
userfield.field2,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid
FROM vb3_user AS user
LEFT JOIN vb3_usergroup AS usergroup ON(vb3_usergroup.usergroupid = vb3_user.usergroupid)
LEFT JOIN vb3_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vb3_usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
WHERE vb3_usergroup.isstaff = '1'
AND (FIND_IN_SET('6', membergroupids) OR user.usergroupid = 6);

MySQL Error : Unknown column 'vb3_usergroup.isstaff' in 'where clause'
Error Number : 1054
Request Date : Wednesday, February 25th 2009 @ 01:03:07 AM
Error Date : Wednesday, February 25th 2009 @ 01:03:14 AM
Script : http://www..net/forums/staff.php?do=...oups&groupid=6
Referrer :
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.67-community

Chadi 02-25-2009 04:09 AM

Error

Quote:

Database error in vBulletin 3.8.1:

Invalid SQL:
ALTER TABLE usergroup ADD staff INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'staff'
Error Number : 1060
Request Date : Wednesday, February 25th 2009 @ 12:08:08 AM
Error Date : Wednesday, February 25th 2009 @ 12:08:08 AM
Script : http://www.talkjesus.com/xxxxx/plugi...=productimport
Referrer : http://www.talkjesus.com/xxxxx/plugin.php?do=productadd
IP Address : xxxxx
Username : Chad
Classname : vB_Database
MySQL Version : 5.0.67-community

Hasann 02-25-2009 07:07 AM

I thought they're now fixed. Please upload all files overwrite and re-import product.xml file again.

digicom 02-25-2009 07:46 AM

just upgraded from 3.1 to 3.2 and now when i click link in nav bar i get this any ideas Hasann? thanks
https://vborg.vbsupport.ru/

Hasann 02-25-2009 07:55 AM

Quote:

Originally Posted by digicom (Post 1754035)
just upgraded from 3.1 to 3.2 and now when i click link in nav bar i get this any ideas Hasann? thanks
http://img11.imageshack.us/img11/5139/meetstaff.png

have you been selected your staff groups?

https://vborg.vbsupport.ru/attachmen...9&d=1235447493

digicom 02-25-2009 08:04 AM

Much Apprciated Hasann All Working Now! Thankyou :up:

inciarco 02-25-2009 01:43 PM

I Uploaded Files and Overwrited Product but an Error is Happening when Trying to Access "staff.php":

ZZZ is Table Prefix.

Perhaps the Table Prefix is missing on "WHERE usergroup.isstaff = " ? :confused:
(I can see the Prefix on "SELECT ZZZusergroup.usergroupid, ZZZusergroup.isstaff")

Quote:

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT ZZZusergroup.usergroupid, ZZZusergroup.isstaff, ZZZusergroup.title,
COUNT(ZZZuser.userid) AS membercount
FROM ZZZusergroup
LEFT JOIN ZZZuser
ON ZZZuser.usergroupid=ZZZusergroup.usergroupid
OR FIND_IN_SET(ZZZusergroup.usergroupid, ZZZuser.membergroupids)
WHERE usergroup.isstaff = '1'
GROUP BY ZZZusergroup.usergroupid
ORDER BY ZZZusergroup.title ASC;

MySQL Error : Unknown column 'usergroup.isstaff' in 'where clause'
Error Number : 1054
Request Date : Wednesday, February 25th 2009 @ 10:39:29 AM
Error Date : Wednesday, February 25th 2009 @ 10:39:30 AM
Script : http://ZZZ/staff.php
Referrer : http://ZZZ/
IP Address : ZZZ
Username : ZZZ
Classname : ZZZDatabase
MySQL Version : 5.0.51a-community
:)

Chadi 02-25-2009 06:35 PM

Still getting same database error

This time a different table

MySQL Error : Duplicate column name 'isstaff'

Martell 02-25-2009 09:27 PM

Database error :confused:

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT user.*, usergroup.usergroupid, usergroup.isstaff, usergroup.title, user.options, usertextfield.*, userfield.*,
userfield.field2,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid
FROM vB_user AS user
LEFT JOIN vB_usergroup AS usergroup ON(vB_usergroup.usergroupid = vB_user.usergroupid)
LEFT JOIN vB_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vB_usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
WHERE vB_usergroup.isstaff = '1';

MySQL Error : Unknown table 'vB_usergroup' in where clause
Error Number : 1109
Request Date : Thursday, February 26th 2009 @ 02:23:54 AM
Error Date : Thursday, February 26th 2009 @ 02:23:54 AM
Script : http://xxx/staff.php
Referrer :
IP Address : 91.207.170.131
Username : Martell
Classname : vb_database
MySQL Version : 4.1.22

mindfawk 02-25-2009 09:38 PM

Can you put the ZIP file back up for the 3.1 version? I didn't have any issues with it, this new version gives me the same data base issues as the others above.


All times are GMT. The time now is 10:52 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.01860 seconds
  • Memory Usage 1,841KB
  • 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
  • (7)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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