Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 03-17-2016, 07:15 PM
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Location: Detroit, MI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited the post after I realized it was the wrong link. http://urbanvapekartel.com/uvk/About.php

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

Quote:
Originally Posted by MarkFL View Post
It looks like the requested file isn't where it's supposed to be...
What file? I'm lost.

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

I realized my FTP client didn't upload the new edit. But, even still, it's blank again. I don't get it. Was there anything I missed in the PHP code?
Reply With Quote
  #12  
Old 03-17-2016, 10:19 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you create the template called "Aboutme"? If there's no template to render, then that would definitely give you a blank page.
Reply With Quote
  #13  
Old 03-17-2016, 11:54 PM
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Location: Detroit, MI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me try that.

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

That worked, now how to I populate the page with text?
Reply With Quote
  #14  
Old 03-18-2016, 01:06 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can simply add the appropriate HTML to make it look like you want, within the body, beneath the navbar.
Reply With Quote
  #15  
Old 03-18-2016, 01:20 AM
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Location: Detroit, MI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do I do that? Like in the templates, or what?
Reply With Quote
  #16  
Old 03-18-2016, 01:35 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MaxwellMorphine View Post
Where do I do that? Like in the templates, or what?
Yes, in your "Aboutme" template. Here is a template I created on my local dev site when I was testing this kind of thing out:

HTML Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
	<head>
		<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
		{vb:raw headinclude}
		{vb:raw headinclude_bottom}
	</head>
	<body>
		{vb:raw header}
		{vb:raw navbar}
		<h2 class="blockhead aboutus_head">About MHB</h2>
		<div class="blockbody">
			<div class="blockrow aboutus_body">
				<div style="text-align: center"><b>Hello And Welcome To MHB!</b></div><br>
				<p>We are very pleased that you have decided to register at MHB, and we look forward to your participation. We trust that you find your time here to be productive and pleasant. If you have any questions or concerns regarding MHB, we encourage you to address these to an MHB staff member. We truly value feedback from our members, and we are always looking for ways to improve. So, if you think of something you feel would help make MHB better in any way, we would love to hear from you.</p>
				<div style="text-align: center"><b>MHB's Goals and Philosophy</b></div><br>
				<p>Our primary goal here at MHB is to help those with mathematics questions to not only gain a better understanding of the question being asked, but to also be able to apply this help in a more general way. We want people to not only be able to successfully apply a formula or technique, but to also understand why and when it works, and when it doesn't. We feel that when this is understood, the procedure for solving the problem will seem less arbitrary and easier to remember. We work to ensure that all of this is done in an environment where discussions are kept civil and on track.<p>
				<p>We are not a place where you can drop off your homework, and then come back later to find it all neatly done for you. Our goal is to actively engage people in the process of solving their problems so that the benefit to them is maximized. Much more is learned by doing than by watching, and so when we guide rather than simply give the solution, our primary goal is more easily realized.</p>
				<p>It would actually take less effort on the part of our helpers to just work the problem and post the solution, but this would be lazy and much less effective. You have probably heard the old adage that if you give a man a fish, he eats for a day, but if you teach him to fish, he eats for a lifetime. The majority of those who give help here subscribe to this philosophy.<p>
				<p>So, in light of this, we expect that when you post a question, work and/or thoughts are also posted so that our helpers know where you are stuck, or what mistake(s) you may be making. This way our helpers can offer specific and judicious guidance. When a question is posted with no effort shown, our helpers are left to guess how best to help. You may have, prior to posting, unsuccessfully tried to apply the suggestions that may be subsequently given on how to begin, and as a result this wastes both your time and that of the helper. We place a high premium on the time of those who contribute help here; it is extremely valuable and should not be squandered.</p>
				<p>We encourage everyone who desires to do so to help others, as long as the help is relevant and lucid. Help that is hard to read or follow is of minimal value. We urge those who decide to give help on a regular basis to be proficient in the use of $\LaTeX$ so that this help is as easy to read as possible. Those who are observed by MHB staff to consistently give such help and abide by MHB rules, may be nominated to be an official MHB Math Helper. So, if you are asking a question, and the person who is offering you help has the MHB Math Helper badge, this indicates to you that they have been recognized by MHB staff for giving solid help in a manner consistent with MHB philosophy.</p>
				<p>Mathematics is such a vast and rich field, full of many wonders and beautiful results, and as such we feel it deserves the best possible environment we can provide to our members to explore this incredible wonder and beauty. Few other fields of study has people so passionate to share their knowledge freely with others, for the sheer joy of helping others to experience and appreciate one of the greatest intellectual pursuits known to man.</p>
			</div>
		</div>
		{vb:raw footer}
	</body>
</html>
Reply With Quote
  #17  
Old 03-18-2016, 02:54 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great way to create new pages but I have found it does not render some html any more.

For example. It will render <b></b> but not <strong></strong>. CSS would probably work better though than just sticking html inside the template.
Reply With Quote
  #18  
Old 03-18-2016, 03:19 AM
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Location: Detroit, MI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, I found a mod that allows you to create custom pages under a pages navbar link. That's good enough for me. Thanks for the help though.

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

Quote:
Originally Posted by MarkFL View Post
Yes, in your "Aboutme" template. Here is a template I created on my local dev site when I was testing this kind of thing out:

HTML Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
	<head>
		<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
		{vb:raw headinclude}
		{vb:raw headinclude_bottom}
	</head>
	<body>
		{vb:raw header}
		{vb:raw navbar}
		<h2 class="blockhead aboutus_head">About MHB</h2>
		<div class="blockbody">
			<div class="blockrow aboutus_body">
				<div style="text-align: center"><b>Hello And Welcome To MHB!</b></div><br>
				<p>We are very pleased that you have decided to register at MHB, and we look forward to your participation. We trust that you find your time here to be productive and pleasant. If you have any questions or concerns regarding MHB, we encourage you to address these to an MHB staff member. We truly value feedback from our members, and we are always looking for ways to improve. So, if you think of something you feel would help make MHB better in any way, we would love to hear from you.</p>
				<div style="text-align: center"><b>MHB's Goals and Philosophy</b></div><br>
				<p>Our primary goal here at MHB is to help those with mathematics questions to not only gain a better understanding of the question being asked, but to also be able to apply this help in a more general way. We want people to not only be able to successfully apply a formula or technique, but to also understand why and when it works, and when it doesn't. We feel that when this is understood, the procedure for solving the problem will seem less arbitrary and easier to remember. We work to ensure that all of this is done in an environment where discussions are kept civil and on track.<p>
				<p>We are not a place where you can drop off your homework, and then come back later to find it all neatly done for you. Our goal is to actively engage people in the process of solving their problems so that the benefit to them is maximized. Much more is learned by doing than by watching, and so when we guide rather than simply give the solution, our primary goal is more easily realized.</p>
				<p>It would actually take less effort on the part of our helpers to just work the problem and post the solution, but this would be lazy and much less effective. You have probably heard the old adage that if you give a man a fish, he eats for a day, but if you teach him to fish, he eats for a lifetime. The majority of those who give help here subscribe to this philosophy.<p>
				<p>So, in light of this, we expect that when you post a question, work and/or thoughts are also posted so that our helpers know where you are stuck, or what mistake(s) you may be making. This way our helpers can offer specific and judicious guidance. When a question is posted with no effort shown, our helpers are left to guess how best to help. You may have, prior to posting, unsuccessfully tried to apply the suggestions that may be subsequently given on how to begin, and as a result this wastes both your time and that of the helper. We place a high premium on the time of those who contribute help here; it is extremely valuable and should not be squandered.</p>
				<p>We encourage everyone who desires to do so to help others, as long as the help is relevant and lucid. Help that is hard to read or follow is of minimal value. We urge those who decide to give help on a regular basis to be proficient in the use of $\LaTeX$ so that this help is as easy to read as possible. Those who are observed by MHB staff to consistently give such help and abide by MHB rules, may be nominated to be an official MHB Math Helper. So, if you are asking a question, and the person who is offering you help has the MHB Math Helper badge, this indicates to you that they have been recognized by MHB staff for giving solid help in a manner consistent with MHB philosophy.</p>
				<p>Mathematics is such a vast and rich field, full of many wonders and beautiful results, and as such we feel it deserves the best possible environment we can provide to our members to explore this incredible wonder and beauty. Few other fields of study has people so passionate to share their knowledge freely with others, for the sheer joy of helping others to experience and appreciate one of the greatest intellectual pursuits known to man.</p>
			</div>
		</div>
		{vb:raw footer}
	</body>
</html>

Ohhh okay, that's not hard.
Reply With Quote
  #19  
Old 03-18-2016, 03:21 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MaxwellMorphine View Post
Nevermind, I found a mod that allows you to create custom pages under a pages navbar link. That's good enough for me. Thanks for the help though.
If you are talking about this mod:

https://vborg.vbsupport.ru/showthread.php?p=1961076

Be sure to do the fix for usergroup permissions or some of your usergroup permissions will not stick.
Reply With Quote
  #20  
Old 03-18-2016, 03:24 AM
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Location: Detroit, MI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How's this? http://urbanvapekartel.com/uvk/About.php

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

Now that I figured this out, I'll use this instead. It's better for me.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:47 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.04176 seconds
  • Memory Usage 2,285KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete