vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Deluxe vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=108026)

Billspaintball 03-03-2006 11:06 AM

Quote:

Originally Posted by dkleehammer
I used the revised version. For some reason the db is not being set as an object.

Can you explain a little more please?

Billspaintball 03-03-2006 11:13 AM

Quote:

Originally Posted by ROTPAR
Works good but I have a problem with the avatar resize option.

Warning: getimagesize(http://www.xxxmypage.com/upload/image.php?u=1) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/xxx/public_html/login_inc.php on line 27

Thanks for help

Is your forums base directory /upload/ ?
Do you use the verification images for registration?

Billspaintball 03-03-2006 11:17 AM

Quote:

Originally Posted by erinys
Ok little update ;)

I have now been able to succesfully get this working... but.. only on the complete bottom of my site lmao :)

is there somethign i can change on this code to work with my site template?

<?php
chdir('/home/6304/bunnybunch.nl/HTML/community');
require_once('/home/6304/bunnybunch.nl/HTML/community/global.php');
?>
<?php
require_once('/home/6304/bunnybunch.nl/HTML/community/login_inc.php');
?>

if i post the above code "anywhere" in my template where it is followed by a include_once (and my site has many of those) for some reason, nothing is included/found :)

anyway, thanks for the help!

In that case somthing is conflicting.
Do you run any other vB scripts on that page?

ROTPAR 03-03-2006 12:13 PM

Quote:

Originally Posted by Billspaintball
Is your forums base directory /upload/ ?
Do you use the verification images for registration?

That?s right, the base directory is /upload/
I use GD in the vbulletin options if this is what you mean..I don?t use Image Verification for the new user register process.
What could be the problem ?

Greets and THX for help

erinys 03-03-2006 12:39 PM

@bill

no not any VB scripts.. but it seems to be conflicting with whatever include_once is right below it..

im pasting it in a template btw.. wich also has codes for SMF forums, discussbots etc etc (im upgrading from SMF to VB atm)

idwf 03-03-2006 04:04 PM

I've got this to work....so don worry about supporting the other one. However.

one little bug, if you have no new PM's you get

Quote:

You have new message(s) since your last visit.
------------

I've done a lot of bug checking and it turns out that it wasn't your scripts causing me errors. i apolagise :) :cheeky:

erinys 03-04-2006 01:30 PM

Ive got it working now.. cause i switched forums today i was able to remove a lot of include_once tags, and now it works :)

bug: the link to new PM's is actually a link to the last new posts.. and there are missing a lot of <br> etc to make it look nice :)

so i editted it a bit

thanks for this Mod!

idwf 03-04-2006 05:18 PM

Quote:

Originally Posted by erinys
Ive got it working now.. cause i switched forums today i was able to remove a lot of include_once tags, and now it works :)

bug: the link to new PM's is actually a link to the last new posts.. and there are missing a lot of <br> etc to make it look nice :)

so i editted it a bit

thanks for this Mod!

yeah, i've edited the design with some <br>'s aswell. I cant wait till all the features are installed... :)

Kirk Y 03-05-2006 07:56 PM

I've got a bit of a problem. Whenever a User changes their avatar, the avatar shown on login_inc is the one they had before they changed.

rolliet 03-06-2006 02:22 AM

I have what is probably an easy question. How do I add more then 1 usergroup to the code?

if ($vbulletin->userinfo['usergroupid'] == '25' )

I have tried different things and still can only allow 1 usergroup to access the page.

Thanks


All times are GMT. The time now is 03:11 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.01343 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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