Help add a logo and link to main web page at head of forum

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
villain fan
Registered User
Posts: 27
Joined: Sat Jul 21, 2007 7:25 pm

Help add a logo and link to main web page at head of forum

Post by villain fan » Mon Jun 23, 2008 12:31 am

I just converted from phpBB2 to phpBB3 and on my old board I used to have the logo for my web site embedded with a link back to the main page of my site to make it easier for people to navigate away from the forum back to the site.
Can someone help me figure out how to do this with phpBB3. I actually forgot how I did it with the older version. If you need to see the forum it is as www.allaboutthemouse.com/phpBB3.
Thank you

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69425
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by KevC » Mon Jun 23, 2008 7:29 am

Make your new logo file and save it as a gif, jpg or png file.

Upload it to your forum/styles/stylename/imagesets folder

Open
imageset/imageset.cfg

Find

Code: Select all

img_site_logo = site_logo.gif*52*139
and edit the logo name and dimensions accordingly.

Admin panel>styles>imagesets>refresh
Then hold shift and refresh your forum index.

Alternatively,
In the administration control panel select the styles tab
Then the imagesets option in the left menu
Now click edit next to the style you want to change.
Now you're ready to add your new logo image.
From the top dropdown box choose Main Logo and select
From the bottom dropdown box choose your logo file name
Enter the dimensions in the boxes provided and submit.
Now if you refresh your index page you'll see your new logo in place.



----------------------------

Changing the logo link

Open the forum/styles/stylename/template/overall_header.html file in a plain text editor such as notepad or wordpad.

FIND

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
REPLACE
{U_INDEX} with http://www.whatever.com

eg

Code: Select all

<a href="http://www.google.com" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Upload the changed file back to the server.

You need to refresh the cache next
Admin panel>styles>template>refresh

Then hold shift and refresh your browser.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

villain fan
Registered User
Posts: 27
Joined: Sat Jul 21, 2007 7:25 pm

Re: Help add a logo and link to main web page at head of forum

Post by villain fan » Mon Jun 23, 2008 2:47 pm

Thanks so much! You rock!

Now one more quick question...As I mentioned I upgraded from phpBB2 up to phpBB3. I notice there is a search box in the upper right hand corner but it doesn't seem to be finding anything that I type in. I seem to remember the installation instructions saying that you have to change something in the settings or the code or something before that would work but I don't remember. And now I can't find the instructions on what to do. Does anyone know how to get the search box working?

Thanks again for all your help!

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69425
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by KevC » Mon Jun 23, 2008 3:09 pm

Sounds like you didn't rebuild the search tables.

Look in the admin panel>maintenance>search index

Remake the native index. Depending on the size of your board it might take a very long time but you can resume it if it times out.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

villain fan
Registered User
Posts: 27
Joined: Sat Jul 21, 2007 7:25 pm

Re: Help add a logo and link to main web page at head of forum

Post by villain fan » Tue Jun 24, 2008 4:17 am

Thanks so much again! Everything seems to be working great now.

joewebhog
Registered User
Posts: 1
Joined: Tue Apr 14, 2009 8:10 pm

Re: Help add a logo and link to main web page at head of forum

Post by joewebhog » Tue Apr 14, 2009 8:15 pm

Hi Guys!

I am puzzled why I can't seem to change the overall_header.html file. I am pretty hip on coding html but can't seem to get the linkback to the main page of the site to work right. PLEASE ADVISE. :)

If you look at the forum page http://pokertipsfrompros.com/forum, you can see that I have changed the {U_INDEX} to http://pokertipsfrompros.com but it still doesn't work. I changed the image no problem, but the link continues to go to the forum index page.

Take a look and let me know what I am doing wrong PLEASE!

Thanks a bunch!

User avatar
Greenweaver
Former Team Member
Posts: 3913
Joined: Tue Jan 10, 2006 5:25 am
Location: In the rain
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by Greenweaver » Wed Apr 15, 2009 12:07 am

Do not open multiple topics asking the same question.

Please ensure that the following is done:

Log in to the ACP and choose "load settings" from the left side menu, it is under the heading of "Server Configuration". Scroll down until you see "Recompile stale style components:" ensure this is set to "yes" and "submit" the change.

Also refresh the "template" of the style you are using by choosing the "Styles" tab from the main navigation, choose "Templates" from the left side menu and then "Refresh" the style you are modifying.
Image
Modage: Page Title Number MOD
Linkage: Find me at Styles Support & Discussion | Get a new style | Customise your style | phpBB userguide
Noteage:
Graphics requests to members over 20 posts and genuine phpbb requirements | I do not provide custom psd files

User avatar
azhar_21
Registered User
Posts: 69
Joined: Fri Sep 04, 2009 2:15 pm
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by azhar_21 » Mon Oct 05, 2009 1:50 pm

Kevin Clark wrote:Make your new logo file and save it as a gif, jpg or png file.

Upload it to your forum/styles/stylename/imagesets folder

Open
imageset/imageset.cfg

Find

Code: Select all

img_site_logo = site_logo.gif*52*139
and edit the logo name and dimensions accordingly.

Admin panel>styles>imagesets>refresh
Then hold shift and refresh your forum index.

Alternatively,
In the administration control panel select the styles tab
Then the imagesets option in the left menu
Now click edit next to the style you want to change.
Now you're ready to add your new logo image.
From the top dropdown box choose Main Logo and select
From the bottom dropdown box choose your logo file name
Enter the dimensions in the boxes provided and submit.
Now if you refresh your index page you'll see your new logo in place.



----------------------------

Changing the logo link

Open the forum/styles/stylename/template/overall_header.html file in a plain text editor such as notepad or wordpad.

FIND

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
REPLACE
{U_INDEX} with http://www.whatever.com

eg

Code: Select all

<a href="http://www.google.com" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Upload the changed file back to the server.

You need to refresh the cache next
Admin panel>styles>template>refresh

Then hold shift and refresh your browser.
Even after doing this, i am not able to see my forum logo :(

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Help add a logo and link to main web page at head of forum

Post by prototech » Mon Oct 05, 2009 9:44 pm

Post a link to your board, please.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

User avatar
azhar_21
Registered User
Posts: 69
Joined: Fri Sep 04, 2009 2:15 pm
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by azhar_21 » Tue Oct 06, 2009 8:47 am

prototech wrote:Post a link to your board, please.
http://www.freeadspostingforum.com

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69425
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by KevC » Tue Oct 06, 2009 8:49 am

I can see this logo

http://www.freeadspostingforum.com/styl ... e_logo.gif

Is it supposed to be something else?
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
azhar_21
Registered User
Posts: 69
Joined: Fri Sep 04, 2009 2:15 pm
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by azhar_21 » Tue Oct 06, 2009 8:59 am

Kevin Clark wrote:I can see this logo

http://www.freeadspostingforum.com/styl ... e_logo.gif

Is it supposed to be something else?
ya this one only, now its coming but it is not in its correct place. I want that logo to be at top....

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Help add a logo and link to main web page at head of forum

Post by prototech » Tue Oct 06, 2009 2:23 pm

Do you want to move the sitename and description up with it, or simply the logo?
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

User avatar
azhar_21
Registered User
Posts: 69
Joined: Fri Sep 04, 2009 2:15 pm
Contact:

Re: Help add a logo and link to main web page at head of forum

Post by azhar_21 » Tue Oct 06, 2009 6:56 pm

prototech wrote:Do you want to move the sitename and description up with it, or simply the logo?
only with logo..

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Help add a logo and link to main web page at head of forum

Post by prototech » Tue Oct 06, 2009 9:04 pm

In common.css, find:

Code: Select all

#logo {
	float: left;
	width: auto;
	padding: 10px 13px 0 10px;
}
Change to:

Code: Select all

#logo {
	float: left;
	width: auto;
	padding: 10px 13px 0 10px;
	margin-top: -45px;
}
Refresh your theme - ACP => Styles => Themes.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

Locked

Return to “[3.0.x] Styles Support & Discussion”