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)

basilrath 02-14-2011 06:45 AM

Quote:

Originally Posted by Lynne (Post 2162346)
Sure, if you copy the code for it also.

Well i tried that Lynne but sadly nothing...

Im assuming its the section in the showthread ???

Thanks for any info

Armadio 02-14-2011 06:38 PM

1 Attachment(s)
Quote:

Originally Posted by iBaker (Post 2162430)
I have found with 4.1.1 that:
- If I have the forums in my root
- My pages in a folder /pages/
- I use the chdir ('/home/xxxx/public_html');

The page displays with correct styling ONLY if I have the vb option "Always use Forum URL as Base Path" set to Yes...If I set it to No (which I need to do) I lose all the styling from the vb style

I have the same problem, look at the picture

basilrath 02-15-2011 12:15 PM

Is there a way to add "who is viewing this thread" or in my case page to my custom page????

Lynne 02-15-2011 03:35 PM

Quote:

Originally Posted by basilrath (Post 2162763)
Is there a way to add "who is viewing this thread" or in my case page to my custom page????

I do not have the code for this, but yes there is a way. The code you need is probably at the bottom of the forum.php or showthread.php page since both of those will show users browsing that page.

justasiam 02-26-2011 06:40 PM

Thank you for these instructions. I only have 1 question.

You said to create 2 new plugins. What do I name them?

Lynne 02-26-2011 07:57 PM

Quote:

Originally Posted by justasiam (Post 2167237)
Thank you for these instructions. I only have 1 question.

You said to create 2 new plugins. What do I name them?

You do not need to create any plugins for a page. If you do create plugins, you may name them whatever you want - that only matters to you.

CampinCarl 03-06-2011 03:44 PM

Can someone please tell me how to add the vB sidebar to my own custom page?

bchertov 03-08-2011 10:20 PM

Sorry folks, but I haven't read through this whole thread. I did see the first post where it suggests creating a template for a custom page.

I want to create a media kit for my site and I want to look good!

I'm thinking it would be best to use some sort of page layout program (dreamweaver, etc.) and take the generated HTML and display it within my vBulletin 4.x site, probably in the content area. It could replace just the contents of a post or article, or completely fill the page between the header and footer.

Ideally it wouldn't have to be recoded to be in the VB template language.
How would I include the generated HTML in vbulletin?
What about CCS files or anything else needed to display it inside of vBulletin?

How would you suggest I proceed?

And what's the best Mac program to use for the layout that's relatively simple but has some flexibility?

Thanks!
Barry

SkyStryder 03-10-2011 07:05 PM

Quote:

Originally Posted by CampinCarl (Post 2170233)
Can someone please tell me how to add the vB sidebar to my own custom page?

I need to do this also.:up:

--------------- Added [DATE]1299794304[/DATE] at [TIME]1299794304[/TIME] ---------------

Alternatively, Is there code we can add to the example Lynne provided that
will bring in the cms layout? It may be just a matter of initializing and
adding to the template? I have seen this which gives me hope:
<div class="vbcms_content">
{vb:raw layout}
</div>
Then I could assign it to a section and category? That would be awesome!

priest1311 03-15-2011 03:15 PM

Hello all,

So if i have been ready it correct this is the way to get a custom homepage with the navbar and footer. Because i have been searching like crazy for it but if i can add my own html layout and still use the header and footer that would be great. This is correct right?

Priest!


All times are GMT. The time now is 08:06 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.03550 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
  • (5)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