Current time: 07-23-2014, 07:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 6 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add new custom PHP page.
04-13-2012, 08:16 AM
Post: #11
RE: Add new custom PHP page.
nice tutorial its working...
Find all posts by this user
Quote this message in a reply
04-13-2012, 01:37 PM
Post: #12
RE: Add new custom PHP page.
This user has been denied support. This user has been denied support.
You're welcome.

Z5T - Dynamic URL Shortener
My Plugins & Themes
Find all posts by this user
Quote this message in a reply
04-14-2012, 01:32 PM
Post: #13
RE: Add new custom PHP page.
Worked like a charm. This is much better than having..

Code:
/misc.php?action=donate

Thank you.

Visit this user's website Find all posts by this user
Quote this message in a reply
04-14-2012, 05:26 PM (This post was last modified: 04-14-2012 05:27 PM by SmItH197.)
Post: #14
RE: Add new custom PHP page.
you could also add:

PHP Code:
{$nav

To include the navigation panel in your page.
Find all posts by this user
Quote this message in a reply
04-15-2012, 12:52 PM
Post: #15
RE: Add new custom PHP page.
Hello crazy4cs I have a question It is possible if i can add my staff list to my own custom page just by adding the {$grouplist} on the templates.. please help me. thank you!
Find all posts by this user
Quote this message in a reply
04-15-2012, 12:58 PM (This post was last modified: 04-15-2012 01:01 PM by melchor.)
Post: #16
RE: Add new custom PHP page.
how to edit the navigation title??


[Image: mbMT.png]
Find all posts by this user
Quote this message in a reply
04-15-2012, 07:57 PM
Post: #17
RE: Add new custom PHP page.
How i could add a table in page? If i use the html for table is not showing..
Find all posts by this user
Quote this message in a reply
04-15-2012, 10:59 PM
Post: #18
RE: Add new custom PHP page.
This is not a support thread.
If you need support post here:

http://community.mybb.com/forum-127.html

And crazy4cs nice tutorial Smile

Jovan J.
MyBB Support Technician


Visit this user's website Find all posts by this user
Quote this message in a reply
04-16-2012, 03:50 AM
Post: #19
RE: Add new custom PHP page.
This user has been denied support. This user has been denied support.
(04-15-2012 12:52 PM)harlenjoy Wrote:  Hello crazy4cs I have a question It is possible if i can add my staff list to my own custom page just by adding the {$grouplist} on the templates.. please help me. thank you!
That would require complex fetching of queries to select users from STAFF or moderators usergroup. Its more like a plugin or a PHP page with the necessity of the queries.

(04-15-2012 12:58 PM)melchor Wrote:  how to edit the navigation title??
In the PHP file which you saved the given PHP content, there is something like below in it:

PHP Code:
add_breadcrumb("Title here""somename.php"); 

Instead of Title Here, you can enter your own custom title and also don't forget to change somename.php next to the title to yourfilename.php .

(04-15-2012 07:57 PM)Kitikru Wrote:  How i could add a table in page? If i use the html for table is not showing..
HTML table codes should work, you need to test it. Every HTML thing should work in this.

@Jovan, @Alternate; Thank you.

Z5T - Dynamic URL Shortener
My Plugins & Themes
Find all posts by this user
Quote this message in a reply
05-01-2012, 08:16 PM (This post was last modified: 05-01-2012 08:21 PM by Jasonsj10.)
Post: #20
RE: Add new custom PHP page.
(04-16-2012 03:50 AM)crazy4cs Wrote:  <snip>

Hey, How can I make it so the files are in a dif directory? For example: forums/tekkit/index.php.

I edited the index.php
Code:
<?php

define('IN_MYBB', 1); require "./forums/global.php";

add_breadcrumb("Chillax Tekkit", "index.php");

eval("\$html = \"".$templates->get("chillax_tekkit")."\";");

output_page($html);

?>

Then for the template the default. What did I do wrong? When I went to it it did this error:

Code:
Warning: require(./forums/global.php) [function.require]: failed to open stream: No such file or directory in /home/chillaxm/public_html/forums/tekkit/index.php on line 3

Warning: require(./forums/global.php) [function.require]: failed to open stream: No such file or directory in /home/chillaxm/public_html/forums/tekkit/index.php on line 3

Fatal error: require() [function.require]: Failed opening required './forums/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chillaxm/public_html/forums/tekkit/index.php on line 3

If you want to see it for your self go to http://www.chillax-mc.com/forums/tekkit

[Image: chillaxfullbanner.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication