Hello every body!
I want to add some pages to main navigation menu in my forum. Today I tried all the different methods, prescribed by various members, whole day but none of them worked for me. Please help me. Visit my forum through the following link. All I want is to add some pages next to calendar and help documents.
Link to the forum is
http://www.iiustudents.com
Please don't mind but I am not coding expert so please keep your answer as simple as possible. Hope someone would response and will help me.
Thanks
Go to the header template > Header
And you'll see your all your navs there and they'll start with <li> end with </li>
If you would like to add something just do this.. for example
<li><a href="websiteurl.com" style="color: #fff"><span> Example</span></a></li>
If you're trying to add dropdown menus here's a tutorial and I've followed this tutorial and made many dropdown but of course you'll have to play around with the .css
https://community.mybb.com/thread-82696.html
(2017-10-13, 02:32 PM)Dead-i Wrote: [ -> ]Go to the header template > Header
And you'll see your all your navs there and they'll start with <li> end with </li>
If you would like to add something just do this.. for example
<li><a href="websiteurl.com" style="color: #fff"><span> Example</span></a></li>
If you're trying to add dropdown menus here's a tutorial and I've followed this tutorial and made many dropdown but of course you'll have to play around with the .css
https://community.mybb.com/thread-82696.html
Thank you so much. Its working. The title of page appears there but can you please guide me how to add a proper page with some rules or like an ''About US'' page? I means a page that contain instructions and that can be readable by the visitors. I hope you have my point.
Thanks in advance
(2017-10-14, 02:05 AM)ataulhaq Wrote: [ -> ] (2017-10-13, 02:32 PM)Dead-i Wrote: [ -> ]Go to the header template > Header
And you'll see your all your navs there and they'll start with <li> end with </li>
If you would like to add something just do this.. for example
<li><a href="websiteurl.com" style="color: #fff"><span> Example</span></a></li>
If you're trying to add dropdown menus here's a tutorial and I've followed this tutorial and made many dropdown but of course you'll have to play around with the .css
https://community.mybb.com/thread-82696.html
Thank you so much. Its working. The title of page appears there but can you please guide me how to add a proper page with some rules or like an ''About US'' page? I means a page that contain instructions and that can be readable by the visitors. I hope you have my point.
Thanks in advance
You can create custom pages with a plugin see :
https://community.mybb.com/mods.php?action=view&pid=486
(2017-10-14, 02:46 AM)Brian. Wrote: [ -> ] (2017-10-14, 02:05 AM)ataulhaq Wrote: [ -> ] (2017-10-13, 02:32 PM)Dead-i Wrote: [ -> ]Go to the header template > Header
And you'll see your all your navs there and they'll start with <li> end with </li>
If you would like to add something just do this.. for example
<li><a href="websiteurl.com" style="color: #fff"><span> Example</span></a></li>
If you're trying to add dropdown menus here's a tutorial and I've followed this tutorial and made many dropdown but of course you'll have to play around with the .css
https://community.mybb.com/thread-82696.html
Thank you so much. Its working. The title of page appears there but can you please guide me how to add a proper page with some rules or like an ''About US'' page? I means a page that contain instructions and that can be readable by the visitors. I hope you have my point.
Thanks in advance
You can create custom pages with a plugin see : https://community.mybb.com/mods.php?action=view&pid=486
Sorry but can you guide me with the use of this plugin. I have knowledge coding etc.
In the option of adding new page ''what name should I give to the page in option of Name?'' What is uri parameter? and how to enter it in the URI Parameter option? Should I set ''Use MyBB Template'' option to YES? and the other options. All these options you can see below.
I hope you will guide me.
Thanks in advance
(2017-10-14, 10:54 AM)sarisisop Wrote: [ -> ]You can easily make your own pages using this method: https://community.mybb.com/thread-116225.html
I am a little confused here. In the above thread, he has not mentioned what to do with php file that was created in the start. I means ''He did not mention where to put somepage.php file''? Can you guide me here please?.
Thanks in advance
Let me explain.
- The
name box is what you want to call the page
i.e Test Page Name
- The
URI parmeter box is like
http://site.com/misc.php?page=xxxx the "xxxx" part is what you enter in the URI parmeter box. Like if you want your page to be a about page you can enter “about” in the box and the URL would be
http://site.com/misc.php?page=about.
- The
page content box is what you would want to display on the page.
- If you
use the MyBB template option it will display your site’s header and footer etc... so I
recommend you use it.
I hope I helped you.
EDIT: I see your using MyBB 1.6 I also recommend you upgrade to MyBB 1.8.
(2017-10-15, 12:13 AM)Brian. Wrote: [ -> ]Let me explain.
- The name box is what you want to call the page i.e Test Page Name
- The URI parmeter box is like http://site.com/misc.php?page=xxxx the "xxxx" part is what you enter in the URI parmeter box. Like if you want your page to be a about page you can enter “about” in the box and the URL would be http://site.com/misc.php?page=about.
- The page content box is what you would want to display on the page.
- If you use the MyBB template option it will display your site’s header and footer etc... so I recommend you use it.
I hope I helped you.
EDIT: I see your using MyBB 1.6 I also recommend you upgrade to MyBB 1.8.
Thank You Brian
You almost solved the problem but there is a little issue.
I created a page according to your instructions but it did not appear on navigation menu so I tried to add the page url in the template header in the following coding form
<li><a href="http://iiustudents.com/misc.php?page=aboutforum" style="color: #fff"><span> About Forum</span></a></li>
But when I click on save option, it shows 404 error and says you have no permission.
What should I do?
The page seems to be loading / working for me. To add it to the navigation menu go to
Admin CP ->
Templates & Styles ->
Templates ->
* Your Theme * ->
Header Templates ->
header
Then add
<li><a href="{$mybb->settings['bburl']}/misc.php?page=aboutforum" style="color: #fff"><span> About Forum</span></a></li>
If this doesn’t work please let me know. Also can you provide a screenshot?
(2017-10-15, 01:48 AM)Brian. Wrote: [ -> ]The page seems to be loading / working for me. To add it to the navigation menu go to
Admin CP -> Templates & Styles -> Templates -> * Your Theme * -> Header Templates -> header
Then add
<li><a href="{$mybb->settings['bburl']}/misc.php?page=aboutforum" style="color: #fff"><span> About Forum</span></a></li>
If this doesn’t work please let me know. Also can you provide a screenshot?
Still it shows this problem
''You don't have permission to access /xxxx/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request''.