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)

Taco John 08-27-2006 03:19 AM

I'm having some trouble, and it's probably due to my lack of knowledge...

Could you please provide instructions on how to use iframes to include this on non-PHP pages? My front end content engine is shtml based.

Mr_Bob 08-28-2006 04:21 PM

Quote:

Originally Posted by bandare
will this work on 3.6 forums?

Yes, I'm using it with 3.6 right now without any problems :).

Billspaintball 08-30-2006 05:47 AM

Quote:

Originally Posted by Taco John
I'm having some trouble, and it's probably due to my lack of knowledge...

Could you please provide instructions on how to use iframes to include this on non-PHP pages? My front end content engine is shtml based.

Sorry it only works with PHP.

ocdotcom 09-01-2006 01:03 AM

*edit* Thanks for the GREAT mod Bill! but Ive suddenly got a problem. One of my workstations (WinXPpro, all windows updates, IE6 etc) is not being redirected back to the custom .php page I made. It's just going straight to the index.php for the forums. Although one of my other workstations (same specs) is being redirected. I cleared cookies etc but it's still not working. Ive made no major changes. Without me posting a bunch of my code here - any thoughts? Im certain my paths are correct etc because this was working before and still works on my other PC...

Thanks in advance!

ocdotcom 09-04-2006 08:33 PM

Well I managed to fix this. on about line 154 there was this:
echo"<br />...
Which I changed to take out the /:
echo"</br>...
Would this have helped?

ocdotcom 09-04-2006 08:35 PM

Well that seemes to work once - now I am not redirecting anymore. This is so frustrating...

*edit*
I have determined that my problem is this: I can log into my custom page (home.php) 1 time and get redirected back to that page after logging in. Subsequent logins (after clearing cookies etc) take me directly to the forums index.php page. I have no idea whats wrong. I made a new profile on my PC and logged into it so it was a fresh user. I then logged into my home.php which includes the basic require_once info etc and got redirected back to that page - the avatar displaying correctly etc. I logged out and cleared cookies and immediately logged back in and instead of being redirected I get the forum index.php page...
I have done all of the troubleshooting recommended by Bill and I KNOW my paths are correct. I just realized also that I was having the double // problem which I fixed in the login_inc.php. Ive also tried verifying there was no spyware on my PC (AdAware), no windows firewall turned on (WinXPpro), doing Windows Updates, I even tried Firefox (didnt work either), my VB cookie path has always been / and not /forums/ etc...

Im lost as to what to try next...

Grasty 09-04-2006 09:05 PM

Quote:

Originally Posted by delive
What is the code that evaluates the users additional usergroups. Is it possible to check and see if they are part of an additional usergroup?

What should i change
$vbulletin->userinfo['usergroupid'] == '5'
to?

I would also like to know a solution to this.

Billspaintball 09-14-2006 01:13 AM

Quote:

Originally Posted by Grasty
I would also like to know a solution to this.

There have been a number of requests for this.
I havent had time yet to look at how vB handles secondary groups.
Its on the todo list, but no ETA as yet.

futuredood 09-14-2006 06:01 AM

can you fix this code.. on my regular pages, i've got a redirect code in the form field that redirects to the usercp during login. i've tried using the same code in the login_inc.php file, but it doesn't seem to work:

<input name="url" type="hidden" value="/usercp.php" />

Billspaintball 09-14-2006 11:43 AM

What error do you get?

What happens if you use the full url instead of just /usercp.php ?


All times are GMT. The time now is 02:44 AM.

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.01275 seconds
  • Memory Usage 1,739KB
  • 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_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