Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Miscaleneous modifications from Stoker
Tom
BBCoder II
Posts: 7 Joined: 28 Feb 2013, 09:45
BBCodes: 1
Post
by Tom » 21 Mar 2013, 00:50
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?
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 21 Mar 2013, 03:47
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
Posts: 7 Joined: 28 Feb 2013, 09:45
BBCodes: 1
Post
by Tom » 21 Mar 2013, 08:12
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
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 21 Mar 2013, 08:15
Board rules! No PM support
Tom
BBCoder II
Posts: 7 Joined: 28 Feb 2013, 09:45
BBCodes: 1
Post
by Tom » 22 Mar 2013, 08:05
Stoker,
That didn't work
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 22 Mar 2013, 08:24
Then you need to figure out what the script path is.
Board rules! No PM support
iorG19
BBCoder II
Posts: 11 Joined: 29 Apr 2011, 14:27
BBCodes: 0
Contact:
Post
by iorG19 » 30 Mar 2013, 18:40
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);
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 30 Mar 2013, 19:35
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
Posts: 3 Joined: 11 Jul 2013, 15:13
BBCodes: 3
Post
by Holger » 11 Jul 2013, 15:21
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
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 12 Jul 2013, 10:45
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