Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: padexx on January 21, 2007, 03:38:56 PM

Title: lightning-dk
Post by: padexx on January 21, 2007, 03:38:56 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=207)


Another cool, cold and modern looking theme.

If you have questions:
PLEASE
have a look into the readme.txt coming with the theme first.

Tinyportal Version (http://www.tinyportal.net)
Title: Re: lightning-dk
Post by: husmen73 (Gulhin) on January 21, 2007, 04:53:49 PM
Demo link doesn't work :) Your Theme very good ;) regards.
Title: Re: lightning-dk
Post by: ahmetarig on January 21, 2007, 06:08:51 PM
Very nice theme! :)
Title: Re: lightning-dk
Post by: ormuz on January 21, 2007, 08:03:12 PM
That's what I call originality!
Title: Re: lightning-dk
Post by: padexx on January 22, 2007, 04:43:11 AM
thank you guys!
Title: Re: lightning-dk
Post by: The Wicked Flea on January 22, 2007, 09:26:55 PM
I like it, and give it 4/5.

My reasons for not giving it a full 5 are:
And that's really all I can say.  Great work!
Title: Re: lightning-dk
Post by: Viruson on January 23, 2007, 01:26:11 PM
This theme doesn't working correctly on my PC...
Look by yourself...

(http://img256.imageshack.us/my.php?image=1245wr.jpg)

And also I have message:
Attention of pdx-dk theme:

You should put "Modifications..php" on the "languages" directory ( http://localhost/forum/Themes/lightning01/languages/ ) in the theme of lightning-dk.

Copy "Modifications.english.php" of the "languages" directory of lightning-dk onto the first. Next, rename it according to the language for which you use the file.


But I have this file in the Languages folder!
Title: Re: lightning-dk
Post by: padexx on January 25, 2007, 09:58:28 AM
QuoteYou should put "Modifications..php" on the...

There was something missing

in index.template.php
replace
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

with
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $language, $modSettings;


the file has to be Modifications.YOUR_LANGUAGE.php (Modifications.english.php, Modifications.german.php)

QuoteThis theme doesn't working correctly on my PC...
This is because the words/txt are to "long" in your language to fit into the main-buttons.
Maybe you could change them in your language files to something shorter...
Title: Re: lightning-dk
Post by: grusomhat on February 02, 2007, 01:44:53 AM
Hmm, I installed and get this message

Attention of PDX-DK theme:
This theme doesn't correspond to the version of SMF that you are using. This theme is made for SMF 1.1.

However I am using 1.1

Any help?
Title: Re: lightning-dk
Post by: padexx on February 02, 2007, 02:22:42 AM
You are getting this message with the lightning-dk theme???

This is just an info a admin gets to see if the theme version does not correspond to the SMF version.
Anyway I only use this feature in my other themes not in lightning-dk. Check the index.template.php and search for: This theme doesn't correspond

Is this code there?
Title: Re: lightning-dk
Post by: MagoSa on February 03, 2007, 03:24:10 PM
Good!
Thanks panic ;D
Title: Re: lightning-dk
Post by: grusomhat on February 04, 2007, 03:44:11 AM
Quote from: grusomhat on February 02, 2007, 01:44:53 AM
Hmm, I installed and get this message

Attention of PDX-DK theme:
This theme doesn't correspond to the version of SMF that you are using. This theme is made for SMF 1.1.

However I am using 1.1

Any help?

Sweet found it. and fixed
Title: Re: lightning-dk
Post by: Alpay on February 04, 2007, 02:36:10 PM
Hello =) Very nice theme :)

i have an error and i checked the "modification" and "anguage patch" and i think the error is based on "image". if so pelase help me in the shortest time.
thanks a lot

languages = turkish

Forum Error Log

index.template.php >

339 > $context['user']['avatar']['image'] = strtr($context['user']['avatar']['image'], array("class=\"avatar\"" => "class=\"avatar_r\""));

Quote
index.php 
8: Undefined index: image
Dosya: .../forum/Themes/lightning-01/Display.template.php (eval?)
Satır: 339

Satır: 339  = {

Quote8: Undefined index: image
Dosya: .../forum/Themes/lightning-01/MessageIndex.template.php (eval?)
Satır: 339

Satır: 339  = {

QuoteDosya: 8: Undefined index: image
Dosya: .../forum/Themes/default/Recent.template.php (eval?)
Satır: 339

Satır: 339  = <img src="' . $settings['images_url'] . '/topic/normal_poll.gif" alt="" align="middle" /> ' . $txt['smf43'] : '') . '

QuoteDosya: 8: Undefined index: image
Dosya: .../forum/Themes/default/Profile.template.php (eval(eval?)
Satır: 339

Satır: 339  = </table>';


Smf > 1.1.2
Packages>

Signature Settings Mod 1.0 
SMF Gallery Lite 1.6.8
Board Notes 1.0.7   
Avatars at Index Mod
Increase/Decrease Postbox Size
Board Viewers Mod
Create Topic on Report to Moderator
VisualWarning 1.30 
Member Color Link
Topic description 1.1
Show Multiple Badges
Users Online Today Mod
Merge Double Posts

Title: Re: lightning-dk
Post by: Fallen.One05 on March 13, 2007, 09:01:02 AM
Ok... i need a little bit of help. I absolutely LOVE this layout... yet it's not wanting to setup right or something...It looks ABSOLUTELY nothing like the preview...=-/  it has the general concept, but that's about it...

http://www.nt-trucks.net/forum/

Did i do something wrong?  I downloaded it, uploaded it to my ftp...the copied the location of the theme into SMF...

what happened?!?!  ANY HELP would suffice...

Thanks guys.. =)
Title: Re: lightning-dk
Post by: Harro on March 13, 2007, 09:34:14 AM
Did you also tried to install it with the theme manager?
It's also possible that there is just something wrong with the package.
Only person that can help you with that is panic (the theme creator)
Title: Re: lightning-dk
Post by: Fallen.One05 on March 13, 2007, 09:57:00 AM
This is going to sound bad i know... but... Theme manager?

And i've actually seen the demo site for this particular theme... and they are using SMF 1.1.2 as well.. so i don't think it's the package.. =-/
Title: Re: lightning-dk
Post by: Harro on March 13, 2007, 10:06:53 AM
Was talking about the theme installer in the admin panel.
Theme manager isn't exactly the correct word for it :p

Admin panel -> Themes and Layout -> Install a New Theme -> From a file
Press browse and select the zip file you downloaded.
Title: Re: lightning-dk
Post by: Fallen.One05 on March 13, 2007, 10:24:58 AM
Ahhh.. yeah, that's how i installed it orginally.

Except i went

Admin panel -> Themes and Layout -> Install a New Theme -> From a file

and i browsed to the location on my ftp where i uploaded it.. (forum/Themes/lightning)

EDIT: well hmmm.. i tried it your way.. and it works just fine!

Thanks for the help!!  :)
Title: Re: lightning-dk
Post by: Harro on March 13, 2007, 11:06:26 AM
You're welcome
Title: Re: lightning-dk
Post by: cibie44 on March 13, 2007, 02:19:43 PM
i've failed to integrate the SMF + shoutbox + lightning DK.
have somebody done this before?
is this possible ? cause the shutbox does not work properly with the lightning DK theme.

pls help
from malaysia
Title: Re: lightning-dk
Post by: padexx on March 14, 2007, 12:50:26 PM
for the shoutbox to work

in the index.template.php of the theme
replace
<div id="mainbody">';
with
<div id="mainbody">

<div>', smfshout(), '</div>';


Then add the following to the Modifications.english.php in the language dir of LIGHTNING-DK
//text for Ultimate Shoutbox
$txt['shoutbox_0'] = 'Shoutbox';
$txt['shoutbox_1'] = 'Shoutbox Archive';
$txt['shoutbox_2'] = 'Delete shouts older than:';
$txt['shoutbox_3'] = 'days';
$txt['shoutbox_4'] = 'Delete all shouts over your current limit of';
$txt['shoutbox_5'] = 'Delete';
$txt['shoutbox_6'] = 'Name';
$txt['shoutbox_7'] = 'Email';
$txt['shoutbox_8'] = 'Message';
$txt['shoutbox_9'] = 'Shout';
$txt['shoutbox_10'] = 'Sorry, if you are a guest you must enter both your name and your email address';
$txt['shoutbox_11'] = 'Whoops, looks like you forgot to fill in one of the Shoutbox fields.  Please try again.';
$txt['shoutbox_12'] = 'Sorry, if you are a guest you must enter a valid email address when using the Shoutbox.';
$txt['shoutbox_13'] = 'Sorry, but you do not have the proper priveledges to delete that.';
$txt['shoutdir'] = 'Shout Direction';
$txt['shoutbox_19'] = 'Ascending';
$txt['shoutbox_20'] = 'Descending';
$txt['shoutsep'] = 'Shout Separator';
$txt['enablearchiveshout'] = 'Allow people to shout from the archive page?';
$txt['shoutlimit'] = 'Number of shouts to return';
$txt['shoutmaxchr'] = 'Max number of characters per line';
$txt['shoutsplitchr'] = 'Character number to split long words at (usually 3 less than max)';
$txt['enablescrollshout'] = 'Enable scrolling';
$txt['shoutbox_27'] = 'The following options are only available is scrolling is activated:';
$txt['shoutscrollwidth'] = 'Scroll box width (pixels)';
$txt['shoutscrollheight'] = 'Scroll box height (pixels)';
$txt['shoutscrollspeed'] = 'Scrolling speed';
$txt['shout_noGuestEmail'] = 'Don\'t require email address for guests';
$txt['shout_enableXML'] = 'Enable javascript XML refreshing of the shoutbox. (This will increase server load)';
$helptxt['shout_enableXML'] = 'Turning on this option will make the shoutbox refresh automatically every five seconds - but will increase the server load considerably.';
$txt['shoutbox_31'] = 'slowest';
$txt['shoutbox_32'] = 'slower';
$txt['shoutbox_33'] = 'medium';
$txt['shoutbox_34'] = 'faster';
$txt['shoutbox_35'] = 'fastest';
$txt['shoutscrolldir'] = 'Scrolling direction';
$txt['shoutbox_37'] = 'up';
$txt['shoutbox_38'] = 'down';
$txt['shoutbox_39'] = 'left';
$txt['shoutbox_40'] = 'right';
$txt['shoutscrolldelay'] = 'Scroll Delay (milliseconds - normal is 60)';
$txt['shoutbox_42'] = 'Delete Options';
$txt['shoutbox_43'] = 'View All';
$txt['permissiongroup_shout'] = 'Shoutbox';
$txt['permissionname_make_shout'] = 'Can Shout';
$txt['permissionname_delete_shout'] = 'Can Delete Shouts';
$txt['shout_delete_selected'] = 'Delete Selected';
$txt['cannot_delete_shout'] = 'You do not have permission to delete shouts.';
$txt['cannot_make_shout'] = 'You do not have permission to shout.';
Title: Re: lightning-dk
Post by: Gobo on March 21, 2007, 06:52:47 PM
hi panic

wonderful theme, ill be using it in an upcoming site

I just wanted to ask you:

In the header area where it says the forum name and then underneath displays the news. I would like to place an image (split into 2) so that the 1st part of the image fits where the forum name is and the 2nd part fits where the news appears.

Could you shed some light into how I can achieve this.
Thanks
aku
Title: Re: lightning-dk
Post by: Gobo on March 21, 2007, 07:02:19 PM
never mind i got it :D

great theme
Title: Re: lightning-dk
Post by: humbert on April 29, 2007, 11:44:39 AM
Great looking theme.  I want to add it to my site, but I keep getting this error message when I try to read any thread:

Quote
Fatal error: Call to undefined function: create_button() in /home/humbert/public_html/newmetropolis/Sources/Load.php(1040) : eval()'d code on line 238
Title: Re: lightning-dk
Post by: berginet on May 08, 2007, 04:13:00 PM
I Still have this Error Message but at the index.template.php is the code changed from what you posted before?
Can you Help me?
Quote!!Attention of lightning-dk theme:

You should put "Modifications.german-utf8.php" on the "languages" directory ( http://removedxxxx/forum/Themes/lightning-01/languages/ ) in the theme of lightning-dk.

Copy "Modifications.english.php" of the "languages" directory of lightning-dk onto the first. Next, rename it according to the language for which you use the file.
[/quote
Title: Re: lightning-dk
Post by: padexx on May 09, 2007, 11:04:01 AM
humpert:
http://docs.simplemachines.org/index.php?topic=928 (http://docs.simplemachines.org/index.php?topic=928)

berginet:
Not sure what your problem is... did you do what the "theme" tells you to do?
Title: Re: lightning-dk
Post by: humbert on May 26, 2007, 10:30:29 PM
Quote from: panic on May 09, 2007, 11:04:01 AM
humpert:
http://docs.simplemachines.org/index.php?topic=928 (http://docs.simplemachines.org/index.php?topic=928)
Not sure what your problem is... did you do what the "theme" tells you to do?

I've updated and this is working well.  Thanks.
Title: Re: lightning-dk
Post by: joybreezy on July 06, 2007, 04:37:35 PM
I have downloaded this theme however it doesn show like the screenshot.. its seems to be out of wack.. Also I would like to discuss adding more buttons.. if the ones that are shown were resized could more be added???
Title: Re: lightning-dk
Post by: padexx on July 09, 2007, 05:45:28 AM
Hi!
Quoteits seems to be out of wack
??? :)
Quoteif the ones that are shown were resized could more be added
have a look at the readme.txt. well, resized the buttons could conflict with long button texts. Maybe the boxes left and right of the menu need to be resized.
Title: Re: lightning-dk
Post by: joybreezy on July 09, 2007, 08:39:58 AM
Good Morning Panic!! 

I apologize for not explaining in detail.  The theme does not display as shown on in the thumbnail for me.  I thought that it might just be this particular site, because I always seem to have trouble with the themes on it so I downloaded it to my other location and ran into the same problem.  www.freestylepoetry.net.  I installed the usual way through the Admin table.  It's odd because when I click a button I can tell the buttons seem to want to go to the correct space.  However, after the page fully loads they appear under the Site name. 

As for buttons, I need to add a gallery, arcade and player button for mp3 streaming.
Title: Re: lightning-dk
Post by: Polyglory on October 08, 2007, 08:08:45 AM
Very Nice theme and layout :)
Title: Re: lightning-dk
Post by: padexx on November 07, 2007, 07:39:25 AM
CHANGELOG for 1.1.4v1:
_____________________________

- fixed a bug in the index.template.php producing errors if user has no avatar asigned
Title: Re: lightning-dk
Post by: LoGraYThS on February 12, 2008, 01:39:54 AM
Hello there...

First of all this is kind of my second message at the forum.

Got to link a bit to found this and now here I am to say thnx to panic for an excelent theme.

We just love it at our Pearl Jam community and I would like to ask the usual question.

Is it hard to configure for Tiny Portal?

We would love to get the site as it was a long time ago (when I was not in charge of administration) as a portal with news and articles and all that kind of stuff that features TP.

I've managed to understand a lil bit about installation, php and mods since I got into the admin of my community, but I'm kind of afraid to screw everything when trying Tiny Portal.

BTW... My forum is in spanish

Pay us a visit clicking on my sig banner.

Tnx again, panic! ;)
Title: Re: lightning-dk
Post by: padexx on February 12, 2008, 04:27:46 AM
Hi LoGraYThS!

I have no experience with TP! All the TP-Theme conversion is done by crip at tinyportal.net.
Title: Re: lightning-dk
Post by: sword_of_thunder_god on February 18, 2008, 03:24:34 AM
good day to you panic, just want to know if you could help me out step by step how to add another navigation button on top  to your lightning-dk theme? (e.g. home,admin,profile etc..) since there are still two spaces left, i'd already look into your readme.txt but i'm a noob to coding
Title: Re: lightning-dk
Post by: LoGraYThS on February 18, 2008, 10:31:08 AM
Quote from: panic on February 12, 2008, 04:27:46 AM
Hi LoGraYThS!

I have no experience with TP! All the TP-Theme conversion is done by crip at tinyportal.net.

Tnx pretty much panic.

I've figuring out already how to make TP work at my site.

Hope ppl likes it!

GL! ;)
Title: Re: lightning-dk
Post by: padexx on February 19, 2008, 07:27:59 AM
LoGraYThS ok  ;)

sword_of_thunder_god
The the available button spaces depend on how many  smf features you've turned on (calendar, memberslist,...) and if you're logged in or not (admin, profile).

Please explain in detail what you want and I will post the code for it ;)
Title: Re: lightning-dk
Post by: sword_of_thunder_god on February 20, 2008, 07:10:42 AM
i've enabled all those smf features (e.g. calendar,memberslist etc..), there is still one or two spaces for a different navigation button in the themes header, since those two are black spaces, i've wondered how to put a custom navigation button for let's say a gallery or a link to my main site page  :)...
Title: Re: lightning-dk
Post by: padexx on February 23, 2008, 06:31:03 AM
hi,

in the index.template.php search for:
// Start of the tab section.
there you will find the code for the three tab columns.

it depends on your status (logged in/out, admin, normal user) which tab is available.
So your custom button will apear on different places (logged in/out).
ie as logged in admin there is only one blank tab available.

replace the blank tab code links with the disired ones
<div class="maintab_back"><a href="#">&nbsp;</a></div>
Title: Re: lightning-dk
Post by: tugori on February 08, 2009, 07:23:27 AM
Anyone knows what happened to padexx? He is very inactive at the moment and does not reply to questions...

By the way: would anyone be willing to convert this theme to smf 2?
Title: Re: lightning-dk
Post by: souljaa on January 06, 2010, 11:59:21 PM
Sorry to bring this thread back up, just wondering is there any way we could changes ourself, so we can update this theme? I'd really like to use it.