How to make a global 'Forum hosted by...' - NBS






 

 

How to make a global 'Forum hosted by...' - NBS

View Full Version : How to make a global 'Forum hosted by...'


agent_smith
02-Jun-2007, 03:29 PM
Hello,

Are you fed up of editing each template's footer to say 'This forum is hosting by.... blah blah'?

Then i just thought of something which only requires a few mins to do, and does it on all skins and all boards :)


OPEN:
/includes/page_tail.php

FIND:
print file_get_contents('./nbs/footer_ads.txt');

UNDER ADD:
print file_get_contents('./nbs/linkbar.txt');

Save and close.



Then make a basic footer in note / word pad. I did:


This forum is hosted by EasyForumz.com! Get your own free phpBB forum now!
This forum is located on server #1 Save it as linkbar.txt (should automatically have .txt extension).

Upload it to:

/nbs/

Finished!

Then just edit that linkbar.txt when ever you want a global change of the footer. It also goes the same colour as the skin.

Matt.

juster
16-Jun-2007, 12:30 PM
Used it and it is a nice extra, thanks for this!


Maybe handy extra for others:

This is for in your linkbar.txt
This code is a 2 liner. First line to link to your signup page, second your hostedby line, bith with a link to them and centered. Nothing special, but just a handy extra...

<center>Get your own board for free <a href="http://www.yoururltothenewboardphp>HERE</a> <br>
This board is hosted by <a href="http://www.yourdomain">YourName</a></center>">http://www.yourdomain">YourName</a></center>

My 2 cents to a nice mod!

Mecca
17-Jun-2007, 08:24 PM
Used it and it is a nice extra, thanks for this!


Maybe handy extra for others:

This is for in your linkbar.txt
This code is a 2 liner. First line to link to your signup page, second your hostedby line, bith with a link to them and centered. Nothing special, but just a handy extra...

<center>Get your own board for free <a href="http://www.yoururltothenewboardphp>HERE</a (http://www.yoururltothenewboardphp%3EHERE%3C/a)> <br>
This board is hosted by <a href="<A href="http://www.yourdomain">YourName</a></center>">http://www.yourdomain">YourName</a></center>My 2 cents to a nice mod!



tried it and it doesnt look right heres mines
<center>Get your own board for free<a href="http://your new board sign up link">HERE</a>This board is hosted by <a href="http://www.you domain name ">your name</a></center>

agent_smith
17-Jun-2007, 08:49 PM
tried it and it doesnt look right heres mines
<center>Get your own board for free<a href="http://your new board sign up link">HERE</a>This board is hosted by <a href="http://www.you domain name ">your name</a></center>

How 'doesnt' it look right? Out of intrest :nudge:

Mecca
17-Jun-2007, 09:46 PM
How 'doesnt' it look right? Out of intrest :nudge:
thats how his looks
http://demencia-musical.com/imagehost/files/demencia/hzhjizivjy2y1dznfyzn.jpg

and mines
http://demencia-musical.com/imagehost/files/demencia/gyynkynhy2qo02dtzmin.jpg

juster
18-Jun-2007, 10:51 AM
Was a extra > in my code, is gone now and works normaly again...

swinkamorskakop
21-Jun-2007, 08:16 PM
this isn't a mod. Create a admin file with this file then you can call this Mod

Zachary8222
03-Apr-2008, 07:34 PM
Actually it is a mod, a very small and simple one :p But it is a mod, and maybe he will make it for the acp, but just take a chill pill man :p