Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Feb 2018, 08:41
userform3 userform3 is offline
 
Join Date: Jul 2010
I want to login vBulletin through my site

Hi,

from a CMS the user should log in to the vb.
The login procedure takes place in CMS.

At vb I got this https://www.vbulletin.com/forum/blog...n-your-website link sent to me by the users.
For the purpose of the login I created a plugin, registered in vb Backen.
The plugin itself is stored in
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When opening the forum via the URL www.test.dieseite.de/forum/ I get the following message:

Couldn't read config file config.php.
The error message is generated in the file
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What am I doing wrong?
Has the plugin been stored in the wrong place?

Anyone have any idea how to solve this?
What am I doing wrong?
Has the plugin been stored in the wrong place?

Anyone have any idea how to solve this?

regards
user

Last edited by userform3; 16 Feb 2018 at 10:23. Reason: File path corrected
Reply With Quote
  #2  
Old 15 Feb 2018, 08:49
userform3 userform3 is offline
 
Join Date: Jul 2010
I forgot an example of the plugin, it is attached.
Attached Files
File Type: php plugin_forum.php (1.3 KB, 2 views)
Reply With Quote
  #3  
Old 16 Feb 2018, 08:27
userform3 userform3 is offline
 
Join Date: Jul 2010
Hi,

after joining a user did not change my approach.
I have outsourced the login procedure to the CMS and combined it into one function:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When you call the forum that is integrated in the CMS, the following message is displayed:

Couldn't read config file config.php.

Anyone any idea how I can fix the message?
Or what is the cause?
Thank you in advance.
Reply With Quote
  #4  
Old 19 Mar 2018, 18:29
kkinsey kkinsey is offline
 
Join Date: Oct 2011
Just a guess, but either provide the full path here:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or (possibly better), use PHP's chdir() to change the script's virtual environment to the vBulletin installation's expected working directory for the duration of the script (if I'm right, this would mean no further errors of this type).
__________________
<?php
while ($breathing) {
write_more_code(); }
?>
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:09.

Layout Options | Width: Wide Color: