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)

Teenfrontcouk 05-30-2006 03:12 PM

...ignore me...i had to mess about with file includes and requires etc, got it working now though. thanks!

pokerie 05-31-2006 02:30 PM

Hi,
Thanks for this great mod! Really helped me out.

Coupla things:

Is there any solution to IE expecting a '(' and showing 'done but with errors' yet??

Also I'm using the login box not only on my non-forum pages, but within my forum template too. Works great, apart from the private messages - doesn't show whether you've got any or not. Any idea what might be causing this? I'm guessing I don't have to include global because it is a forum page so must already have it allowed.

Also, when I logout in a forum page, the login_inc ends up a step behind. eg. I logout but login_inc shows me as still signed in til I refresh.

Any help with these minor quirks would be great!

Thanks

Wolfy834 06-01-2006 01:12 AM

It doesn't work with files in different directories. I'm using a header file, where the global.php include comes in. I use the header file throughout my site. However, I get an error similar to erinys (page 2):

Code:

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

(thats his error code) This is using the chdir() function. Is there another way to get the global.php (and the include inside of it) to work properly throughout various directories without having to go through each file and changing it manually?

Delor 06-03-2006 12:09 AM

Ok so I have a quick question if a user is banned on the forums is there a way to carry over so they cant see whats on the page we put this login on?

zell_11 06-03-2006 06:17 PM

I have got the error

Quote:

Fatal error: Call to a member function on a non-object in /home/zsstudio/public_html/login_file.php on line 145
Does anyone know how to fix it

Billspaintball 06-04-2006 05:31 AM

Quote:

Originally Posted by Delor
Ok so I have a quick question if a user is banned on the forums is there a way to carry over so they cant see whats on the page we put this login on?

Sure can. :)
Have a look at the usage guide on post 2 of the first page.
https://vborg.vbsupport.ru/showpost....49&postcount=2
Just change the conditionals in the example to suit.

Billspaintball 06-04-2006 06:58 AM

Quote:

Originally Posted by C.Birch
avatar error is only when using a av uploaded via admin cp. using your own uploaded from pc via user cp shows up.

I havent been able to replicate this.

Anyone else getting this error?

Billspaintball 06-04-2006 07:16 AM

NEW UPDATE
Version 2.1 has been released to fix 2 reported issues.
It is recommened to update.

The current login_inc.php here is the revised version.

Changelog

Version 2.10 (4th June 2006)
  • Fixed - "MySQL Error : Invalid SQL " when using Database thread/forum marking.
  • Fixed - Javascrip error in some versions of IE.

C.Birch 06-04-2006 07:55 AM

Quote:

Originally Posted by Billspaintball
I havent been able to replicate this.

Anyone else getting this error?


Only get the error when using Pre-defined Avatars that are saved in the database, output of Custom Avatars works fine :)

BTW could you add the following.

1) output of total members.
2) output of the newest member.
3) output of user joined date.
4) output of user age.

I tryed adding echo "<b>$vbphrase[age]:</b> $post[age]<br />"; for the age put it only put out the phrase.

arossphoto 06-04-2006 01:56 PM

Quote:

Originally Posted by Billspaintball
Fixed - "MySQL Error : Invalid SQL " when using Database thread/forum marking.

Ah hah! I was getting this error and had no idea where it was coming from or what was causing it. I posted questions over at vb.com and they suggested it was probably caused by a hack or mod, but I had no way of knowing which one. I will try upgrading later today and hopefully it will fix this problem.

Thanks for the update.


All times are GMT. The time now is 07:34 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.01263 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (5)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