News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

BlackRainV.2

Started by Crip, August 18, 2007, 01:53:58 AM

Previous topic - Next topic

khamseen

Hey Crip, I have been playing around with this theme tonight as I'm planning on eventually hauling my community into SMF 2.0Beta4 instead of the 1.1.x and  am rather impressed with the theme. It's elegant and aesthetically pleasing at the same time.

I was however wondering if you could give me a hand with how to add additional buttons to the menu? I have searched through the index.template.php file looking for the things that have been previously stated in this thread but can't find them at all. I have installed a few mods and now have 3 links on the menu bar, but they have no names and aren't full size.

Thanks in advance.
"In hope we find despair and in despair we find truth." - Myself

Crip

what version are you testing on   ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

I am using BlackRainV2_20b4 on SMF 2.0 Beta 4
"In hope we find despair and in despair we find truth." - Myself

khamseen

Ok, I was helped by "Gary S. Ghoulsdon" in this thread http://www.simplemachines.org/community/index.php?topic=63203.new;topicseen#new

I have managed to get the buttons I needed, only down side is they are hard coded for the text, but since we only use English I don't suppose it would cause too big an issue.

Thank you for your assistance.
"In hope we find despair and in despair we find truth." - Myself

Crip

I perfer hard coded link names myself, it causes No issues @ all.
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

Quote from: Crip on October 15, 2008, 09:16:36 AM
I perfer hard coded link names myself, it causes No issues @ all.

Good to know, thanks for the help. ;D
"In hope we find despair and in despair we find truth." - Myself

rhl958

Hello Crip,

I've got a problem not sure if its a BlackRainV.2 problem or a gallery problem but here goes.



I' Am using SMF 1.1.6 I've only got this problem with BlackRainV.2 I have Grungy with gallery and as you can see no problems



Also have SMF Gold and no problems any ideas as to where I should look to fix this

If I have no luck fixing this I'll use another one of your great themes you've made

Thanks Richard

Crip

BRv2 ----- you'll need to make your own buttons or make some via Bloc's button generator .... » Here «  Upload your buttons to /Themes/BlackRainV2/images/english/ -here -
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

edjon2000

#108
Hi Crip :)

Excellent theme, it almost matches my website which is great, it's the only one I have seen that even comes close :)

However I am having a few slight css type problems and would appreciate any help with this

The first one is on the smf forum admin page (I am using smf 2.0 beta 4) with the new layout of the admin tabs they appear like this



all in white and the other problem is on the package download page where the browse box is white as is the text



it only seems to affect file upload input fields

edit... Having looked into it a bit further it seems to affect all file type input fields

Crip

Add different input "types" not just one :
Example:: ? cuz i really dunno ?

input1 {
background: #1E1E1E;
color: white;
font-family: verdana, sans-serif;
font-size: 90%;
}

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

edjon2000

#110
Hi Crip thanks for the response :)

I'll try to describe it a little better when I say input type I meant like in html forms

eg a user login form my be coded like this


<form id="form1" method="post" action="<?php echo $loginFormAction; ?>">
    <p>&nbsp;</p>
    <p>
         <label for="userName">Username:</label>
         <input type="text" name="userName" id="userName" />
    </p>
    <p>
          <label for="passWord">Password:</label>
          <input type="password" name="passWord" id="passWord" />
    </p>
    <p>
          <input type="submit" name="memLogin" id="memLogin" value="Login" />
    </p>
</form>

Which would generate a form similar to this



These are three of the typical input types text(textfield), password(modified textfield) and submit(button)

Also for uploading files there is the input type file as follows

<form enctype="multipart/form-data" method="post" action="awpskillsupload.php">
   <p>Skills upload</p>
   <p>Select your skills file, and press 'upload' </p>
   <p>
        <input type="file" size="21" name="my_field" value="" />
   </p>
   <p class="button">
        <input type="hidden" name="action" value="simple" />
        <input type="submit" name="Submit" value="upload" />
    </p>
</form>

this would generate a form similar to this



This input type auto generates a browse button to enable users to upload files from their local machine.

So this particular problem does seem to be css related hope this helps :)

Jon

edjon2000

#111
Hmm Crip

I have just looked at a few other dark themes that have recently been updated for smf 2.0 b4 and they all have exactly the same problem in the areas I mentioned in the admin tabs and all file upload areas, here is an example from another dark theme called Back'n'Black.

Admin Tabs



and Package Upload area also with white text I partly hilighted the field



so as these are based on the default templates for smf what have they changed?

Here are the default values for admin tabs



and for package upload section



This is weird  ???

Jon

IchBin™

This is actually a bug in FF I think. Are you using Firefox? Does it look the same in IE for you?
IchBin™        TinyPortal

edjon2000

#113
HI IchBin thanks for your help :)

Yes you are right it is an ff problem but why only that type of field ?

Still have the problem with the admin horiz tabs however I think that is a case of finding the right css for the buttons they look to be ajax generated so there may be a seperate css file somewhere for that.

edit... yes there is it's called dropmenu.css

Jon

Crip

It's most likely your install ....  ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

edjon2000

#115
Hi Crip

I thought about that and set up a fresh forum on my own web server just to be sure with a fresh download of everything forum and theme, I then spent a bit of time looking at the related css files, I did notice that if the dropmenu.css file was moved to the blackrain css folder it changed those horizontal admin tabs as follows



But without that file they are like this



so it appears that the dropdown.css is that file that needs to be altered and included in the dark rain css theme folder, I hope this helps a little :)

Jon

Crip

I will check that next update. :)
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

edjon2000

Hi Crip

would you mind if I had a look at it, if nothing else it will give me an insight into how to create an SMF theme, obviously any changes I make to my local copy I will send to you as the orignal creator of the theme, I think I am getting the basic idea already but am still a long way off actually creating one of my own, I am still trying to get to grips with css and templates and how it all fits together in the SMF forum software.

Jon

Crip

Sure go ahead , if successful please share with others please :)
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

edjon2000

#119
Thank you Crip :)

If successful I will send you the first copy

btw my website and forum is located at http://www.euadvantage.com if you fancy checking it out

Jon

Advertisement: