vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - Simple vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=132996)

Ipuck 04-13-2007 01:50 AM

Thanks It worked!!!!! :)

But now I got another error :( (See Photo) Any ideas?

jags2ooo 04-13-2007 10:35 AM

Quote:

Originally Posted by Ipuck (Post 1226385)
Thanks It worked!!!!! :)

But now I got another error :( (See Photo) Any ideas?

getting the same error also.

suttercain 04-13-2007 10:52 PM

Quote:

Originally Posted by Ipuck (Post 1226385)
Thanks It worked!!!!! :)

But now I got another error :( (See Photo) Any ideas?

I posted this fix for this on this page. It's always a good idea to read the forum posts.

suttercain 04-13-2007 11:14 PM

Hate to say it, I found another error via Firefox VS. IE.

When I login and I have code so only a certain group can see it... works fine in Firefox and displays the code, yet in IE it logs me in, shows I am in, but does not display the code to that user group.

Is anyone else having this issue with IE?

Thanks.

SC

Ipuck 04-13-2007 11:58 PM

Thanks

I didn't know what that fix was for, but read all your post and i found it.

Thanks it worked well.


Quote:

Originally Posted by suttercain (Post 1227069)
I posted this fix for this on this page. It's always a good idea to read the forum posts.


suttercain 04-14-2007 12:10 AM

IPuck,

Glad to hear it.

Have you tried this code yet?

Code:

if ($vbulletin->userinfo['usergroupid'] == '6' )
    {
    echo "<table width='100%'  border='0' cellspacing='0' cellpadding='0'>

} else {
            echo "You do not have permission for this page"; }

If so can you let me know if it is showing the content that it is suppose to after logging in. I got it to show in Firefox, but not IE.

Thanks

Snatch 04-14-2007 06:56 PM

Quote:

Originally Posted by Vigile (Post 1224569)
Is there anyway for this hack to work where the forums on a different physical server, though they are a subdomain of the other site in question.

For example:

mysite.com on server IP 192.168.0.100
forums.mysite.com on server IP 192.168.0.101

Possible?

Hi, this works! Make a copy of the needed Forum Forum files on the secound Server.
Then you must set in the config.php on the secound server the ip to the server where the VB-Database is runnig.
I have made this to and it works fine.

Example:
My Forum: www.celebritymarkt.org (Server 1)
My Uploader 10mbit.celebritymarkt.org/uploader (Server 2)

GreeTz
Snatch

suttercain 04-14-2007 07:00 PM

Can some please tell me if

Code:

if ($vbulletin->userinfo['usergroupid'] == '6' )
    {
    echo "<table width='100%'  border='0' cellspacing='0' cellpadding='0'>

} else {
            echo "You do not have permission for this page"; }

Works for them in IE?

Thank you

Taipa 04-14-2007 09:41 PM

Quote:

Originally Posted by suttercain (Post 1227685)
Can some please tell me if

Code:

if ($vbulletin->userinfo['usergroupid'] == '6' )
    {
    echo "<table width='100%'  border='0' cellspacing='0' cellpadding='0'>

} else {
            echo "You do not have permission for this page"; }

Works for them in IE?

Thank you

How did you get that to work in Firefox? It's missing the "; at the end of the first echo statement. I have to add the "; to get it to work at all.

But no, I cannot get it to work in IE. Then again, I'm not a very good test, because I can't get anything for this hack to work in IE. Works brilliantly in Firefox, but won't even let me login in IE. I login, it shows the vB screen saying "thank you for logging in" but then when it redirects me, it's not showing me as being logged in at all.
I don't get any errors, it just... doesn't work for me.
I'm still reading this whole thread to figure out where I've gone wrong.

suttercain 04-14-2007 09:45 PM

Thanks for replying. I fixed the login part for IE I think it's on page 7 of this forum. But what is the point of this hack if it doesn't work in IE? That is what I don't get. For better or worse, most people use IE and if this only works for Firefox it's pointless.

I used this in Firefox
Code:

<?php
if ($vbulletin->userinfo['usergroupid'] == '6' )
    {
    echo "<table width='100%'  border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>NEWS</td>
    <td>COMICS</td>
    <td>REVIEWS</td>
    <td>CHARACTERS</td>
    <td>CREATORS</td>
    <td>ARTICLES</td>
  </tr>
  <tr>
    <td><a href='submit_news.php'>Submit News </a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><a href='view_edit_news.php'>Edit News </a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>";
            } else {
            echo "You do not have permission for this page"; }
    ?>

Worked great in Firefox, sucks in IE


All times are GMT. The time now is 06:04 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.01315 seconds
  • Memory Usage 1,751KB
  • 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_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)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