Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2008, 04:56 AM
chrisjacob chrisjacob is offline
 
Join Date: May 2008
Location: Sydney
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help me remove User CP, Profiles & Login

How would you go about:
1. Removing ALL links to User Control Panel?
2. Remove ALL links to User Profiles?
3. Redirect ALL links to User Login to a custom page outside of /forum/? (I have my own User Login which I want to force people to use... )

Locking down these features is a requirement of the project I'm working on.

Thanks for helping!
Reply With Quote
  #2  
Old 06-18-2008, 05:24 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chrisjacob View Post
How would you go about:
1. Removing ALL links to User Control Panel?
2. Remove ALL links to User Profiles?
3. Redirect ALL links to User Login to a custom page outside of /forum/? (I have my own User Login which I want to force people to use... )

Locking down these features is a requirement of the project I'm working on.

Thanks for helping!
There's no easy way to do it as far as I know, but I would be more than happy to take you in as a client and do the work for you.
Reply With Quote
  #3  
Old 06-18-2008, 05:30 AM
chrisjacob chrisjacob is offline
 
Join Date: May 2008
Location: Sydney
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks T.I.M but I would like to work through this one inhouse. If you have any suggests please let me know.

- Cheers

--------------- Added [DATE]1213774791[/DATE] at [TIME]1213774791[/TIME] ---------------

A3 - looking at changing the VBulletin Template for it's "login" page to display a message "We are re-directing you to the real login page" and use a javascript redirect to send them over to the login page i want them to use....
Reply With Quote
  #4  
Old 06-18-2008, 06:50 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for certain advanced things I would rather do it myself in which I would charge you. To simplify everything I could help you do the basics and get started.

1.) Code your usercp.php to give a permission error to block all members from accessing it or use option in number 3.

2.) In your template editor do a Find and Replace for "member.php?$session[sessionurl]u=$newuserid"

3.) Add this to your .htaccess:
Code:
Redirect /member.php http://yoursite.com/yournewprofileareahere
Note that your number 2 and number 3 counteract each other. You can't redirect something if you remove it.
Reply With Quote
  #5  
Old 06-19-2008, 01:22 AM
chrisjacob chrisjacob is offline
 
Join Date: May 2008
Location: Sydney
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My progress so far has been to create a new product called "Lock Down VB" with the following plugins:

note: each plugin contains 1 line:
print_no_permission();

No Access to Album pages - precheck
album_start_precheck

No Access to Calendar pages
calendar_start

No Access to Calendar pages - second start hook
calendar_start2

No Access to Group pages - precheck
group_start_precheck

No Access to Member pages
member_start

No Access to Moderation pages - for admins from UserCP
moderation_start

No Access to Private pages
private_start

No Access to Profile pages
profile_start

No Access to Subscription pages
usersub_start

No Access to User CP
usercp_start
Reply With Quote
  #6  
Old 06-19-2008, 09:32 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're weird. Why would you want to disable all of those.
Reply With Quote
  #7  
Old 06-28-2008, 11:40 AM
tazzarkin tazzarkin is offline
 
Join Date: Nov 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually, this would be pretty useful. can you set it to add more non vb pages to the lockdown as well?

what I think would be great is if you could have an external lock/unlock php file (that you could run from a cron job) that would be able to lock/unlock down various portions of vbulletin. you can already do it for the entire forum, but it would be cool to do this for the individual features of vb.
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 07:31 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.03932 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete