Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2002, 12:12 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 ?
Reply With Quote
  #2  
Old 05-14-2002, 01:01 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 05-14-2002, 03:30 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx Sparkz. I check em out
Reply With Quote
  #4  
Old 05-15-2002, 11:04 AM
smleg smleg is offline
 
Join Date: Dec 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 05-15-2002, 11:15 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #6  
Old 05-15-2002, 03:55 PM
smleg smleg is offline
 
Join Date: Dec 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 04:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07814 seconds
  • Memory Usage 2,209KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete