vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

ar15dcm 05-02-2013 10:51 AM

Thank you Lynne.

TheRealso0sick 05-09-2013 09:10 AM

Hey thanks for this guide but i'm still having problems with it.
I managed to set up the template for the php page but it won't output vb template codes like
"{vb:raw user.musername}"

When i enter this, it shows only a blank space in the php page.

What have i done wrong?

Lynne 05-09-2013 04:30 PM

Quote:

Originally Posted by TheRealso0sick (Post 2420835)
Hey thanks for this guide but i'm still having problems with it.
I managed to set up the template for the php page but it won't output vb template codes like
"{vb:raw user.musername}"

When i enter this, it shows only a blank space in the php page.

What have i done wrong?

Did you make sure to register the variable $user to be used in the template? Did you make sure to define the variable $user in the php code prior to rendering the template?

TheRealso0sick 05-09-2013 04:56 PM

Quote:

Originally Posted by Lynne (Post 2420906)
Did you make sure to register the variable $user to be used in the template? Did you make sure to define the variable $user in the php code prior to rendering the template?

Oh, no..
To be honest i'm not so familiar with php. I only know my way around in the VB templates
and i followed your guide step by step and was wondering why it's not working.

Could you give me a step by step instruction on how to make this work?

:(

Lynne 05-09-2013 10:51 PM

Quote:

Originally Posted by TheRealso0sick (Post 2420919)
Oh, no..
To be honest i'm not so familiar with php. I only know my way around in the VB templates
and i followed your guide step by step and was wondering why it's not working.

Could you give me a step by step instruction on how to make this work?

:(

I suggest you make a thread in the main forums and post your exact php file (in php tags) and template code (in tags also) and then we can help you easier.

omriamos 05-14-2013 09:51 AM

Hi,

I have a custom page (test.php for example) and I want to include a search results - specifically "search.php?do=getnew" - as a part of it.

e.g.
I want to have a custom header/code of some kind, like the subscribed-threads list, and afterwards to show the list of all the new posts from the forum (search.php?do=getnew).

Is it possible in any way?

Thanks

Lynne 05-14-2013 02:57 PM

Quote:

Originally Posted by omriamos (Post 2421932)
Hi,

I have a custom page (test.php for example) and I want to include a search results - specifically "search.php?do=getnew" - as a part of it.

e.g.
I want to have a custom header/code of some kind, like the subscribed-threads list, and afterwards to show the list of all the new posts from the forum (search.php?do=getnew).

Is it possible in any way?


Thanks

Sure it's possible if you code it. Are you asking if I have the code? No, I do not. You will need to code it yourself.

omriamos 05-14-2013 04:58 PM

Well, I was hoping for a little guidance on how to add search results to my custom php page...
:)

Lynne 05-14-2013 10:38 PM

You would need to create a search form (I would guess) and then write the queries to do the search and spit out the results. This really isn't a tutorial on how to write a form though or on how to code in PHP, so I really am not sure what you are wanting.

Crazer 05-19-2013 04:58 PM

I hope that I am not the only one clueless, but I have been trying to find out what people mean by creating a template. Do they mean a style template, or what? Can someone please let me know? Thanks!


All times are GMT. The time now is 01:17 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.02128 seconds
  • Memory Usage 1,741KB
  • 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
  • (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