Thread Rating:
  • 8 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add new custom PHP page.
#11
nice tutorial its working...
Reply
#12
This user has been denied support. This user has been denied support.
You're welcome.
Reply
#13
Worked like a charm. This is much better than having..

Code:
/misc.php?action=donate

Thank you.
Reply
#14
you could also add:

PHP Code:
{$nav

To include the navigation panel in your page.
Reply
#15
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!
Reply
#16
how to edit the navigation title??


[Image: mbMT.png]
Reply
#17
How i could add a table in page? If i use the html for table is not showing..
Reply
#18
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 Software Developer
Reply
#19
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.
Reply
#20
(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]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)