[3.0.12] SE Pro

Miscaleneous modifications from Stoker
Tom
BBCoder II
BBCoder II
Posts: 7
Joined: 28 Feb 2013, 09:45
BBCodes: 1

[3.0.11] SE Pro

Post 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?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[3.0.11] SE Pro

Post 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;">
Board rules! No PM support
Tom
BBCoder II
BBCoder II
Posts: 7
Joined: 28 Feb 2013, 09:45
BBCodes: 1

[3.0.11] SE Pro

Post 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
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[3.0.11] SE Pro

Post by Stoker »

Try

Code: Select all

<!-- ELSEIF S_IN_GALLERY -->
Board rules! No PM support
Tom
BBCoder II
BBCoder II
Posts: 7
Joined: 28 Feb 2013, 09:45
BBCodes: 1

[3.0.11] SE Pro

Post by Tom »

Stoker,

That didn't work
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[3.0.11] SE Pro

Post by Stoker »

Then you need to figure out what the script path is.
Board rules! No PM support
User avatar
iorG19
BBCoder II
BBCoder II
Posts: 11
Joined: 29 Apr 2011, 14:27
BBCodes: 0
Contact:

[3.0.11] SE Pro

Post 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);
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[3.0.11] SE Pro

Post 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.
Board rules! No PM support
Holger
BBCoder I
BBCoder I
Posts: 3
Joined: 11 Jul 2013, 15:13
BBCodes: 3

[3.0.11] SE Pro

Post 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
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[3.0.11] SE Pro

Post 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.
Board rules! No PM support
Locked