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)

A17roolz 07-31-2006 01:33 PM

Quote:

Originally Posted by A17roolz
Anyone know how to get this working on the same page as vBExternal (using the news fetch).

Anyone?

PitPunks 08-05-2006 04:04 PM

When i am logged in it says im not, and when i login it jsut redirects me to my vbulletin forum.

Billspaintball 08-07-2006 12:40 AM

Quote:

Originally Posted by A17roolz
Anyone?

No.
They are not really compatible.

Easiest thing is to is add a login functionaly to vB external.

Billspaintball 08-07-2006 12:45 AM

Quote:

Originally Posted by PitPunks
When i am logged in it says im not, and when i login it jsut redirects me to my vbulletin forum.

Check the cookies and path settings in the troubleshooting guide (post 2)
Also flush your browser cache and make sure you force a page refresh (CTRL+F5)

PitPunks 08-07-2006 02:21 AM

many thank you, it was the chache.

Now.. i must edit it to suit my needs :)

Thanks bill :)

fredtp 08-08-2006 02:55 AM

This is a great script! having a problem though. when browsing to the external site containing the login box while not logged in (cookies cleared) instead of showing the normal site, i get the forum login page. when i log in i get a 404 error because its looking for login.php in the root directory (not the forum directory). What i'd like is for a non-logged-in user navigates into the page, they see the normal page plus the login box. i've tried the simple page as suggested in the instructions and same thing happens. if i am logged in prior to going to the page, it works fine.
your help is appreciated, thanks

Billspaintball 08-08-2006 10:56 PM

Quote:

Originally Posted by fredtp
when browsing to the external site containing the login box while not logged in (cookies cleared) instead of showing the normal site, i get the forum login page. when i log in i get a 404 error because its looking for login.php in the root directory (not the forum directory).

Sounds like somthing has gone wrong with your paths.
Do step two of troubleshooting to confirm the path, then make sure that it matches
PHP Code:

<?php
// Edit the lines below to show path to your forums
$forumpath "http://www.yoursite.com/forums/";

in your login_inc.php file and also
PHP Code:

<?php  
chdir
('/path/to/your/forums');  
require_once(
'/path/to/your/forums/global.php');  
?>

On the page with the login box.

Quote:

What i'd like is for a non-logged-in user navigates into the page, they see the normal page plus the login box.
Thats how it usually works.
Quote:

i've tried the simple page as suggested in the instructions and same thing happens. if i am logged in prior to going to the page, it works fine.
your help is appreciated, thanks

erinys 08-09-2006 02:09 PM

Hey bill! you should port this to 3.6, since it allready works with it without a problem ;)

delive 08-09-2006 02:14 PM

Hey, I'm still getting problems with the logging in, then it doesn't show me logged in. Sometimes, if I clear my cookies it will work. Then the next time I turn on my computer, or anyone elses for that matter, it won't work. The cookies setting in vb is set to /. I really dont understand why this keeps happening.

Another question, is there a way to decrease the loading times? I've gotten a couple comments that it takes a while for the page to load and it gets stuck when grabbing the users information after they logged in. Am I the only one that gets that?

Mr_Bob 08-09-2006 06:51 PM

Quote:

Originally Posted by Aotw
I alos having a problem with our cutenews installation on the same page, wich started direct after i added the login addon. Been trying to get some support at their site but no luck, maybe someone here could help?

Getting following error.

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/kreativi/public_html/portal/news/inc/functions.inc.php on line 43[/CODE]

I found a solution for this! :D

Well, it's not really a solution, but it will get rid of the error. I've just started using Cutenews, and found that this error really does not effect Cutenews....at all. It's simply very annoying and makes your website look unprofesional. So, I found that the best thing to do is simply turn off error reporting in the Cutenew's shownews.php file. If you are unsure how to do that, browser into your shownews.php file and at the very top you'll see
PHP Code:

error_reporting (E_ALL E_NOTICE); 

Just change that to
PHP Code:

error_reporting (0); 

See, if you can't beat it, cover it up. Loads of government officials have done it, now we can too ;).

While I'm posting, any progress on the avatar issues yet :D. When I "succeeded' in this I tried to tackle that again...still not finding a good solution.


All times are GMT. The time now is 02: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.01371 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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