vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

wrang 02-09-2005 03:08 AM

Quote:

Originally Posted by SVTBlackLight01
Reviewpost has an option to use the vBulletin styles by default. You don't need to use this hack. ;)

If they had i would use it ;)
Photopost is intergrate with Vbulletin but not the Reviewpost :ermm:

So any clue

SVTBlackLight01 02-09-2005 09:44 AM

I'm running a vB integrated reviewpost at my site. Check it out. http://www.modernengineuity.com/rev/ ;)

ogden2k 02-09-2005 01:07 PM

Has anyone successfully setup this hack so it works in a different folder? Such has public_html\foldername?

I made a few posts about this awhile back (p18) and none of the suggestions help.

SVTBlackLight01 02-09-2005 07:02 PM

It's working fine for me with 3.0.3. I have a few directories set up outside vb.

http://www.modernengineuity.com/specs/

http://www.modernengineuity.com/prod/cobra.mod?

http://www.modernengineuity.com/ebay.php

http://www.modernengineuity.com/calc/

keymistress 02-15-2005 04:50 AM

i've got it working so far but need help with some extras, say i want someone with 500 or more posts to have access to the page how do i retrieve that info? is it possible to retrieve the username as a variable as well? cos i need these info for a form, thanks in advance!

Adrian Schneider 02-15-2005 05:20 AM

PHP Code:

if ($bbuserinfo[posts] >= 500)

    eval(
'print_output("' fetch_template('template_name') . '");');
}
else 
{
    
print_no_permission();


This should work.
For username, it is just $bbuserinfo[username]. $bbuserinfo[fieldname] displays the field value of the member browsing the page. (so you can use tons of others as well).

keymistress 02-15-2005 05:28 AM

right, thanks! got it working!

DRJ 02-15-2005 09:01 AM

Works great. Thanks.

zemic 02-15-2005 01:03 PM

Is it possible to create my pages in Dreamweaver, and put this vbulletin code around it so I get the header and footer + verfication thing working.??

I want to create a web site onto my Vbulletin forum. I dont want to be copying and pasting HTML into the vbulletin template system everytime I need to update the pages.

deathemperor 02-15-2005 02:50 PM

Quote:

Originally Posted by zemic
Is it possible to create my pages in Dreamweaver, and put this vbulletin code around it so I get the header and footer + verfication thing working.??

I want to create a web site onto my Vbulletin forum. I dont want to be copying and pasting HTML into the vbulletin template system everytime I need to update the pages.

no you can't, you must write do exactly this thread guy, then in template you can do like making a HTML file in DW. it's jut you must have a php file 1st.


All times are GMT. The time now is 10:43 AM.

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.02665 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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