Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yet Another vB Login on non-vB Page Details »»
Yet Another vB Login on non-vB Page
Version: 1.00, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-25-2005 Last Update: Never Installs: 65
 
No support by the author.

This is not a plugin, nor is it a code modification. It is a separate script, so just configure the attached script, FTP it to wherever, and then call it from your browser. Once you test it out, you can edit the script to show whatever content you desire. Look at the code to see where to set your content. If you don't like this script, try mcahill's vB login on a non-vB page here.

If you use this script, click the install button. This allows you to receive update notices, should any be sent. It is also a nice way to say thanks!

Fine Print: Obviously, use at your own risk. Support is not guaranteed. This script may not be redistributed!

25 Jul 2005: added $session to make_page_content global list

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-04-2005, 12:45 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #23  
Old 08-04-2005, 01:31 PM
Mimoun Mimoun is offline
 
Join Date: Jul 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 08-09-2005, 03:31 PM
Mimoun Mimoun is offline
 
Join Date: Jul 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 08-09-2005, 03:51 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 08-10-2005, 05:34 PM
ddas ddas is offline
 
Join Date: Jun 2005
Location: Dortmund, Germany
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 09-03-2005, 03:14 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.
Reply With Quote
  #28  
Old 09-06-2005, 12:43 PM
Disi Disi is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 09-06-2005, 01:32 PM
Mimoun Mimoun is offline
 
Join Date: Jul 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 09-07-2005, 03:04 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Disi: Check the allowed usergroups. If you want both primary and secondary groups, do this.
Reply With Quote
  #31  
Old 09-09-2005, 07:38 PM
Disi Disi is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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


All times are GMT. The time now is 11:03 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.05016 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete