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)
-   -   Yet Another vB Login on non-vB Page (https://vborg.vbsupport.ru/showthread.php?t=91129)

calorie 08-04-2005 12:45 PM

In the readme replace:
Code:

<!-- small login box -->
With the following:
Code:

<br /><table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\"><tr>
And also replace:
Code:

<!-- / small login box -->
With the following:
Code:

</tr></table><br /><br />
And then save the readme, execpt the instructions, as a template called smallloginbox and
then use the following:
Code:

eval('$smallloginbox = "' . fetch_template('smallloginbox') . '";');
To get the template, and then use $smallloginbox like you would use $navbar to show the content.

You can also add smallloginbox to $globaltemplates if you want to cache the template.

Mimoun 08-04-2005 01:31 PM

It works perfect now thank you very much.

If you have a website that needs a new design just pm me and I will make one for you for free. That's my way of saying thanks.

Mimoun 08-09-2005 03:31 PM

After a lot of editing the script I got it fully customized.
You can see it working on my site .
Thanks again calorie I have learned a lot from your script.

Boofo 08-09-2005 03:51 PM

Quote:

Originally Posted by Mimoun
After a lot of editing the script I got it fully customized.
You can see it working on my site .
Thanks again calorie I have learned a lot from your script.

I just joined your site. Awesome job. ;)

ddas 08-10-2005 05:34 PM

Hi,

I?ve set up example2, works fine standalone.
But once it?s included from another page I get the following error message:

Fatal error: Call to undefined method stdClass::query_first() in /var/www/community/messageboard/includes/functions.php on line 938

How come?

take care
Flint Stelter
http://www.ddas.de

calorie 09-03-2005 03:14 PM

@ddas: It's not finding what it needs, but not sure what you mean by including it in another page. The script is meant as standalone so you can add vB type pages wherever you want by simply editing the script.

Disi 09-06-2005 12:43 PM

Hiho, can someone tell me how to get the login correct?

i've tryed the script and it always redirects after the login to domain.tdl/login.php..

it should be domain.tdl/board/ or something like this

regards,

dennis

Mimoun 09-06-2005 01:32 PM

Quote:

Originally Posted by calorie
@ddas: It's not finding what it needs, but not sure what you mean by including it in another page. The script is meant as standalone so you can add vB type pages wherever you want by simply editing the script.

I think he means when using this:
PHP Code:

include 'loginbox.php'

Didn't work for me too I just had to do a copy past for all pages.
Not a good way to do it, but it only works like this.

calorie 09-07-2005 03:04 PM

@Disi: Check the allowed usergroups. If you want both primary and secondary groups, do this.

Disi 09-09-2005 07:38 PM

Quote:

Originally Posted by calorie
@Disi: Check the allowed usergroups. If you want both primary and secondary groups, do this.

shouldn't have to do with the user groups because i added all groups :)


All times are GMT. The time now is 03: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.01105 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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