Advertisement:

Author Topic: [Theme] Pn-Pn for 1.1 RC 3  (Read 99778 times)

Offline boost

  • Newbie
  • *
  • Posts: 4
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #60 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

weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #61 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.

weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #62 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.

Offline xtremecruiser

  • Jr. Member
  • **
  • Posts: 375
    • GolfDiscussions.com
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #63 on: March 18, 2006, 07:24:34 PM »
I must say this is a really cool looking theme !!!

Offline ilmainen

  • Semi-Newbie
  • *
  • Posts: 17
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #64 on: March 19, 2006, 03:14:56 AM »
Thank you extremely very much koni!!!!!!!

Everything works perfectly.  ;D

weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #65 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:
  • "Posters info"(Avatar, Star,  etc...) of "Display.template.php" can be specified also for the left just like the default theme.
    Admin -> Configuration -> Current Theme -> Posters information position

xtremecruiser
Thanks. :)

ilmainen
;)

Offline EgAr

  • SMF Hero
  • ******
  • Posts: 1,596
  • Gender: Male
  • [=';'=]
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #66 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" ?

thanks  8)

weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #67 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>';

Offline EgAr

  • SMF Hero
  • ******
  • Posts: 1,596
  • Gender: Male
  • [=';'=]
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #68 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)

Offline bouton

  • Newbie
  • *
  • Posts: 4
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #69 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

thanks

Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #70 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??
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #71 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.

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #72 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.

Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #73 on: June 03, 2006, 10:16:22 AM »
When I said I installed the mod, I meant manually

The problem happens on both themes.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


weber

  • Guest
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #74 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.

Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #75 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.

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline Takeo

  • Semi-Newbie
  • *
  • Posts: 10
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #76 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.

Offline EgAr

  • SMF Hero
  • ******
  • Posts: 1,596
  • Gender: Male
  • [=';'=]
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #77 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]

Offline Takeo

  • Semi-Newbie
  • *
  • Posts: 10
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #78 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/ [nofollow] ) 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

Offline Hylander

  • Newbie
  • *
  • Posts: 9
Re: [Theme] Pn-Pn for 1.1 RC 2
« Reply #79 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.