Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Job Class creation problem Details »»
Job Class creation problem
Version: , by Kayden Kayden is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-22-2005 Last Update: Never Installs: 0
 
No support by the author.

When I create a new class just for the admins, apparently normal users can use these classes as well. How do I fix this?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-22-2005, 09:17 PM
Kayden Kayden is offline
 
Join Date: Feb 2005
Location: USA
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the error I get when doing that...

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /second/home/darkess/public_html/saviores/includes/init.php on line 754
Reply With Quote
  #13  
Old 03-22-2005, 09:26 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post the surrounding 5 lines then
Reply With Quote
  #14  
Old 03-22-2005, 09:32 PM
Kayden Kayden is offline
 
Join Date: Feb 2005
Location: USA
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

'canadminimages' => 2048,
'canadminbbcodes' => 4096,
'canadmincron' => 8192,
'canadminmaintain' => 16384,
'canadminupgrade' => 32768
);

// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,

There.
Reply With Quote
  #15  
Old 03-22-2005, 10:12 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
 'canadminmaintain' => 16384,
'canadminupgrade' => 32768,
//rpg
'canadminrpg' => 65536
//rpg
); 
that there should work

Fixed your problem. Make sure you have the bitfield info correct, and then reupload headquarters.php
Sorry for the troubles
Reply With Quote
  #16  
Old 04-03-2005, 02:21 AM
xbaby xbaby is offline
 
Join Date: Feb 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in d:\www\includes\init.php on line 699
Parsing functions.php Time before: 1112459526.34 Time after: 1112459526.42 Time taken: 0.0852010250092

this is my error when I install it on localhost
please help me
thanks !
Reply With Quote
  #17  
Old 04-03-2005, 10:27 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then read this thread...?
This thread has your problem described and solved, so stop being lazy.
Reply With Quote
  #18  
Old 08-03-2005, 06:04 AM
NWN NWN is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Soon as i add 'canadminrpg' => 65536 to init.php

I get this error Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/www/nwn/forums/includes/init.php on line 754

If i remove it all goes back to normal, How can i fix this. Sorry if it was fixed before but i didn't see it anyware & i am useing VB 3.08

'canadminmaintain' => 16384,
'canadminupgrade' => 32768,
//rpg
'canadminrpg' => 65536
//rpg
);
Reply With Quote
  #19  
Old 08-03-2005, 09:19 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird. That block of code looks correct.
Which of them are line 754?
Reply With Quote
  #20  
Old 08-03-2005, 12:19 PM
NWN NWN is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dunno, I fixed that but now i can't even post I tried it in both vb 308 & 307 it always messes up. When i try go post anything for some reason i can't it won't let me type anything in box below

Also i have yhis error to dunno how to fix it so maybe it why i can't post,

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE vb3userfield SET field='' WHERE userid='1'
mysql error: Unknown column 'field' in 'field list'

mysql error number: 1054

Date: Wednesday 03rd of August 2005 04:51:27 PM
Script: http://nwn-tradespot.net/headquarters.php
Referer: http://nwn-tradespot.net/headquarters.php?
Username: x
IP Address: x.x.x.x.x.x
Reply With Quote
  #21  
Old 08-03-2005, 05:40 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=91924" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91924</a>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:07 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.06755 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete