[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
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 »

I tried uninstalling this mod and went trough the installationg instructions backwards. Only thing left is the tab in ACP, how can I delete that?

Thank you.
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 »

Hi,

navigate to the "SYSTEM" tab in your ACP. Choose "Administration Control Panel" from the "Module Management" section. You should find the tab you want to remove there.


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 »

Hi and thanks. How can I delete the mysql entries as they are giving me errors when trying to add forums?

General Error
SQL ERROR [ mysqli ]

Field 'forum_logo' doesn't have a default value [1364]

SQL

INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, display_on_index, forum_topics_per_page, enable_indexing, enable_icons, enable_prune, prune_days, prune_viewed, prune_freq, forum_options, forum_flags, left_id, right_id) VALUES (55, 1, 0, '', 'testi', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 1, 0, 0, 7, 7, 1, 0, 48, '96', 97)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_forums.php
LINE: 1021
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_forums.php
LINE: 186
CALL: acp_forums->update_forum_data()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_forums->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Kustomize
Registered User
Posts: 13
Joined: Mon Feb 07, 2011 10:39 pm

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

Post by Kustomize »

I'm using subsilver2 (3.0.8)

When I change the logo in the forums, it is not at the center:
Image
The red box is the logo. As you can see it isn't in the center.

How can I fix it??
HappyWarrior
Registered User
Posts: 53
Joined: Sat Feb 12, 2011 3:07 am
Location: Noway, Akershus
Name: Eivind Grimstad

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

Post by HappyWarrior »

oh gezzus! this is exactly what i've been looking for! 2 questions...

does it work for SimpleCorp & does it work for version 3.0.8?
sloper
Registered User
Posts: 59
Joined: Wed Mar 09, 2011 12:33 pm
Location: White Church City - Serbia
Name: Boba Perišić

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

Post by sloper »

I installed the mod "Custom Image Header" 1.2.5 from author Balint and I have a problem because the style Lucid Lime is working good and change picture corectly , but when I switch on the Absolution style, not to change the image.

I tested and play, when I transfer file "overall_header.html" from Lucid Lime to Absolution, it works and change images with no problem, but of course this is not a solution because after that board mixed colors, and deforms column and rows.

Something missing in Absolution "overall_header.htm" file but I do not know what?
rabufo
Registered User
Posts: 3
Joined: Sat Apr 16, 2011 3:09 pm

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

Post by rabufo »

Hello,
please let me know, can I obtain in prosilver template a different background image for any category's header with this mod, like in the image below?

Image

In the affirmative, did anyone test it in phpBB 3.0.8?

Thank you
AN7G7EL7
Registered User
Posts: 1
Joined: Tue May 03, 2011 1:02 pm

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

Post by AN7G7EL7 »

It is necessary what here to write?
Page name:
Enter the name of the page without ending (e.g. "search")

Path to the page:
Enter the path to the script - e.g. "gallery" (optional)

Page Query:
Enter the query after the script name - e.g. "mode=leaders" or "*" to display entry regardless of a query string (optional)
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

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

Post by femu »

Hi Balint,

is there a way to sort the image list alphabetical in the ACP? So the part, which starts with "No custom logo" .. As I have a bunch of header images, it's a little pain to the search the right logo ;-)

Thanks!
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
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 »

Hi guys,

again, no mail from phpbb.com regarding any replies in this thread. I hope I can help at least some of you with your problems.

@femu: my MOD uses the same function phpBB does while iterating through a directory. The phpBB function does not implement any sorting, I will provide a fix for that shortly.

@AN7G7EL7: if I understand your question correctly you are asking if custom entries are mandatory? No, if you just want to use the MOD for your forums you can disregard the custom pages part.

@rafurbo: no, this MOD is for header images only, but there is another MOD for your purpose, I hope you found it in the meantime.

@sloper: as stated earlier in this thread prosilver is the only supported theme - you have to take a close look at the overall_header.html of your theme and find out where and in which way the header image is generated. Sometimes the image is even defined as background image.

@HappyWarrior: It does work for 3.0.8, as for the theme: it depends on how the header image is defined (see answer above).

@Kustomize: you have to edit subsilver2's stylesheet.css - look for the "logodesc" definition and change

Code: Select all

	padding: 0 25px 15px 25px;
to

Code: Select all

	padding: 0 0 15px 0;
@ottolapsi: I really hope you figured it out on your own: you have to undo all file changes in the acp_forum.php.


Regards,
Bálint
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 »

femu wrote:is there a way to sort the image list alphabetical in the ACP? So the part, which starts with "No custom logo" .. As I have a bunch of header images, it's a little pain to the search the right logo ;-)
Hi again,

I was blind not seeing the problem. The fix is very easy, though.

1. Open includes/acp/acp_header_images.php
FIND:

Code: Select all

		foreach ($imglist as $path => $img_ary)
		{
add after

Code: Select all

sort($img_ary);
then FIND:

Code: Select all

		foreach ($imglist_bg as $path => $img_ary)
		{
add after

Code: Select all

sort($img_ary);

2. Open includes/acp/acp_forums.php
:arrow: do the same changes as above in this file too :-)


This fix will be implemented in the upcoming version.


Regards,
Bálint
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.6 (logos, bg and custom page

Post by Balint »

MOD updated to version 1.2.6 - see first page for changes and download. Updating is possible, but not automated. Reply here for instructions.
tekknodevil
Registered User
Posts: 69
Joined: Mon Feb 08, 2010 6:53 pm
Location: Dresden, Germany
Contact:

Re: [RC] Custom Header Logo 1.2.6 (logos, bg and custom page

Post by tekknodevil »

Balint wrote:MOD updated to version 1.2.6 - see first page for changes and download. Updating is possible, but not automated. Reply here for instructions.
I´m very interested in your update instructions. At the moment i use mod version 1.2.5 ...

Thanks
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.6 (logos, bg and custom page

Post by Balint »

tekknodevil wrote:I´m very interested in your update instructions. At the moment i use mod version 1.2.5
I knew I should not have offered an update :D erm... I'm working on it (file changes are done, but I have to teach UMIL how to extract and insert values from one table to another :shock: ).


Regards,
Bálint
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

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

Post by femu »

Balint wrote:
femu wrote:is there a way to sort the image list alphabetical in the ACP? So the part, which starts with "No custom logo" .. As I have a bunch of header images, it's a little pain to the search the right logo ;-)
Hi again,

I was blind not seeing the problem. The fix is very easy, though.

1. Open includes/acp/acp_header_images.php
FIND:

Code: Select all

		foreach ($imglist as $path => $img_ary)
		{
add after

Code: Select all

sort($img_ary);
then FIND:

Code: Select all

		foreach ($imglist_bg as $path => $img_ary)
		{
add after

Code: Select all

sort($img_ary);

2. Open includes/acp/acp_forums.php
:arrow: do the same changes as above in this file too :-)


This fix will be implemented in the upcoming version.


Regards,
Bálint
Great! Thanks a lot!
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
Locked

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