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)

MRGTB 01-30-2006 11:49 PM

How can this be made to work from outside your forums folder?

What code changes would have to be made

UManiac 02-09-2006 03:52 AM

Quote:

Originally Posted by caislander
Anybody,

I can't get phrases created via the phrase manager to show up? Any ideas what i might have done wrong ? here is the info in my template if it helps :)

As always Thanks for any assistance :0


Ditto - html shows upe just fine - phrase do not...

Any help would be appreciated.

MRGTB 02-12-2006 12:49 AM

Does anybody know how you can get the lastest thread titles displayed on the test template taken from the forum boards, that display the thread title as a link that when clicked leads to the thread itself

UManiac 02-12-2006 12:56 AM

Quote:

Originally Posted by UManiac
Ditto - html shows upe just fine - phrase do not...

Any help would be appreciated.

Got it to work :)

I added 'register' to special phrase gorups. See below

PHP Code:

// get special phrase groups 
$phrasegroups = array(
    
'register',
); 


Eddymvp 02-18-2006 01:05 PM

For some reason, when i do a query to the database within this page i get the following error
"Fatal error: Call to a member function on a non-object in /vservers/lustiesn/htdocs/vbulletin/main.php on line 45"
and there is the code that i'm using to query to the database

PHP Code:

 $getnews $DB_site->query_first("SELECT * FROM thread left join post  on (post.postid=thread.firstpostid) where thread.forumid=18  order by thread.threadid desc limit 1"); 


Marco van Herwaarden 02-20-2006 10:34 AM

What version of vB are you running?

If you are using vB3.5, you will need to use $vbulletin->db->query_first instead of $DB_site->query_first.

PS I think there is a similar HOW-TO in our 3.5 Tutorial section.

Eagle Creek 02-20-2006 06:51 PM

1 Attachment(s)
Look:
https://vborg.vbsupport.ru/external/2006/02/5.jpg
How can I change this so it IS a know location?

Smiry Kin's 02-20-2006 06:58 PM

Quote:

Originally Posted by Eagle Creek
Look:
https://vborg.vbsupport.ru/attachmen...id=43143&stc=1
How can I change this so it IS a know location?

i get this aswell, i think every one else does also:S if a fix can be made, then nice, if not no worries..

MRGTB 02-20-2006 07:20 PM

Quote:

Originally Posted by Smiry Kin's
i get this aswell, i think every one else does also:S if a fix can be made, then nice, if not no worries..

you obviously have not followed the instructions proper, as it tell you how to sort that out on the first page of this thread by the hack poster, who has also posted the code fix for Who's Online

Princeton 02-22-2006 12:19 PM

3.5 users may be interested in GTCUSTOM PAGES


All times are GMT. The time now is 12:30 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.02220 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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