Login Register






Making an upgrade page. No plug in filter_list
Author
Message
Making an upgrade page. No plug in #1
Create a php file and name it "upgrade"

PHP Code:
<?php define('IN_MYBB', 1); require "./global.php"; add_breadcrumb("Upgrade", "upgrade.php"); eval("\$html = \"".$templates->get("upgrade")."\";"); output_page($html); ?>

Now go to ACP > Themes & templates > Templates > Global Templates > Add template.

You will need to write your own content.

Code:
<html> <head> <title>Upgrade</title> {$headerinclude} </head> <body> {$header} <table border="0" cellspacing="1" cellpadding="4" class="tborder"> <tr> <td class="thead"><span class="smalltext"><strong>Upgrade</strong></span></td> </tr> <tr> <td class="trow1"> Add here your custom messages. </td></tr></table> {$footer} </body> </html>

You can edit that however you wish. But make sure you call the template "upgrade" since the php file is called that as well.

If you have any questions, feel free to hit me up.
[Image: 7yW1UHU.jpg]

Reply

RE: Making an upgrade page. No plug in #2
I always wondered how people did this. Copying this down for future reference.
Owner of Gamers
Gamers Tournament Site (Click Here)
[Image: C0onMLw.gif]
66

Reply

RE: Making an upgrade page. No plug in #3
How do you get the paypal button that goes to your paypal?

Reply

RE: Making an upgrade page. No plug in #4
(02-20-2013, 01:06 AM)Magic Wrote: How do you get the paypal button that goes to your paypal?

PayPal actually does that. There's different types:

https://www.paypal.com/pdn-item
https://www.paypal.com/cgi-bin/webscr?cm...ro-outside

Google PayPal buttons or search PayPal help docs. You should find some more answers. Smile

Reply

RE: Making an upgrade page. No plug in #5
(02-20-2013, 01:06 AM)Magic Wrote: How do you get the paypal button that goes to your paypal?

Create the button at Paypal under the merchant tab, put the code provided after you make it and place it where you want it, in the template.
[Image: 7yW1UHU.jpg]

Reply

RE: Making an upgrade page. No plug in #6
Very nice tutorial, thanks Chris.

Wouldn't it be a lot easier to just use the donate/upgrade plugin and just edit it from there for most people though? Has the same result and is just as easy if not easier imo.

Reply

RE: Making an upgrade page. No plug in #7
(02-20-2013, 01:12 AM)MxRE Wrote: Very nice tutorial, thanks Chris.

Wouldn't it be a lot easier to just use the donate/upgrade plugin and just edit it from there for most people though? Has the same result and is just as easy if not easier imo.

Limit the use of plug ins. More plug ins you have, the more vulnerabilities you create.
[Image: 7yW1UHU.jpg]

Reply

RE: Making an upgrade page. No plug in #8
That shit isn't for me, lol.
I could never learn to code in HTML or any of that robot language lol.
[Image: CvNwqjo.png]

Reply

RE: Making an upgrade page. No plug in #9
(02-20-2013, 03:30 AM)Glock Wrote: That shit isn't for me, lol.
I could never learn to code in HTML or any of that robot language lol.

HTML is just like BBcode, but with <> instead of [] lulz. Silly Glock.
Here to help! - Need anything, pm me.
I can also make graphics for anyone, pm me.
Call me Uncle Spire.

Reply

RE: Making an upgrade page. No plug in #10
(02-21-2013, 01:57 AM)Beaker Wrote: I still have no idea what this is for XD

To make a page that looks like this: http://www.creativegaming.net/upgrade.php

Reply