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 02-20-2006 09:51 PM

Quote:

Originally Posted by nicedreams
There is no newposts field in the session table.

Jim

Just realised I based part of this on a modified table structure.
Will fix in the next day or two.

Billspaintball 02-21-2006 06:15 AM

Ok, I think I have a fix for the problem.
Unfortunantly, I dont have access to an unmodified vB database to test it on.

If anyone who has had the problem wants to try the fix, its available here.
http://www.cwp.id.au/login_inc.zip
Please let me know if it fixes the problem, so I can modify the file here appropriatly.

dkleehammer 02-24-2006 04:32 AM

I'm getting this error wether I'm logged into the forums already or not:
Fatal error: Call to a member function query_read() on a non-object in /var/www/html/forums/includes/login_inc.php on line 139

This is all running on localhost. Am I missing something?

Billspaintball 02-24-2006 04:43 AM

did you use the revised test one in this post
https://vborg.vbsupport.ru/showpost....6&postcount=12
or the one on the 1st post?

dkleehammer 02-24-2006 03:16 PM

I used the revised version. For some reason the db is not being set as an object. Is there something that I need to do besides editing one line and including this file in the main page?

erinys 03-02-2006 02:58 PM

Is this mod functioning good at the moment? would love to implement this at my site ;)

ROTPAR 03-02-2006 04:13 PM

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

erinys 03-02-2006 07:14 PM

Ive tried installing.. but the moment i put this code in the template of my site

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

im getting errors

erinys 03-02-2006 07:15 PM

this is the error

Warning: main(administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /home/6304/bunnybunch.nl/HTML/templates/247portal-b-grey/index.php on line 33

Fatal error: main(): Failed opening required 'administrator/components/com_smf/config.smf.php' (include_path='.:/usr/local/lib/php') in /home/6304/bunnybunch.nl/HTML/templates/247portal-b-grey/index.php on line 33

erinys 03-03-2006 06:31 AM

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!


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.01409 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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