vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Website Integration (https://vborg.vbsupport.ru/showthread.php?t=38621)

Intex 05-14-2002 12:12 PM

Website Integration
 
Does anyone have any pointers about how to integrate vB with a website?

What I'm after is creating a homepage that has its own logo's / backgrounds / links etc but also has the vB forum within it. I suppose the most obvious example is vBulletin.org :)

What is the easiest way to create this additional content? Is it just a case of update the header / footer etc ?

Sparkz 05-14-2002 01:01 PM

There are several hacks that help you with this.
Here's two of them:

https://vborg.vbsupport.ru/showthrea...threadid=36756
https://vborg.vbsupport.ru/showthrea...threadid=37021

Intex 05-14-2002 03:30 PM

Thx Sparkz. I check em out :)

smleg 05-15-2002 11:04 AM

I've created a nice website that is using a php and mysql driven backend for all the content. What I want to do is allow members (registered via forum) to be able to submit content, articles etc, to me via a form they can fill out.

My question is how do I check to see if they have a cookie from the forum already, so they don't need to login twice. Also, couldn't I just query the users table in the forum DB to let them login and submit an article to me?

Could I use pre-existing vBB code to check the cookies instead of inventing the wheels twice? If so which page(s) has the code to verify this?

I'm fairly new to php (learning on my own for 2 months), for the passwords how do you encrpyt + decrypt them?

By doing this I'm hoping to create more of a members type site, and no I don't want to use PHP nuke or anything like that, I want to create my own custom solution.

Check out my site at www.ramprage.com

Logician 05-15-2002 11:15 AM

Quote:

Originally posted by smleg
Could I use pre-existing vBB code to check the cookies instead of inventing the wheels twice? If so which page(s) has the code to verify this?

I dont know if it works for you, but you can put your content in a WebTemplate and assign your webtemplate necessary permissions to give access to your users..

smleg 05-15-2002 03:55 PM

Well I don't need 90% of my content to have permissions at all. I only need to put permissions on 2 files, users to submit content (submit.php) and users downloads (downloads.php),maybe a few admin pages if those two work well.
I do not wish to change the real structure of my site. Also you probably can't run PHP and SQL commands inside that hack, correct?

Is there another way I can do this without such a large hack? I heard someone say something about including global.php on another thread. What is inside global.php?

I only really want to incoporate the members table and permissions ... (which I can still probably get from the members table in an SQL query)..
For example WHERE Permission=1 AND Permission=2
something like that anyways.

How does vBB deal with keeping track of logged in users and cookies?


All times are GMT. The time now is 11:16 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.01744 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete