Page 4 of 5

[3.0.11] SE Pro

Posted: 21 Mar 2013, 00:50
by Tom
Stoker wrote:You can take a look at the code in overall_header.html
This part is what makes the banner change:

Code: Select all

<div id="page-header">
			<!-- IF SCRIPT_NAME == "faq" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header2.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "search" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header3.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "memberlist" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header4.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "ucp" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header5.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "viewtopic" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header6.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "viewforum" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header7.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "mcp" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header8.jpg); background-position: top;">
			<!-- ELSEIF SCRIPT_NAME == "posting" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header9.jpg); background-position: top;">
			<!-- ELSE --><div class="header-bar"><!-- ENDIF -->
stoker,

thanks for the tip but what if I want to add a banner for each one of the links I have on the top? Where would I add that and how?

[3.0.11] SE Pro

Posted: 21 Mar 2013, 03:47
by Stoker
An example for the donation mod would be this:
Find:

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "posting" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header9.jpg); background-position: top;">
add after:

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "donate" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/some_header.jpg); background-position: top;">

[3.0.11] SE Pro

Posted: 21 Mar 2013, 08:12
by Tom
Stoker,

Thank you very much!

One little problem, What if the script

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "here" -->
has gallery/index.php? I tried using

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "gallery" -->
and

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "gallery/index" -->
and

Code: Select all

<!-- ELSEIF SCRIPT_NAME == "gallery/index.php" -->
but no luck.

thanks

[3.0.11] SE Pro

Posted: 21 Mar 2013, 08:15
by Stoker
Try

Code: Select all

<!-- ELSEIF S_IN_GALLERY -->

[3.0.11] SE Pro

Posted: 22 Mar 2013, 08:05
by Tom
Stoker,

That didn't work

[3.0.11] SE Pro

Posted: 22 Mar 2013, 08:24
by Stoker
Then you need to figure out what the script path is.

[3.0.11] SE Pro

Posted: 30 Mar 2013, 18:40
by iorG19
expecting errors when sending pm's:
When i Send a private message (click-button send) it appears like i want to preview the message; then i click again and appears like that:

Code: Select all

Fatal error: The file ./styles/se_pro/template/bbcode.html is missing. in /home/u561104070/public_html/includes/bbcode.php on line 150
I go back, the message was sent... i have 2 (same messages ) in outbox. Can anyone help me please??

includes/bbcode.php (line 150)

Code: Select all

					trigger_error('The file ' . $this->template_filename . ' is missing.', E_USER_ERROR);

[3.0.11] SE Pro

Posted: 30 Mar 2013, 19:35
by Stoker
SE Pro uses template inheritance. Therefore you need to have prosilver installed, or upload the missing prosilver template files to the SE Pro template folder.

[3.0.11] SE Pro

Posted: 11 Jul 2013, 15:21
by Holger
Hello Stoker,

I really love the color-bar on the right side of every post.
I would like to mark up unread posts with that bar in my prosilver.
How did you do the bar?
Right now I am using this: /forum/viewtopic.php?f=21&t=8899 (I am not allowed to post links, it is at phpBB Sweden)
But it adds a rounded bar outside the existing rounded corners, not replacing it.
Any idea?

/Holger

[3.0.11] SE Pro

Posted: 12 Jul 2013, 10:45
by Stoker
Well, wont it conflict if you use this both for online/offline and unread?

But I agree with the guy from sweden on how to do it.