vb.org Archive

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

Seanie 10-11-2004 02:01 PM

website intergration...
 
Hi,

I have been trying for months to intergrate my vB with my site, I have been through all the help threads a million times... it never seems to work for me :disappointed:


Can anyone help me?

*irony of it all is that I moved from IPB which i could intergrate easilly*



any help is greatfully recieved :nervous:


seanie

Colin F 10-11-2004 02:40 PM

It would be a bit easier to help if you gave some more details about how you want to integrate it and what isn't working.

Seanie 10-11-2004 02:51 PM

okay

well the site is @:

http://www.lee-latchfordevans.com

the forums are @:

http://forum.lee-latchfordevans.com


I have tried connecting to the global.php file, but i get errors, i've even got blank pages :s

What I ultimatly want to do is have a "welcome user blah blah..." and protect certain areas of the site, to members only...

Seanie 10-12-2004 05:11 PM

anyone? :(

Seanie 10-15-2004 05:29 PM

no then? :( *crys*

House_of_Crazed 10-15-2004 09:47 PM

This might be helpful

https://vborg.vbsupport.ru/showthrea...&page=1&pp=100

It's a basic tutorial on how to make extra pages for your site.

To protect certain pages to only usergroups, you could use if conditions.

And best of all, it's template-powered. :) lol ... You can create whatever in HTML, then the file will spit it out. :) lol ...

As for login, go and look for a hack in the VB3 forums... There's a hack out there that allows you to put the login code on a non-vb3 page. But it'll also work on the page you'll make from the above link. It does for me.

Good luck.

Seanie 10-16-2004 05:22 PM

Quote:

Originally Posted by House_of_Crazed
This might be helpful

https://vborg.vbsupport.ru/showthrea...&page=1&pp=100

It's a basic tutorial on how to make extra pages for your site.

To protect certain pages to only usergroups, you could use if conditions.

And best of all, it's template-powered. :) lol ... You can create whatever in HTML, then the file will spit it out. :) lol ...

As for login, go and look for a hack in the VB3 forums... There's a hack out there that allows you to put the login code on a non-vb3 page. But it'll also work on the page you'll make from the above link. It does for me.

Good luck.

Thanks... but I have tried all these threads... none seem to work... and no one seems to attempt to help me... :(

C.Birch 10-22-2004 08:39 AM

1 Attachment(s)
its easy and you can even show and hide parts of a page based on if a persons logged in or not. also if a full page needs you to be logged in you can auto show a login page and when logged in it takes them back to the page they where trying to view. can also get it to show your vb pm stats and hive mail stats and even get it tell you when you got new pm's and e-mail

all it needs is 2 small files well 3-4 if you count the login and signup pages. then each site page as 2 php calls if its a members only page and one call if its open to everyone. no need at all to call any vb files and its also abad idea to call vb files when your not with the forums root because vb files call other vb files from within each other.

eg vb's global.php call's includes/functions.php and /includes/init.php

so if your including global out side of the forums root useing like <?php @include "/home/YOURFORUM/public_html/global.php";?> on a site page then global is not able to read the files its trying to read. because global on the site page now infact becomes part of the site page so its call's to files are trying to call them from your sites root not the forums root and you can go on all day because files call other files and them files call other files.

but what your after can be done as you know seanie, because you know that its what i have been doing for years on my sites and thats what your after doing.

trackpads 10-23-2004 08:46 AM

I have my Video gallery registered users only but I want to make it open to only certain usergroups, is there a way to do that?

Thanks again,

-Jason

Seanie 10-23-2004 07:15 PM

Quote:

Originally Posted by C.Birch
its easy and you can even show and hide parts of a page based on if a persons logged in or not. also if a full page needs you to be logged in you can auto show a login page and when logged in it takes them back to the page they where trying to view. can also get it to show your vb pm stats and hive mail stats and even get it tell you when you got new pm's and e-mail

all it needs is 2 small files well 3-4 if you count the login and signup pages. then each site page as 2 php calls if its a members only page and one call if its open to everyone. no need at all to call any vb files and its also abad idea to call vb files when your not with the forums root because vb files call other vb files from within each other.

eg vb's global.php call's includes/functions.php and /includes/init.php

so if your including global out side of the forums root useing like <?php @include "/home/YOURFORUM/public_html/global.php";?> on a site page then global is not able to read the files its trying to read. because global on the site page now infact becomes part of the site page so its call's to files are trying to call them from your sites root not the forums root and you can go on all day because files call other files and them files call other files.

but what your after can be done as you know seanie, because you know that its what i have been doing for years on my sites and thats what your after doing.

Iv done it before... ;)

I was only asking because it wasnt working for me now...

anyway... I spoke to the hosting people, and there was something on the server blocking it... that isnt now


All times are GMT. The time now is 12:34 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.01042 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete