Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Licensed Users System 1.01 Details »»
Licensed Users System 1.01
Version: 1.00, by N9ne N9ne is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-22-2003 Last Update: Never Installs: 37
 
No support by the author.

Licensed Users System
- by N9ne, March 23rd 2003
- Copyright N9ne 2003+



What does this hack do?
- It adds a licensed user system to your forum.
- Extra user field: 'licensed'
- Admins can select YES or NO for 'licensed' in AdminCP for Users
- Usergroup page: Extra table, showing # of licensed and unlicensed users
- AdminCP: Search by licensed or unlicensed users
- AdminCP Options: Text for 'licensed' and 'unlicensed' users
- Shown in getinfo and postbit
- AdminCP Option: Which usergroupid's can view license status of users?
- Set usergroupids separating with a comma in AdminCP Options
- Six options added under new category in each forum's options:
- 'Unlicensed Users Options' (Licensed users use default options):
- Can view forum?
- Can post new threads?
- Can download attachments?
- Can reply to own & others' threads?
- Can view others' threads?
- Can search forum?
- Hack can easily be integrated into other systems
- Customizable error messages when unlicensed user is denied access
- Customization available through templates
- Searching for users in AdminCP: Can show licensed status in results




Created in 2.3.0 // Should work in 2.2.x and 2.3.x



Installation:
- 6 Queries to Run
- 5 Templates to Add
- 2 Templates to Modify
- Loads of file edits!

Change Log
1.01: 30th March 2003: Query fix. [vBulletin Main Options]

Addons
Forumhome: Show unlicensed text if user is unlicensed.

Please Click INSTALL!

A hack like this is being used here at vb.org

Note: Open the attached file in a text editor to view instructions.

16 Screenshots in next post.

Show Your Support

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

Comments
  #52  
Old 03-30-2003, 02:29 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run this query:


PHP Code:
DELETE FROM settinggroup WHERE title 'Licensed Users Options'

Then run this query:


PHP Code:
INSERT INTO settinggroup (settinggroupid,title,displayorderVALUES (62,'Licensed Users Options','62'); 
Reply With Quote
  #53  
Old 03-30-2003, 02:34 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post and entry in DB edited. Attachment in first post edited. vBulletin main options will work now. Those of you who have that problem where the options don't show in the vB Options page, do the steps I posted in post #51 in this thread.

1.01 Released.
Reply With Quote
  #54  
Old 03-30-2003, 02:56 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

N9ne i found another problem...

the title didnot show up in postbit template......

i checked the variable and its fine.......

do u think maybe i forgot turn some options on so it not appear?
Reply With Quote
  #55  
Old 03-30-2003, 03:24 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to your vBulletin Options page in the AdminCP, and make sure you've set a title for unlicensed and licensed users, then hit submit...hopefully that works.
Reply With Quote
  #56  
Old 03-30-2003, 03:27 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:24 AM N9ne said this in Post #54
Go to your vBulletin Options page in the AdminCP, and make sure you've set a title for unlicensed and licensed users, then hit submit...hopefully that works.
yes i did...but not lucky..
Reply With Quote
  #57  
Old 03-30-2003, 03:31 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you apply changes to functions.php and edit the postbit template correctly? Go over those steps again from the instructions.
Reply With Quote
  #58  
Old 03-30-2003, 03:43 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:31 AM N9ne said this in Post #56
Did you apply changes to functions.php and edit the postbit template correctly? Go over those steps again from the instructions.
yes i already checked.....the file and template all correctly....

but it still cant show up.....
Reply With Quote
  #59  
Old 03-30-2003, 03:52 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made sure that the usergroup you are in can view licensed status? Can you see the licensed status in a member's profile (getinfo) ?
Reply With Quote
  #60  
Old 03-30-2003, 07:46 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:52 AM N9ne said this in Post #58
Have you made sure that the usergroup you are in can view licensed status? Can you see the licensed status in a member's profile (getinfo) ?
yes im sure...the default setting admin can see right?

and i can see the status in profile.....everything well but only the

postbit part cant show up.....
Reply With Quote
  #61  
Old 04-04-2003, 06:11 PM
zfrank1 zfrank1 is offline
 
Join Date: Feb 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see also in member-profile, not in thread
postbit: $licensestatus isn´t working
don´t know why
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 11:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05127 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (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
  • (4)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