A custom site? You mean in the template for this page? You can use {vb:raw bbuserinfo.username} in a template.
|
Yes, this was exactly it. Very easy ;-). Thanks a lot!
|
My forum is forum.com. However, I want to make a page at forum.com/pages/default.php
How do I go about doing this? I tried a couple of changes but no success. |
Quote:
All my pages are in a folder called pages so here is one of mine as an example. It is a page called "About This Site" and what you need to be aware of is the line that starts with "chdir" as this is where you will need to insert your site details so it changes the directory to where your forums are. Code:
<?php |
Thank you so much!! I will work on this now. I really appreciate it.
--------------- Added [DATE]1287381349[/DATE] at [TIME]1287381349[/TIME] --------------- My forums are located at forums.com however, I want the pages to be in forums.com/pages/ - however, when I change the location to home/ACCOUNT/public_html/pages it doesn't work. I get this error: Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ACCOUNT/public_html/PAGES/mypage.php When I install on the forum root, however, without any modifications it works like a charm. How can I get it to work in this directory? --------------- Added [DATE]1287381571[/DATE] at [TIME]1287381571[/TIME] --------------- Nevermind, I got it to work. Thank you! |
Hi, can I use $_GET from the test.php ?
|
Of course. You can use any php code. But you should use the vB input cleaning mechanisms: https://vborg.vbsupport.ru/showthread.php?t=119372
|
I've got a custom page that shows a search form, it then posts the result back to the same page. This works well if nobody is logged in.
If logged in you get the error: Quote:
|
You forgot to put the securitytoken into the form. Do a Search in Templates to find it used in other forms and use that code.
|
I've coded the form within the php page, not the template. Should the form be coded within the template page instead?
|
All times are GMT. The time now is 08:08 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|