[MODDB] Custom Header Logo 1.2.7 (with bg and custom pages)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Thu May 20, 2010 6:22 am

Hi,

please re-check the changes made in includes/acp/acp_forums.php - if you can't find the error, upload the file to http://pastebin.com/ and post the link.


Regards,
Bálint

Naxion
Registered User
Posts: 2
Joined: Wed May 19, 2010 7:28 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Naxion » Fri May 21, 2010 12:14 pm

Thanks very much Balint! Its working now! The Problem was a edit less in the file... :oops: Thanks for the great mod! :)

andredmau5
Registered User
Posts: 34
Joined: Wed Feb 03, 2010 10:38 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by andredmau5 » Wed Jul 14, 2010 5:09 pm

I love this mod =D, but.. it works only on prosilver?.. 'cause I'm using 'affinity' theme and it doesn't.. just apears the default logo.. I've checked the edit files again.. and these are ok.

Image

Image

the index logo.. didn't change, any idea? :cry:

URL to phpbb3 board: www.fullred.net/foro

Ty :D

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Thu Jul 22, 2010 2:34 pm

Hi,

sorry for the late reply, my vacation ended yesterday...

Your template uses a CSS based approach:

Code: Select all

<a href="{U_INDEX}" id="logo" class="png"></a>
My MOD relies on a bit of code in overall_header.html (in the template directory):

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>

Please replace your code with the code I posted and specify a default image in your ACP (Styles --> Imageset).


Regards,
Bálint

andredmau5
Registered User
Posts: 34
Joined: Wed Feb 03, 2010 10:38 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by andredmau5 » Thu Jul 22, 2010 5:18 pm

Balint wrote:Hi,

sorry for the late reply, my vacation ended yesterday...

Your template uses a CSS based approach:

Code: Select all

<a href="{U_INDEX}" id="logo" class="png"></a>
My MOD relies on a bit of code in overall_header.html (in the template directory):

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>

Please replace your code with the code I posted and specify a default image in your ACP (Styles --> Imageset).


Regards,
Bálint
Done.. right now appears the custom logo, however.. the custom background doesn't, some fix for my template?, cause I'd like a bigger imagen header, so its possible with the custom background
www.fullred.net/foro

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Sun Jul 25, 2010 3:24 pm

Hi,

if you want to change the "styles/affinity/theme/images/style3/header-bg-overlay.png" background which is the background behind the logo, change

Code: Select all

<!-- IF SITE_BG_IMG -->
<style type="text/css">
<!--
.headerbar {background:url("{SITE_BG_IMG}") repeat;}
-->
</style>
<!-- ENDIF -->
to

Code: Select all

<!-- IF SITE_BG_IMG -->
<style type="text/css">
<!--
#header-overlay {background: url("{SITE_BG_IMG}") 50% 0 no-repeat;}
-->
</style>
<!-- ENDIF -->
I hope it works.


Regards,
Bálint

andredmau5
Registered User
Posts: 34
Joined: Wed Feb 03, 2010 10:38 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by andredmau5 » Sun Jul 25, 2010 3:46 pm

Done.. but, the background not appears as i want
http://www.fullred.net/foro/index.php :cry:

http://www.desadaptados.co.cc/ <-- my other site.. and as you see, there is a difference between pictures :(

any idea? :oops: .

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Sun Jul 25, 2010 4:03 pm

Hi,

this is a matter of your style as it restricts the height of the logo and the background (the MOD itself seems to be working). You could try to set the height of the surrounding #header-overlay element. But this is a question for the styles forum.


Regards,
Bálint

andredmau5
Registered User
Posts: 34
Joined: Wed Feb 03, 2010 10:38 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by andredmau5 » Sun Jul 25, 2010 4:19 pm

ok..
thanks for your support :D
sorry for any inconvenience :P
have a nice day!

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Thu Aug 12, 2010 12:31 pm

Hi @all,

I'm currently working on the next version based on the input of the MOD validators. And by working I mean I design the ACP layout in my head :shock: and I am stuck. To elaborate: all actions will take place on one screen (see last screenshot on the first page). It won't be possible to change the directory names the logos and backgrounds reside in and the configuration of logos and backgrounds as seen in the second screenshot will be gone too.
I'll provide a dropdown-list of forums and categories on my custom ACP page in addition to the things that are already implemented. Somehow (that's where I'm stuck) you can then choose between a forum/category that is paired with a logo or another pages paired with a logo. A MOD validator suggested a dropdown of all .php files in the main directory to choose from.

If you use this MOD any suggestions etc. are welcome at this point since I am in the planning phase of the next version!


Regards,
Bálint

ottolapsi
Registered User
Posts: 156
Joined: Thu Mar 25, 2010 11:23 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by ottolapsi » Thu Sep 16, 2010 12:14 am

I have installed this mod succesfully and it was working fine as I was testing it. I then made 10 custom logos which I was choosing trough the options created by this mod. At this point everything was fine. I then cleared my cache and suddenly all the custom logos were lost. All these logos were working fine until I cleared my cache.

All the forums which I didn't assign custom logo are showing the default logo, but all the forums which I assigned logo are not showing anything. No image of any kind. When I go to the ACP and try to set another image it says "no custom logo" in the drop down menu and nothing else.

Please help!

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Thu Sep 16, 2010 6:09 am

Hi,

if the MOD says that there's no custom logo, the designated directory images/logos is empty or this variable is not set. Please also check if "images/logos" is still set in your server configuration (where the other image-paths are set).


Regards,
Bálint

ottolapsi
Registered User
Posts: 156
Joined: Thu Mar 25, 2010 11:23 pm

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by ottolapsi » Thu Sep 16, 2010 9:03 am

Thank you for your reply. There was a typo in the "logo" folder I created, so when I hit clear cache, all the images were lost. Now with the logo & backgrounds -folders correctly named everything is working fine! Thank you so much for your help + the mod itself!

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Mess » Thu Sep 16, 2010 10:09 am

Hi Balint,

Is there a way to make you're mod default to my settings in color.css if no image is selected?

Code: Select all

background-image: url("{T_THEME_PATH}/images/headers/rotate.php");
I tried installing you're mod along side my rotating header images, but the rotate.php script is overriding you're mod.

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [RC] Custom Header Logo 1.2.5 (backgrounds and custom pa

Post by Balint » Sat Sep 18, 2010 4:57 pm

Hi,

sorry for the late replay, again I did not get any notification from phpbb.com.

So basically if you define a custom background image for a forum you don't want to have the random image MOD overwriting it?

It should not happen since the instructions in overall_header.html are defined after the other css-includes. I assume you inserted my code right before "</head>" in the mentioned file?


Regards,
Bálint

Locked

Return to “[3.0.x] MODs in Development”