RC2 ---default theme problem---

Started by Nitro, January 01, 2006, 11:50:17 AM

Previous topic - Next topic

Nitro

i am not sure if i should post this question here.
i have upgrade to RC2 works great, except the theme is not in place, as shown below:

this is the defaul theme


as you can see marked with red, the theme doesn't match with the box above.
how can i fix that?

any suggestions?
i'd appraciate it!
thank you!
MPF Rocks!!!

bloc

It would seem that long sentences "push" the box outwards... Is this in Explorer, Firefox/Netscape or Opera?

Nitro

you are right, the long subject pushes the theme, i noticed that while browsing the the other posts every thing looks great except in the main index.
i am using internet explorer.
MPF Rocks!!!

bloc

I am doing some testing, to see how it can be solved.

Nitro

awesome! also, while doing that, the options to make the links look like tree-mode like don't work, everything is inlike links, like this:
Simple Machines Community Forum  |  SMF Support  |  General English Support  |  Install and Upgrade Help  |  Post reply ( Re: RC2 ---default theme problem--- )
and no matter what it doesn't change to the tree view like.

thank you and you ROCK!!!
MPF Rocks!!!

bloc

Ok, it seems I put two non-wrapping cells next to each other :P, have updated the theme, but here is what you can do: Open up BoardIndex.template.php and find:

foreach ($context['latest_posts'] as $post)
echo '
<tr>
<td class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ',


then replace with this:
foreach ($context['latest_posts'] as $post)
echo '
<tr>
<td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (',



The inline style is permament for this theme I am afraid, tree-look is not used. But you could have it anyway..by copying the whole theme_linktree() function from babylon theme over to default(or preferably a copy of default).

Nitro

cool beans! that worked just great! thank you
while doing that i found another thing, all my main boards are not sorted the way i left them before the upgrade when showing in the forum index, however when i go to the admin section to look into the boards section, amazing thing is... all the boards appear just in the order they were before! Ah! one more thing, not all the child boards show below the name of the boards.

see this picture below:
as you can see here the missing child boards not showing and the order as well is not correct only in the main index but in the admin section they all show up ok.



i appreciate your time, thank you man!
MPF Rocks!!!

bloc

I am not sure what this can be..since the child/parent should work just fine...I see some extras on the side there, is that custom html or from a portal perhaps?

Nitro

#8
oh yeah, that is the joomla portal. i thought about that as well, i thought joomla was causing the child boards not to show or not getting in order as well. when i installed the upgrade i removed all packages including the joomla bridge so i made the forum stand alone before making the upgrade.
the installation went fine, except for the detail yo helped me and this last one about the child boards.

i installed again the component for joomla and tried wrapped and unwrapped to see if something else would come up, but nothing, no major error.

would you like to take a close look at maybe ftp or admin or something? would you like me to check something else instead?

thank you man.

EDIT: after making a fresh installation the child boars were not in place either way.
MPF Rocks!!!

SADISM

#9
Yeah, I noticed misordered categories and boards on my test forum ONLY when I had the smf_boards (and maybe the smf_categories) table as InnoDB (this was late last night, like 7am so I don't remember exactly which, ok it was morning). With the table as InnoDB, boards and categories didn't reorganize, although in the admin area it showed them in the proper order. When the table(s) was(were) MyISAM all were ordered just fine. May not be related, but thought I'd point it out.

Also, (unless this is address elsewhere) there seemed to be a </span> missing in the index.template.php file up around the login box on the Core theme; this was causing the html to not validate for guests.
hxxp:sealfate.com [nonactive]

bloc

It might be something like that, I am not sure. The theme only shows whats offered to it, so if that is wrong, the showing will be wrong.

The missing </span> has been resolved:
http://www.simplemachines.org/community/index.php?topic=63453.msg438496#msg438496

Advertisement: