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)

erinys 05-05-2006 08:01 AM

Thanks, cause i really wanna switch to database handling of read posts etc :)

btw im also getting the javascript error, with the old and new version when someone is logged out.

if you wanna check it yourself;
http://www.bunnybunch.nl

Quarterbore 05-05-2006 11:41 AM

I have a project that this may work with... Thanks for sharing this and I hope to try using it this weekend... :knockedout:

Paprika 05-05-2006 08:16 PM

Edited:
Bah Nevermind!

Billspaintball 05-06-2006 11:17 AM

Quote:

Originally Posted by erinys

MySQL Error : Unknown table 'post' in on clause
Error Number : 1109

Now that is just a weird error.
'post' is a standard vB table so it should be there.

umm... just a thought, are you using a table prefix for your forums?
It should still work for that, but I dont have a prefixed forum to test it on.

Billspaintball 05-06-2006 11:24 AM

Quote:

Originally Posted by erinys
btw im also getting the javascript error, with the old and new version when someone is logged out.

if you wanna check it yourself;
http://www.bunnybunch.nl

This javascript error that is appearing for a couple of people is driving be :banana: as I cant replicate it on my live or test forums in Firefox, IE6, Opera 8.54 or Avant.

What OS are you using?
What browser (and what version) are you using?
What webserver are you using?
Are your users reporting the same error or just you?

erinys 05-08-2006 08:56 AM

Nopes, no profixes at all are being used :) and i just checked in phpmyadmin and the table "post" is there, with offcourse all the records/posts in it :S

About the javascript error.. i only get it @ work..
windowsxp
ie 6.0.2900.xxxx
dont know if my users are reporting the same.. never heard about it, and i only get this error at my work pc.. not at home :)
webserver is a linux one, but i dont know much more specs.

this is the error:
line 104
expected '('

weird thing is.. if i check the source, and line 104.. its an empty line..

====
<input name=vb_login_username type=text id=navbar_username onfocus=if (this.value == 'Gebruikersnaam') this.value = ''; size=10 />
line 104 is here
<br>Wachtwoord:<br>
<input name=vb_login_password type=password size=10 />

====

Billspaintball 05-08-2006 11:12 PM

Quote:

Originally Posted by erinys
About the javascript error.. i only get it @ work..
windowsxp
ie 6.0.2900.xxxx
dont know if my users are reporting the same.. never heard about it, and i only get this error at my work pc.. not at home :)

At a guess its probably a firewall or javascript restriction that your work has implemented. Which would explain why this problem is only reported by a couple of people.

Quarterbore 05-09-2006 01:40 AM

I am just starting to play with the code but I got this error...

Fatal error: Call to a member function on a non-object in /home/SERVER/public_html/DOMAINFOLDER/forums/login_inc.php on line 150

I called the file from inside another script using the following line:

include("../forums/login_inc.php");

Now, when I enter my forums username and password I am getting signed into my forums but when it returns to the script I never see the rest of the file where I tried to use the include from...

I am still trying to figure it out though...

The line of code that is causing the error is this:

Code:

$getstats = $db->query_read('SELECT threadcount, replycount FROM ' . TABLE_PREFIX . 'forum');
EDIT:

OK, I removed all the code after:

Code:

// +++++++++++++++++++++++++++++++++++++++++++++++++++
// we want do display stats either way so they go here
// +++++++++++++++++++++++++++++++++++++++++++++++++++

Now I can see if I can get my usergroups to cover the permissions needed for the other script... What I am trying to do is integrate the following program with vBulletin using your hack as a starting point:

http://lythgoes.net/genealogy/software.php

Billspaintball 05-09-2006 04:07 AM

Quarterbore,
Combining two scripts can at times be very problematic.
I suggest that you try the simple version of this script https://vborg.vbsupport.ru/showthread.php?t=100992 and see if you can get that working first.

Also, I recommend trying just the test login listed in part five of troubleshooting (post 2), to rule out any thing besides a clash between this script and the other one.

If we can get the basic one working, then we can work on finding out where the problem is here.

erinys 05-09-2006 05:48 AM

Aye billspainball, i think so too, its a weird problem

Do you get an error btw if you switch the way your forum handles "read" posts?


All times are GMT. The time now is 04:09 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.01217 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (3)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