Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Classic Themes => Topic started by: weber on February 14, 2006, 09:35:58 PM

Title: [Theme] Pn-Pn for 1.1 RC 3
Post by: weber on February 14, 2006, 09:35:58 PM
I released this theme. :)

Thumbnail:
(http://bdc.s15.xrea.com/snaps/pnpn_thumbnail.gif)

Screen shots:

Live demo:

Download:

The following files and the codes are included in this theme.  I wish to express my gratitude to all authors. :)

FAQ:
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: JayBachatero on February 14, 2006, 10:10:42 PM
WOW.  It's comming out great.
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Acf on February 15, 2006, 04:11:39 AM
great logo and i like the tabs as well :)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 15, 2006, 06:47:01 AM
Thank you for a good comment. :)

I set up the live demo.
http://koni.s25.xrea.com/forum/index.php?theme=6

Try the tabs. ;)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Acf on February 15, 2006, 06:59:21 AM
nice :D

is this a easter egg? :P <div class="bdc"><!-- nothing :P --></div>

I guess theme will be a big hit :)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: eriktm on February 15, 2006, 02:46:11 PM
Wanna download it!!! >:( >:( >:( >:( >:( >:(

Where ??? ??? ???

Or, is it not yet avabile? :'(
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: codenaught on February 15, 2006, 03:00:52 PM
Very nice theme. I like the layout and colors a lot. :)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: JayBachatero on February 15, 2006, 03:09:19 PM
Wanna download it!!! >:( >:( >:( >:( >:( >:(

Where ??? ??? ???

Or, is it not yet avabile? :'(

[Preview] Pn-Pn for 1.1 RC 2
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Burpee on February 15, 2006, 03:14:25 PM
Good job, looks very nice! :)

One item - The topics/posts column on the boardindex is kind of unclear. What are the posts and what are the topics?
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 15, 2006, 04:22:29 PM
ªcF
Thanks. :)
Only it is put instead of the blank, and there is no wonderful meaning. However, it might look strange. :P

akabugeyes
Thank you for a good comment. :) I also especially like the arrangement of colors.

Burpee
Thanks. :)
It assumes the same view as the fraction. For instance...

   1   Topics
   _   ______
   2   Posts

However, it is not certainly understood easily. It is a result of giving priority to the design.
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Miraenda on February 15, 2006, 10:03:54 PM
Another excellent theme koni. Your themes are always unique and beautiful :D
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: forsakenlad on February 16, 2006, 01:51:48 AM
Looks cool, I agree about the unclarity that Burpee has pointed out :)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: sunseeker on February 16, 2006, 11:13:32 AM
very nice! love it.

i agree - topic and posts count not clear. but hey, you never know what you are going to come up with unless you try new things!

my wish list would be to add an admin dropdown that could change the 3 major colors automatically.

nice work! good job!  ;D
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Acf on February 16, 2006, 11:50:47 AM
admin dropdown?
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: crazystu on February 16, 2006, 01:22:46 PM
very nice theme koni...
will you be doing any colour variations?
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: Aaron on February 16, 2006, 01:34:59 PM
Looks very nice and unique, Koni! Good job!
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: LaBamba on February 16, 2006, 05:41:01 PM
Very nice and unique, as always  :D
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 17, 2006, 02:36:28 AM
Thanks for nice comments, everyone. :)

I will try the method of my making it comprehensible about Topics/Posts. When this theme is completed, it thinks about other color version.

It became a thing that the almost everyone did not use though I made the different color version from the theme before in compliance with the demand. :P
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: bloc on February 17, 2006, 05:05:43 AM
Thanks for nice comments, everyone. :)

I will try the method of my making it comprehensible about Topics/Posts. When this theme is completed, it thinks about other color version.

It became a thing that the almost everyone did not use though I made the different color version from the theme before in compliance with the demand. :P


Thats too bad. Personally I think you should just concentrate on making it just the way you want it, and leave the color versions stuff for later - its much easier when the theme is "perfect". ;)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 17, 2006, 07:14:35 AM
I understand what you say well. :) However, the thing to make a different color for me version is a difficult thing.

Then, the balance of the theme is lost though it is easy to change the color of the main. It is needed to match everything. I do not want to share the theme that loses balance.

First of all, when I make the theme, the color of the main is decided. Afterwards, shape is decided. Therefore, it is not easy to change the color of the main.
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: crazystu on February 17, 2006, 02:20:43 PM
when it is finished you could always just change the hue...
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 18, 2006, 07:09:11 AM
I changed to this theme a little. :)


nesianstyles
Ok, I will try the different color version.  ;)
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: bloc on February 18, 2006, 11:02:37 AM
I understand what you say well. :) However, the thing to make a different color for me version is a difficult thing.

Then, the balance of the theme is lost though it is easy to change the color of the main. It is needed to match everything. I do not want to share the theme that loses balance.

First of all, when I make the theme, the color of the main is decided. Afterwards, shape is decided. Therefore, it is not easy to change the color of the main.

I understand..sometimes its hard to change a theme based on original color palette , over to another color palette. When someone asked me to change Helios and Black22 to light versions, I thought "thats should be easy". But it wasn't. Suddenly the subtle fade effect of the dark Helios was lost, Black22 "lost" its impact from the greys when done in light hues and so on.

What I meant earlier was really that sometimes you do a good version - and thats it. Its done. If its suitable to make more color versions ( like my Simplicty theme for example) its ok, otherwise its almost like making a new theme...
Title: Re: [Preview] Pn-Pn for 1.1 RC 2
Post by: weber on February 25, 2006, 07:54:34 AM
Thank you for good advice, Bloc. :) I made some different color version...

And, this theme was released! It is being put on the first post now. ;)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: inbetwee on February 25, 2006, 06:04:12 PM
The forum is to wide how to change to make it fits I have a scrollbar?

Inbetwee
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on February 25, 2006, 06:20:30 PM
The forum is to wide how to change to make it fits I have a scrollbar?

The width broadens when the name of the forum is long. It is made not to change line to become a position that the position of the image of "Powered by Simple Machines" and the name of the forum intended. An easy method of settlement changes it to the image.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: dominik on February 26, 2006, 07:46:04 AM
very fancy theme!

- by the way. a tinyportal compatible version would be awesome  :P
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: scriptlisters on February 26, 2006, 11:26:26 PM
This one also looks good, keep up the good work!
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: EgAr on February 27, 2006, 01:25:07 PM
very cool !!!
I love it.

Exelente !!!

(sorry for my bad english)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on February 27, 2006, 06:18:13 PM
dominik
Thanks. :)

- by the way. a tinyportal compatible version would be awesome  :P

To our regret, I will not make it. Sorry...

scriptlisters, EgAr
Thank you for a good comment. It is my pleasure. :D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 01, 2006, 09:15:45 PM
Some problems concerning the width of this theme were corrected.

The user who has already installed this theme add the following correction. It is not necessary to correct it when all themes are overwrited of course or it replaces it.

1. Up-load the following image to the "images" directory of Pn-Pn.
http://koni.s25.xrea.com/forum/Themes/pnpn11rc2/images/area_blank.gif

2. Add the following correction to the "index.template.php" file of Pn-Pn.

Find
Code: [Select]
      <td width="15" class="area_l">&nbsp;</td><td>
Replace
Code: [Select]
      <td width="15" class="area_l"><img src="', $settings['images_url'], '/area_blank.gif" border="0" alt="" /></td><td>
Find
Code: [Select]
<td width="70%" valign="top" class="headertext" align="left" height="65">
Replace
Code: [Select]
<td width="70%" valign="top" class="headertext" align="left" height="65">
<div style="width: 100%; overflow: hidden;">

Find
Code: [Select]
echo '
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';

echo '

</td>';

Replace
Code: [Select]
echo '
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';

echo '
</div></td>';

Find
Code: [Select]
<td class="maintab_bgba" align="left" nowrap="nowrap">';

// Show the menu here, according to the menu sub template.
template_menu();
echo '
</td><td class="maintab_bgb" align="right" width="25"><div><a href="#top_t" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 4px 2px 0;" border="0" /></a></div></td>

Replace
Code: [Select]
<td class="maintab_bgba" align="left" nowrap="nowrap">
<div style="width: 100%; overflow: auto;">';
// Show the menu here, according to the menu sub template.
template_menu();
echo '
</div></td><td class="maintab_bgb" align="right" width="25"><div><a href="#top_t" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 4px 2px 0;" border="0" /></a></div></td>

Find
Code: [Select]
<td width="28%" class="copyright_l" style="padding: 0 0 3px 0;" valign="bottom" align="', !$context['right_to_left'] ? 'right' : 'left', '" height="35">
<a href="http://www.mysql.com/" target="_blank" title="', $txt['powered_by_mysql'], '"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank" title="', $txt['powered_by_php'], '"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://validator.w3.org/check/referer" target="_blank" title="', $txt['valid_xhtml'], '"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="', $txt['valid_css'], '"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>

Replace
Code: [Select]
<td width="28%" class="copyright_l" style="padding: 0 0 3px 0;" valign="bottom" align="', !$context['right_to_left'] ? 'right' : 'left', '" height="35" nowrap="nowrap"><div style="width: 100%; overflow: hidden;">
<a href="http://www.mysql.com/" target="_blank" title="', $txt['powered_by_mysql'], '"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank" title="', $txt['powered_by_php'], '"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://validator.w3.org/check/referer" target="_blank" title="', $txt['valid_xhtml'], '"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="', $txt['valid_css'], '"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="30" height="18" style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a></div>
</td>

Find
Code: [Select]
<td width="28%" valign="bottom" align="center" style="padding: 3px 0 5px 0;" nowrap="nowrap" class="copyright_r"><a href="http://bdc.s15.xrea.com/" class="bdc_c" title="Author of this theme." target="_blank"><span style="white-space: nowrap;">Pn-Pn Theme by koni.</span></a>
Replace
Code: [Select]
<td width="28%" valign="bottom" align="center" style="padding: 3px 0 5px 0;" nowrap="nowrap" class="copyright_r"><div style="width: 100%; overflow: hidden;"><a href="http://bdc.s15.xrea.com/" class="bdc_c" title="Author of this theme." target="_blank"><span style="white-space: nowrap;">Pn-Pn Theme by koni.</span></a></div>
Find
Code: [Select]
      <td width="15" class="area_r">&nbsp;</td>
Replace
Code: [Select]
      <td width="15" class="area_r"><img src="', $settings['images_url'], '/area_blank.gif" border="0" alt="" /></td>
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Karecki on March 04, 2006, 06:23:43 PM
I like it too... :D

But changing from english to danish I get this message:

!!Attention of Pn-Pn theme:
You should put "Modifications.YourLanguage.php" on the "languages" directory ( http://www.naargudkalder.dk/forum/Themes/pnpn11rc2/languages/ ) in the theme of Pn-Pn.

I did that, but I still get the message! 

I dont get this with other themes, so does something have to be changed somewhere in your code?

I know that there is a lot of text strings missing in the danish files running 1.1 RC 2, but surely they should sort of work anyway. Well, they do, apart from that message on top of every page.  :(

Marlene
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 04, 2006, 07:01:24 PM
Hi,  :)

Will it be an empty file? It is not recognized in an empty file, because it judges it from the code included in the language file (File of "Modifications.english.php" included in Pn-Pn).

It is necessary to copy "Modifications.english.php" included in Pn-Pn, and to rename it to the language that you use additionally. If you use the Danish language, the name of the file will become "Modifications.danish.php".

I know that there is a lot of text strings missing in the danish files running 1.1 RC 2, but surely they should sort of work anyway. Well, they do, apart from that message on top of every page.  :(

Do not worry . It is displayed only to the administrator. ;)

Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: dancecubed on March 04, 2006, 09:29:19 PM
Is it possible to change the font used for the title/name of your forum?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: 1MileCrash on March 04, 2006, 10:05:26 PM
of course..

i dont understand these "is this possible" questions. Why the hell wouldnt it be? if you can put it there in the first place, it can be changed.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Karecki on March 05, 2006, 04:59:01 AM
Code: [Select]
It is necessary to copy "[i]Modifications.english.php[/i]" included in Pn-Pn, and to rename it to the language that you use additionally. If you use the Danish language, the name of the file will become "[i]Modifications.danish.php[/i]".

Thank you.
I used the standard modification file - I see now why that didn't work  ::)

Marlene
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Miraenda on March 05, 2006, 01:23:19 PM
of course..

i dont understand these "is this possible" questions. Why the hell wouldnt it be? if you can put it there in the first place, it can be changed.

Actually, newer people to webhosting do not always understand what it is possible to do for scripts they choose to use, including what regions are editable.  Recently, I had someone ask me this same type of question for a Joomla installation I did for him (about whether the header was changable).

I will admit, however, that frequently the question is asked about something being possible to do not because the person really wonders if it is possible to change something, but instead with the underlying meaning, "I don't know how to do this, can you do it for me?"  ;D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: dancecubed on March 05, 2006, 02:56:29 PM
of course..

i dont understand these "is this possible" questions. Why the hell wouldnt it be? if you can put it there in the first place, it can be changed.

Actually, newer people to webhosting do not always understand what it is possible to do for scripts they choose to use, including what regions are editable.  Recently, I had someone ask me this same type of question for a Joomla installation I did for him (about whether the header was changable).

I will admit, however, that frequently the question is asked about something being possible to do not because the person really wonders if it is possible to change something, but instead with the underlying meaning, "I don't know how to do this, can you do it for me?"  ;D
Correctomundo Miraenda, Sorry for not being clear on the question, can you please tell me how to do it?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 06, 2006, 07:14:46 AM
Look for the following code from "index.template.php". And, put the font for which you hope to the head of "font-family".

Quote
<div class="powered_by_smf" style="font-family: Georgia, sans-serif; font-size: 30px; padding: 5px 0 12px 90px; white-space: nowrap; float: left;">', $context['forum_name'], '</div>
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: dancecubed on March 06, 2006, 08:04:18 AM
Thank you!
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Karecki on March 06, 2006, 04:17:15 PM
I have squeezed my forum into a Joomla template, resulting in a scrollbar at the bottom of the page. I then gave all the tables a fixed width of 675 px, but I still have the scrollbar. Is there a way to get round this cosmetic issue?

http://www.naargudkalder.dk/index.php?option=com_wrapper&Itemid=30

Marlene
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 06, 2006, 06:26:39 PM
The scroll bar of the width doesn't come out even if it is necessary to reduce Pn-Pn up to this size (http://bdc.s15.xrea.com/snaps/0683.png). Therefore, another has the cause. For instance, image of too large header (http://www.naargudkalder.dk/templates/cb-sand/images/logo_header.gif).
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 06, 2006, 06:36:57 PM
I saw the source on your page and noticed it. Do not specify the width with px (675px). The width should be "100%".
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Dannii on March 07, 2006, 08:13:06 AM
A very nice theme.

I get these errors at every page:
Quote
8: Undefined index: top_avatar_resize
File: /**/Themes/default/Themes.template.php (eval?)
Line: 254

8: Undefined index: show_dhtml_menu
File: /**/Themes/default/Themes.template.php (eval?)
Line: 139

8: Undefined index: show_dhtml_menu
File: /**/Themes/default/Themes.template.php (eval?)
Line: 94
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 07, 2006, 06:44:09 PM
Thanks. :)

The problem occurs when the option of the theme is empty. The problem will be solved if it makes it to turning off after the option of the theme is set to turning on once. I set those options to "true" by default. However, there seems to be a thing that doesn't become effective.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Dannii on March 07, 2006, 07:08:16 PM
So turn them on and then off again? Thanks
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 07, 2006, 08:03:07 PM
Display the administration panel (Admin -> Configuration -> Current Theme), put the check in the following option, and push the "Save" button.


Next, remove the check on the option and push the "Save" button. Perhaps, I think that the error disappears by this. There is no problem in my environment at all. Still, if you still see the error, I will devise other methods.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: boost on March 08, 2006, 09:53:50 PM
nice layout!!
only how would you erase the title or the url that is displayed hugely on the top?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 09, 2006, 05:04:05 PM
Great theme... Thank you!!!

Could you please show me how to fix the cosmetic issue? I want it to look like the default theme.

(http://i2.tinypic.com/r1cxh4.jpg)

Thank you.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 11, 2006, 03:27:41 AM
Anyone....? Please help  :'(
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Dannii on March 13, 2006, 08:54:54 AM
You'll have to be more specific. What do you want to look like the default theme?

And setting, then unsetting the options removed the errors ;)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: TwinsX2Dad on March 13, 2006, 05:58:13 PM
Do you know what would make this theme perfect? A Tiny Portal version.

Is one planned or would you mind someone else doing a little modification to make it work?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 14, 2006, 01:55:06 AM
You'll have to be more specific. What do you want to look like the default theme?

And setting, then unsetting the options removed the errors ;)

Isn't the image of the fix I wanted show?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Dannii on March 14, 2006, 02:10:59 AM
Hmm weird. There wasn't an image when I posted that.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 14, 2006, 02:28:59 AM
LOL..
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 15, 2006, 05:21:25 AM
No one is able to help me out?  :(
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 16, 2006, 03:59:29 PM
I updated this theme.


The user who has already used this theme need not update it.

@boost:
I do not understand the place that you say. Can you explain to me in the image?

@ilmainen:
Delete "BoardIndex.template.php" of this theme.

@Purple:
Because I had requested the permission for someone to remodel this theme for TinyPortal, I permitted it. If he shares it, it might be securable. However, I will not support the problem by the remodeled thing.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: boost on March 16, 2006, 06:28:28 PM
@ koni

(http://img136.imageshack.us/img136/3337/sd5oc.gif)
how would you change or delete this text here?
:(
sorry, im a noob
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 16, 2006, 07:00:04 PM
Look for the following code from among the "index.template.php" file. And, change it as you want the part displayed in red.

Quote
<div class="powered_by_smf" style="font-family: Georgia, sans-serif; font-size: 30px; padding: 5px 0 12px 90px; white-space: nowrap; float: left;">', $context['forum_name'], '</div>
<div style="float: right; width: 80%;"><!-- blank --></div>

For instance, replace it with "&nbsp;"...

Quote
<div class="powered_by_smf" style="font-family: Georgia, sans-serif; font-size: 30px; padding: 5px 0 12px 90px; white-space: nowrap; float: left;">&nbsp;</div>
<div style="float: right; width: 80%;"><!-- blank --></div>
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 17, 2006, 03:06:31 AM
Hi koni,

Glad that you are back :)

When I deleted the BoardIndex.template.php, the whole forum body looks like default which is not pretty. I just want the "Last post" align to the left like the default theme and the "Posts & Topics" are in one cell, with the text Posts and Topics.

Also, is it possible to change the logo and the text "powered by simple machines"? Can you show me how to do it?
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: boost on March 17, 2006, 03:49:37 AM
@ koni
thanks so mucho!

@ilmainen
just open up photoshop and copy and paste the right portion of the images needed editing, which doesn't have the writing, and paste it over the left side with the writing.
then just save and rewrite it over the original image
and upload
that's what i think should work ;D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 18, 2006, 12:49:27 AM
When I deleted the BoardIndex.template.php, the whole forum body looks like default which is not pretty. I just want the "Last post" align to the left like the default theme and the "Posts & Topics" are in one cell, with the text Posts and Topics.

Edit "BoardIndex.template.php" as follows.

Find:
Code: [Select]
<td rowspan="2" class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">'
Replace:
Code: [Select]
<td class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">
Find:
Code: [Select]
<td rowspan="2" class="windowbg2" align="left">
Replace:
Code: [Select]
<td class="windowbg2" align="left">
Find:
Code: [Select]
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 13ex;"><span class="smalltext">';

if(empty($settings['show_topics_posts_help']))
echo '
<img style="float:right; margin-right: 3px; margin-left: -12px; cursor:help;" src="' . $settings['images_url'] . '/topics_posts_h.gif" alt="', $board['topics'], ' ', $txt['topics_posts_topics'], ' ', $txt['topics_posts_in'], ' ', $board['name'], '" title="', $board['topics'], ' ', $txt['topics_posts_topics'], ' ', $txt['topics_posts_in'], ' ', $board['name'], '" border="0" />';

echo '
', $board['topics'],'
</span></td>
<td rowspan="2" class="smalltext" valign="middle" width="22%">';

/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))

echo '
<div style="float: left;">
', $board['last_post']['link'], '<br />', $txt[525], ' ', $board['last_post']['member']['link'], '</div>';

if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif'))

echo '
<br /><div style="float: right; white-space: nowrap;">', $board['last_post']['time'], '&nbsp;<a href="', $board['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" /></a></div>';

echo '
</td>
</tr>
    <tr>
<td class="windowbg" style="width: 13ex;" align="center" valign="middle"><span class="smalltext">';

if(empty($settings['show_topics_posts_help']))
echo '
<img style="float:right; margin-right: 3px; margin-left: -12px; cursor:help;" src="' . $settings['images_url'] . '/topics_posts_h.gif" alt="', $board['posts'], ' ', $txt['topics_posts_posts'], ' ', $txt['topics_posts_in'], ' ', $board['name'], '" title="', $board['posts'], ' ', $txt['topics_posts_posts'], ' ', $txt['topics_posts_in'], ' ', $board['name'], '" border="0" />';

echo '
', $board['posts'], '
</span></td>
    </tr>';

Replace:
Code: [Select]
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
', $board['posts'], ' ', $txt[21], ' <br />
', $board['topics'],' ', $txt[330], '
</span></td>
<td class="windowbg2" valign="middle" width="22%">
<span class="smalltext">';

/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>
</td>
</tr>';

And, if " Board name, Topics/Posts, Last post" is not needed, you delete the following code.

Code: [Select]
echo '
<tr class="catbg">
<td colspan="2" height="18" class="catbg_n">';
echo '
', $txt[20], '
</td><td class="catbg_n" style="width: 13ex;" nowrap="nowrap"><span style="white-space: nowrap;">', $txt[64], '/', $txt[26], '</span></td><td class="catbg_n" width="22%">', $txt[22], '</td>
</tr>';

Quote
Also, is it possible to change the logo and the text "powered by simple machines"? Can you show me how to do it?

A lot of corrections might be necessary to make it display at the same position. I will not do it.  Because I am having it forcibly displayed. :P Therefore, it is easier to exchange the image.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 18, 2006, 01:24:24 AM
It is not complex when thinking. :P

Add the following correction to "index.template.php".

Find:
Code: [Select]
<div class="powered_by_smf" style="font-family: Georgia, sans-serif; font-size: 30px; padding: 5px 0 12px 90px; white-space: nowrap; float: left;">', $context['forum_name'], '</div>
Replace:
Quote
<div style="white-space: nowrap; float: left; padding: 5px 0 12px 90px; text-align: right;"><span style="font-family: Georgia, sans-serif; font-size: 30px;">', $context['forum_name'], '</span><br /><span style="font-size: small;">Word for which you hope</span></div>

Change it into the word that you want the part of a red character.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: xtremecruiser on March 18, 2006, 07:24:34 PM
I must say this is a really cool looking theme !!!
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: ilmainen on March 19, 2006, 03:14:56 AM
Thank you extremely very much koni!!!!!!!

Everything works perfectly.  ;D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 26, 2006, 07:21:25 PM
I updated this theme. :) There is no bug patch, and the function addition is the main. Therefore, the user satisfied with a present function doesn't have the updated necessity.

The main change points:

xtremecruiser
Thanks. :)

ilmainen
;)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: EgAr on March 30, 2006, 12:29:08 AM
Sorry for my very bad english

very good update


question

Is posible add the possibility of choose the wide of forum (760px or 100%) like "Saf Theme (http://www.simplemachines.org/community/index.php?topic=49727.0)" ?

thanks  8)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on March 30, 2006, 08:44:36 AM
I will not put it in to the option though it is easy. I do not understand why to fix the width of the theme flexibly designed to correspond.

A user will see your forum by a variety of image resolutions. Or, a user will see your forum without displaying the bookmark. And, a user displays the bookmark and, of course, sees your forum. The width of a browser is various as well as the person who sees.

If the fixation of the width of your theme is hoped, the following correction is added to "index.template.php".

Find:
Code: [Select]
<body>
<a name="top_t" id="top_t"></a>';

Replace:
Quote
<body>
<div style="width: 760px; margin-left: auto; margin-right: auto;">
<a name="top_t" id="top_t"></a>';

The red character is specified by your favorite width.

Find:
Code: [Select]
echo '
</body>
</html>';

Replace:
Code: [Select]
echo '
</div></body>
</html>';
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: EgAr on March 30, 2006, 04:13:11 PM
Tank you

the reason is that the forum is equal using monitor of 15" with resolution 800x600px or of 17" resolution 1024x768px, those are the most used resolution in my country. 


Sorry for my bad english (google is my friend)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: bouton on May 22, 2006, 10:40:15 AM
Love this theme.

How do I add a help button, like a question mark or something, some where near the top of the post page
which would point to http://docs.simplemachines.org/index.php?board=22.0;sort=subject (http://docs.simplemachines.org/index.php?board=22.0;sort=subject/)

thanks
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: L.G.S on June 01, 2006, 04:15:31 PM
I installed the Guests need to register to view links mod, and then uninstalled it, and now no one can see links at all, any help please??
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: L.G.S on June 03, 2006, 08:58:44 AM
Please...I really need this...no one can see links AT ALL, and if I use the hyperlink bb code with text (eg Click here!) the link changes to the current topics link.

Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on June 03, 2006, 09:34:52 AM
Please...I really need this...no one can see links AT ALL, and if I use the hyperlink bb code with text (eg Click here!) the link changes to the current topics link.



Mods doesn't give the change to this theme though I wrote in FAQ a little. Because the target of mod is a theme of default. Therefore, you only have to return it based on the part if it customized it so that you may match this theme to mod by hand power.

I recommend you to return default the theme. And, confirm whether to find the same trouble. And, consult by the category of "Mods and Packages" if the same problem exists. Perhaps, an appropriate answer will be obtained.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: L.G.S on June 03, 2006, 10:16:22 AM
When I said I installed the mod, I meant manually

The problem happens on both themes.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on June 03, 2006, 05:52:17 PM
Did not you uninstall the mod? Is there a problem only in this theme after uninstalling mod? If it is so, an easy solution is a thing to overwrite the theme with the new files.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: L.G.S on June 04, 2006, 09:17:39 AM
I just said, I installed the mod manually, and then I uninstalled it manually. I double checked i did everything properly and I did.

Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Takeo on June 05, 2006, 06:29:34 PM
Hi there!

Congrats for the great theme you've made!
I'm here to ask if it is possible to set a fixed width with this theme?
Like for example, having 780px of width instead of having the one of the current size of the browser window.

I hope I've explained myself. :S

Thanks for all!

P.S. - Sorry for my awful english.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: EgAr on June 06, 2006, 12:55:06 AM
I'm here to ask if it is possible to set a fixed width with this theme?
Like for example, having 780px of width instead of having the one of the current size of the browser window.

http://www.simplemachines.org/community/index.php?topic=71402.msg527599#msg527599





[offtopic]
¿eres el mismo takeo que postea en el antro?
[/offtopic]
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Takeo on June 07, 2006, 09:02:30 PM
At the top of my forum I keep getting this message that I don't fully understand:

Quote
Attention of Pn-Pn theme:
You should put "Modifications.portuguese.php" on the "languages" directory ( http://canal-manga.info/forum/Themes/pnpn11rc2c/languages/ ) in the theme of Pn-Pn.

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

Could someone help? :S
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Hylander on June 07, 2006, 10:08:10 PM
I really like this theme, but it's confusing as all hell to attempt to modify.

Could you please explain to me how you can modify the header?   I created my own image files and uploaded them in place of the default ones, named them the same, and it doesn't work.   I went into Photoshop and edited the existing files, saved them, and then reinstalled the theme with the new image files, and it doesn't work.  The theme loads with no images or anything?   Very frustrating...   I didn't change any of the layout or other code, only altered the images it doesn't work?

Any help would be greatly appreciated.     
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on June 08, 2006, 06:46:04 AM
Hi, :)

I just said, I installed the mod manually, and then I uninstalled it manually. I double checked i did everything properly and I did.

Does not work mod, installed with the manual ? This theme is a little complex. If the file that you corrected is "Display.template.php", the same work might have to be done twice.

Change "Posters information position" from the administration panel, and confirm whether mod operates. And, your correction is insufficient when operating.
The position of "Posters information position" is changed into this theme top or left. Therefore, the same work is needed twice (The location that should be corrected doubles.).

Note: The code of "top (default)" and "left" is different though it is natural. The code of mod will be able to be applied to mod perhaps without the change. However, the code of mod should be likely to be modified to "top (default)". Because there are many change parts in "top (default)".

At the top of my forum I keep getting this message that I don't fully understand:

Download "Modifications.english.php" from "http://canal-manga.info/forum/Themes/pnpn11rc2c/languages/" with a FTP software. Next, rename downloaded "Modifications.english.php" to "Modifications.portuguese.php". And, up-load "Modifications.portuguese.php" to "http://canal-manga.info/forum/Themes/pnpn11rc2c/languages/" . Done. ;)

I really like this theme, but it's confusing as all hell to attempt to modify.

Could you please explain to me how you can modify the header?   I created my own image files and uploaded them in place of the default ones, named them the same, and it doesn't work.   I went into Photoshop and edited the existing files, saved them, and then reinstalled the theme with the new image files, and it doesn't work.  The theme loads with no images or anything?   Very frustrating...   I didn't change any of the layout or other code, only altered the images it doesn't work?

Any help would be greatly appreciated.     

This theme can change the main color from administration panel. Moreover, the images of the header are changed according to the color. Therefore, you should change the header images who matched it to the color used. Search in the "images" directory. I have divided the directory according to the colors.

Still, when the image doesn't change, the cache of a browser might be a cause.
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Hylander on June 08, 2006, 09:33:57 AM
This theme can change the main color from administration panel. Moreover, the images of the header are changed according to the color. Therefore, you should change the header images who matched it to the color used. Search in the "images" directory. I have divided the directory according to the colors.

Still, when the image doesn't change, the cache of a browser might be a cause.

Thanks for the reply!   I was doing that, I was using the 'lightgray' color.  I did modify the images in that folder, as well as ones in the main image gallery, as all I really want to do is get rid of the smf logo in circles.  It's easy enough to get rid of the one on the left, by simply creating your own main logo.   But I want to remove the two on the right hand side, and I was taking the various backgrounds, and copying the gradient over the smf logo circles. 

Although I did do a 'shift-reload', It could very well have been a cache problem.   However, on one attempt, I simply uninstalled the theme, edited all the images, and then reinstalled the theme with the edited images and no images showed up.   I'm obviously doing something wrong here.   :P

I'll give it another shot today or tonight and report back.   I really like the theme and appreciate your response.  Thanks!

Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: iBrood on June 09, 2006, 03:00:17 AM
I am completely new to CSS and I wish to change the font of my community's title (name). Which CSS attribute do I add/modify to bring such a change into effect.

Thanks,
Abhinav
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Hylander on June 09, 2006, 09:30:24 AM
Just a follow up Koni...  it must have been the cache because all my changes worked fine this time.   Thanks for your work, it's much appreciated!   Particularly by those of us who have limited skills.  ;)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on June 09, 2006, 07:57:37 PM
I am completely new to CSS and I wish to change the font of my community's title (name). Which CSS attribute do I add/modify to bring such a change into effect.

The following link will help you.
http://www.simplemachines.org/community/index.php?topic=71402.msg504342#msg504342

@Hylander:
 ;)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Gobo on June 11, 2006, 08:25:43 PM
hi koni

i realy love our Pn Pn theme

im using the modified version for TP on my site

thanks for a great art work :D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: weber on June 12, 2006, 09:49:57 AM
Thanks, akulion. I am glad for you to like this theme. :D
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: moTaro on July 01, 2006, 09:07:01 AM
Awesome theme, very precise, I use it on my forum only I have completely modified DisplayTemplate

I have completely butchered Posting Display :)


Check it out..  http://forum.marifet.com.mk (it is Cyrrilic Enocoding)


Great theme!

Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: southernlady on July 13, 2006, 05:18:24 AM
I'm usually pretty good at this, finding all the pieces of something to re-color in a theme but this one has me baffled. I've poked and prodded trying to find this ONE piece and just can NOT find it. Other than that, the skin is perfect for the forum. It's a private, members only forum for a Red Hat Society group and I needed a red and purple theme. None out there but your red theme worked, with a modification. All I needed to do was color everything that was black, purple.

However, one problem, I have this HOLE. I can NOT find the piece that goes in there. It's black, I know that, suppose to be purple and I've colored every black graphic in the image folder and in the red image folder.

Any ideas as to where I might be going wrong? Attached is a screen shot. Liz

http://www.magichatsmi.com/images/Graphics/MagicHatsMI.jpg (http://www.magichatsmi.com/images/Graphics/MagicHatsMI.jpg)
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: Ryanna on July 24, 2006, 07:10:06 AM
I posted on the other thread for this but got no answer. I recently installed SMF and this theme (around 3-4 weeks ago)

I have a problem with the oversized screenshots posted in the template.

http://i15.photobucket.com/albums/a389/ryanna1/baa28ced.jpg (http://i15.photobucket.com/albums/a389/ryanna1/baa28ced.jpg)

If I change to another template this doesn't happen and I cannot find whether there is an option I am missing to change this or if a flaw in the template or if it's my flaw.

I don't want to use the Admin - > Features -> Basic -> images posted sizes options because it shrinks the pictures badly and text on is unreadable (I already tried this).

That said, what is different here that is working fine in the other templates (example the auto scroll on each post if the image is oversized?)

Thanks
Title: Re: [Theme] Pn-Pn for 1.1 RC 2
Post by: jimbo21 on August 21, 2006, 09:33:15 PM
Is there any chance this theme will be released for 1.1RC3 or the 1.1 Final?
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: weber on August 23, 2006, 07:27:37 AM
I posted on the other thread for this but got no answer. I recently installed SMF and this theme (around 3-4 weeks ago)

I have a problem with the oversized screenshots posted in the template.

http://i15.photobucket.com/albums/a389/ryanna1/baa28ced.jpg (http://i15.photobucket.com/albums/a389/ryanna1/baa28ced.jpg)

I'm sorry that the answer is late. My present motivation is low. :-\
You replace it looking for the following code from "style.css".

Find
Code: [Select]
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
line-height: 1.3em;
}

Replace
Code: [Select]
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}

Is there any chance this theme will be released for 1.1RC3 or the 1.1 Final?

I finished the work. ;)
http://themes.simplemachines.org/index.php?lemma=5
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: chrishoggy on September 20, 2006, 06:10:17 PM
Just like to say, this theme rocks 8) 8) 8)
With a few pointers, I've got the streaming 3 and galley mods working and it looks great. Thanks for the work you put in to this theme ;D :D :D :D
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: ZyanKLee on October 05, 2006, 03:53:00 PM
this one is awfully great ... thanks a lot
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: taikahn on February 24, 2007, 07:29:01 PM
Very nice theme -- I am modding it for my own use, check it out here: www.corforums.com

Thanks!
Tai


I just switched from phpBB2 this morning and so far I am loving it.
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: mapandy on February 26, 2007, 02:23:18 AM
Very nice theme.  
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: samo8076 on May 07, 2007, 04:07:16 PM
great theme though im stuck with 2 things. iv changed the colors of the template and all is great except i cant figure out where to change the colour at the side of the frame, its only one tiny bit but cant figure it out. also at the top next to the menu iv got a big white stripe which too i cant get rid of.

here is a pic, any help would be great.

(http://www.smcezsite.co.uk/pnpn.gif)

thanks
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: samo8076 on May 08, 2007, 09:21:58 AM
anybody? :-(
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: god_made_me_do_it on June 26, 2007, 08:02:44 AM
I'm having trouble adding a Gallery tab to this theme and got sent here, which in turn sent me to the tutorial for the Core theme, which I'd already looked at ages ago anyway and didn't seem to work, not to mention a bit vague to begin with (I'm completely new to PHP and this stuff so please be patient). I tried the guide and sort of got what the code was trying to do but it didn't work - also I got massively confused by this -

Quote
' , $txt[103] , ' - is the text string that 'Home'.  As you see the variable is insde ' , , '.  The reason for this is because it's inside an echo.  If you are going to hard code the name in the menu you do not need to put ' , , ' around it.

Apart from the first sentence not actually making any sense, I still couldn't translate what on earth that was on about anyway since it's clearly referring to people who understand the code in the first place.. so yeah basically I'm a noob, and can someone just show me the correct code to place in this theme to add a gallery tab please?
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: Jalkson on June 27, 2007, 11:40:33 PM
To answer your question god_made_me_do_it. 

Find this.
Code: [Select]
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';

And after it add this.
Code: [Select]
// Show the [gallery] button.
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['gallery'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';

Then open up the modifications.english.php file, and

After this
Code: [Select]
// Pn-Pn ADD
Add this
Code: [Select]
$txt['gallery'] = "Gallery";
This would be my first time telling someone how to edit.  If you have any trouble feel free to ask.
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: Basie on November 07, 2007, 01:41:26 PM
To answer your question god_made_me_do_it. 

Find this.
Code: [Select]
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';

And after it add this.
Code: [Select]
// Show the [gallery] button.
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['gallery'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';

Then open up the modifications.english.php file, and

After this
Code: [Select]
// Pn-Pn ADD
Add this
Code: [Select]
$txt['gallery'] = "Gallery";
This would be my first time telling someone how to edit.  If you have any trouble feel free to ask.

The above fix adds a new tab to access the gallery, however the link to the gallery settings (in the config menu of the admin pannel) is still missing.

Could someone please post the fix for this. Thanks.
Title: Re: [Theme] Pn-Pn for 1.1 RC 3
Post by: Horme Gaming on January 10, 2008, 09:40:30 AM
Topic is now locked please refer to:

http://www.simplemachines.org/community/index.php?topic=76711.0