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)

joeychgo 06-04-2013 09:57 PM

Thank you Lynne - we're getting closer now.

Trouble is - its still not quite right.

I used this code:

Code:

    {vb:raw navbar}
    <div id="pagetitle" style="width: 1000px; margin-left:auto; margin-right: auto;">
      <h1>{vb:raw pagetitle}</h1><br />
    </div>
 
    <h2 class="blockhead" style="width: 1000px; margin-left:auto; margin-right: auto;">Title</h2>
    <div class="blockbody" style="width: 1000px; margin-left:auto; margin-right: auto;">
      <div class="blockrow" style="width: 1000px; margin-left:auto; margin-right: auto;">

and get this: http://www.lincolnvscadillac.com/tech/test.php

Lynne 06-04-2013 10:12 PM

You get that because the other classes you are calling (block*) have their own CSS associated with the class.

Code:

    <div class="blockbody" style="width: 1000px; margin-left:auto; margin-right: auto; padding: 10px;">
      <div class="blockrow">

CSS is really not that hard to learn and then you wouldn't have to rely on others to fix any styling issues that come up on your site.

joeychgo 06-04-2013 10:27 PM

Quote:

Originally Posted by Lynne (Post 2425853)
CSS is really not that hard to learn and then you wouldn't have to rely on others to fix any styling issues that come up on your site.


From what I hear Xenforo isn't too hard to learn either. Probably take me less time. I cant understand why you cant just tell me what to put instead of all this aggravation. I asked a simple question, why cant you just help?

pelican 06-05-2013 07:35 AM

by following the instructions, i successfully created a custom vb page, pull info and display it.

i am intending to create a custom file upload function with this custom page.
how can i post the info/data and capture it.

i know how to do it in normal php coding but not sure how in vbulletin environment.

assuming my custom page is fileupload.php

do i post back to the same page (fileupload.php) or another custom page (fileupload2.php) to capture the data?

what should be the form url to post to?

thanks.

Lynne 06-05-2013 04:29 PM

Quote:

Originally Posted by joeychgo (Post 2425855)
I cant understand why you cant just tell me what to put instead of all this aggravation. I asked a simple question, why cant you just help?

I did tell you exactly what to change.

Quote:

Originally Posted by pelican (Post 2425901)
by following the instructions, i successfully created a custom vb page, pull info and display it.

i am intending to create a custom file upload function with this custom page.
how can i post the info/data and capture it.

i know how to do it in normal php coding but not sure how in vbulletin environment.

assuming my custom page is fileupload.php

do i post back to the same page (fileupload.php) or another custom page (fileupload2.php) to capture the data?

what should be the form url to post to?

thanks.

You can do it either way. I usually like to have just one page for a form because it seems 'cleaner' to me.

MacroPhotoPro 06-06-2013 01:09 AM

Hello there;

I have got this page to work just fine, so long as my target page is in the main directory.

However, when I moved my page to a new (/imagehosting) directory it will no longer display.

What do I need to do to fix this?

Thanks,

Jack

Lynne 06-06-2013 05:07 PM

Quote:

Originally Posted by MacroPhotoPro (Post 2426033)
Hello there;

I have got this page to work just fine, so long as my target page is in the main directory.

However, when I moved my page to a new (/imagehosting) directory it will no longer display.

What do I need to do to fix this?

Thanks,

Jack

I have not found a way to make that work. I think some default vbulletin files would need to be modified to get that to work, but I haven't spent much time looking into it.

MacroPhotoPro 06-06-2013 08:37 PM

Anyone else have any ideas?

Thanks.

Digital Jedi 06-08-2013 07:37 AM

Quote:

Originally Posted by joeychgo (Post 2425855)
From what I hear Xenforo isn't too hard to learn either. Probably take me less time. I cant understand why you cant just tell me what to put instead of all this aggravation. I asked a simple question, why cant you just help?

XenForo/vB/IPB. Basic CSS knowledge would still be required to edit raw HTML. Lynn's answer is pretty straightforward. Problem is, if you don't really understand the principle behind CSS, then it's almost impossible to make you understand it without typing out what's explained in any given CSS tutorial. And no, it wouldn't take five minutes to explain. Given the chance, it certainly won't take 5 hours to understand the width property.

joeychgo 06-08-2013 08:33 AM

Quote:

Originally Posted by Digital Jedi (Post 2426579)
XenForo/vB/IPB. Basic CSS knowledge would still be required to edit raw HTML. Lynn's answer is pretty straightforward. Problem is, if you don't really understand the principle behind CSS, then it's almost impossible to make you understand it without typing out what's explained in any given CSS tutorial. And no, it wouldn't take five minutes to explain. Given the chance, it certainly won't take 5 hours to understand the width property.


It took someone else 5 minutes to explain it to me. They took the time.

http://www.lincolnvscadillac.com/tech/test.php


All times are GMT. The time now is 01:14 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.05853 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (6)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