MyBB Central

Full Version: How Do I Go About Doing This?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys,

I was wanting to make a donate button on the top of my site. I was wondering how I would go about doing that. If someone could explain thoroughly I would greatly appreciate it.

Here is where I would want it:
[Image: 8bb85509.png]

Thanks,
Shark
Please update your post with this image like this:

Code:
[img]http://speedcap.net/img/b4bdef59ead52c663e14988c4c8d2b0e/8bb85509/8bb85509.png[/img]

The IMG tags only work on direct links.

Anyway, it depends what kind of donate button you want.
(Oct 29, 2011, 01:19 AM)F4T4L 3RR0R Wrote: [ -> ]Please update your post with this image like this:

Code:
[img]http://speedcap.net/img/b4bdef59ead52c663e14988c4c8d2b0e/8bb85509/8bb85509.png[/img]

The IMG tags only work on direct links.

Anyway, it depends what kind of donate button you want.

Well I want to make a button at the top that redirects to a donate.php or something like that.
First, you'll need donate.php.

Then, open up the header template.

Then, right where you see this:

Code:
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>

ADD UNDER IT:

Code:
<li><a href="{$mybb->settings['bburl']}/donate.php"><img src="PATH TO THE IMAGE THAT GOES NEXT TO THE BUTTON" />Donate!</a></li>

Make sure to review the above HTML, and change the img src path, and the text which currently says "Donate!"

Hope this helps.
Thank you for this. I shall get everything setup and try this. Much appreciated.
No problem.

Let me know if it 1. is what you want 2. if you need help.

Smile