![]() |
HoG - this always redirects me back to the page from which our members log in.
QUESTION: How do I manipulate the size of the "Log In" button? I'd like to be able to streamline this hack so it fits neatly in a small area, and the button is quite large right now - can I adjust the size of it? |
Quote:
PHP Code:
|
Quote:
|
Quote:
login_inc.php find the line with // You can style this with html or CSS as normal if desired. and you will see the login form code. You can make the boxes smaller by editing size=10 and/or you can add css or html tags to format the text size/colour/font etc as desired. |
Quote:
Try changing that bit above to <?php $curdir = getcwd (); chdir('/home/gamesoga/public_html/forums'); require_once('/home/gamesoga/public_html/forums'/global.php'); chdir ($curdir); ?> If that does not work I suspect that your trying to use a variable named the same as a reserved vB one. |
Does this mod allow me to use the vB headers and footers?
|
Quote:
I havent looked into whats involved in calling the vB header and footer templates. |
Many thanks. This snippet allowed me to do something that I've been begging for support on vb.org for the past several months. Plus, it is super-easy to modify and customize.
My only question, is if you have a complete list of $vbulletin->userinfo[] variables that I can use in conjunction with this mod. |
This is probably a common request/hack so that is why I am describing what I have done.
I took Billspaintball's script for use as a single point login for my site, with the objective of not letting anyone into my entire site without the correct credentials/authorization. I want to permit access only to user groups 2,5,6,or 7 (registered users, moderators, and admins). www.mysite.com www.mysite.com/forums A page with Bill's script code sits at the root (index.php) and my forum is under /forums. If a non-authorized user comes along I want to bounce him/her back to the ROOT with a message. First I set the permissions of the usergroups to what I think they should be to stop them from getting nto my site at all, then I also use the following alteration of Bill's code on the root index page: Code:
if($isAdmin){ If I change the permissions and allow my defined set of unauthorized usergroups access to view forums the problem goes away. However, this defeats my goal in preventing these unauthorized users from seeing the forum in the first place and by typing in /forum they can view the forum homepage! Can anyone can shed light on this and help me achieve what I would like to do? Thanks! Jonathan |
Quote:
Any chance for a fix on this though? It would make templating much easier. |
All times are GMT. The time now is 04:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|