How To Insert An Image Or Link

windows

Guest
I am totally over my head with php, I am not a programmer of any sort, but managed to setup a phpbb via the Cpanel. Now what I would like to do is replace their logo with a link logo back to my site. I have no idea where to do this.... can anyone help?<img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />TIA,<br />Dabs<!--content-->
No php required. Right click on the current logo and note the name and location. The default is logo_phpBB.gif in the /templates/subSilver/images subdirectory off of your main forum directory. Upload a new graphic with that name (I renamed the old one so I could go back if needed). It will by default link back to the main board page. Not sure how to link back to your main website.<!--content-->
Thanks Rick... I did that and got my logo up! Now... if I can find out how to put a clickable link up there or change the link on the logo to go back to the homepage for that website, I would be in great shape!:D <br /><br />This is the BB: <a href="http://www.desertduckflyers.com/forums/" target="_blank">http://www.desertduckflyers.com/forums/</a><br /><br /><br />Also... I noticed that Invision Power Board has a calendar feature which I need on another website... does PHPBB have it by chance? I have not noticed it, but I could have overlooked it easily enough. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /><!--content-->
TO change the link, find the HTML code that looks like this:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"http://www.desertduckflyers.com/forums/index.php"><img src="templates/subSilver/images/logo_phpBB.gif" /></a><!--c2--></div><!--ec2--><br /><br />and change the URL text string right next to "href" in the begginning of the line.<br />It's plain HTML, you should learn it <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><br /><br />NOTE: I'm almost falling asleep so my explanations might not be very clear. Let me know if this is the case and I'll try to make it clear.<br /><br />As for the calendar, I believe that phpBB does have a calendar add-on. Go to phpbb.com and look for it. Also try searching google for "phpbb calendar" or "phpbb mod".<!--content-->
Check out <a href="http://www.totalchoicehosting.com/forums/index.php?act=ST&f=37&t=836&hl=calendar" target="_blank">this topic</a> for info on a calendar mod for phpBB.<br /><br />I did a search on the phpBB support forum and found the answer to changing the link on the logo. The borfast is right as to the code change needed. The problem I had was trying to find which file contained the code. From the phpBB forum I found that it is in a file in the /templates/subsilver directory called overall_header.tpl. It is an HTML file. You can go to the file manager in cPanel and edit it. Go down near the bottom of the file (it was line 231 in my html editor) and you will find the code that says:<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--><td><a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Change the "{U-INDEX}" to "http://www.******" to set the link. You can also change the logo_phpBB.gif filename to whatever file you want to use for a logo. I tested it on my site and it worked fine. Note that if you use a different theme than subsilver you will have to find the file in that directory.<!--content-->
I can stumble through HTML code so I would reconize this if I see it, but where do I look for this? I go to the file manager and then... where?... and what file am I looking for... a index.php file? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> <br /><br />I'll look up the info on the calendar... thanks! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
OK, so I was really sleepy last night and my explanation was worthless... <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tongue.gif" /><br /><br />Here's a (hopefully) better one (although Rickvz already posted it too):<br /><br />phpBB's templates are separated for each of the webpages' sections. You have a general template for the header, a general template for the footer and several templates for the body depending on which page you're browsing.<br /><br />So if you're looking at the forums index.php page, it will load the "overall_header.tpl", "index_body.tpl" and "overall_footer.tpl" templates. If you go to another page, it will load the corresponding "*_body.tpl" template and so on.<br /><br />These *.tpl files are stored in a directory named "templates" in the root of your phpBB installation. Inside that directory you'll find one other directory, named "subSilver". This is the directory for the "subSilver" theme. If you install other themes, you'll have to create the corresponding directories here.<br />But for now, go inside the "subSilver" directory and take a look. You have all the template files there <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />The one you're looking for is "overall_header.tpl".<br />Inside, after scrolling down a little (or perhaps it's easier if you use the find command from your editor), you'll find the following code:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><td><a href=http://www.totalchoicehosting.com/forums/lofiversion/index.php/"{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td><!--c2--></div><!--ec2--><br />You want to change the <b>{U_INDEX}</b> to the URL of your website (keep the "" around it).<br />You'll probably also want to change the <b>{L_INDEX}</b> to some other text - this is the text that will popup if you hold the mouse cursor for a couple of seconds over the logo.<br /><br />There. I hope this helps you out. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Rickvz. I saw that your in Greenville SC.. Me too.. What a small world we live in. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
Just a deeper explanation of borfast's post <br /><br /><a href="http://www.phpbb.com/phpBB/viewtopic.php?t=10764" target="_blank">http://www.phpbb.com/phpBB/viewtopic.php?t=10764</a><br /><br />I just (3weeks ago) added the calendar and it wasn't tough, I would say to do the logo link first, it's a good primer, then take on the calendar.<br /><br /><a href="http://www.phpbbhacks.com/viewhack.php?id=152" target="_blank">http://www.phpbbhacks.com/viewhack.php?id=152</a><br /><br />good luck!<br /><br />Mr. Bill<!--content-->
Hi,<br /><br />Just one bit of advice, back it up before you start modding it incase it all goes wrong!<br /><br />Jim<!--content-->
WOW! <br /><br />This forum is terrific. I have the exact same issue and with a little search, found the answer to my question right here. <br /><br />TCH is providing a lot of value through this board. Put me down as a reference!<br /><br />Jerry<!--content-->
 
Top