2007-07-12, 12:26 PM
2007-07-12, 12:31 PM
* flick ish a newbie MyBB user *runs away and clicks furiously on that 'Find updated' tool*
Thanks, destroyer! ^^
Thanks, destroyer! ^^
2007-07-12, 12:34 PM
Didn't you read the announcement?
I hope it's working now.
I hope it's working now.
2007-07-12, 12:42 PM
destroyer Wrote:Didn't you read the announcement?
I hope it's working now.
Evidently only the first one-and-a-half posts!
Still working on it, but am trying hard! ^^ Will remember to read the announcement posts *in full* from now on though!
2007-07-13, 11:52 PM
If anyone has had issues with the 'if condition' not working (where even guests can see the "Private messages" and a string of nonsense) - with (complete) reference to this thread:
Open inc/class_templates.php
and find (around Line 101 in the latest version)
and add below
So no major template changes, thankfully! I will make notes of any new changes to make the template codes more standards compatible and post them gradually.
Open inc/class_templates.php
and find (around Line 101 in the latest version)
$template = str_replace("\\'", "'", $db->escape_string($template));
and add below
$template= str_replace("<if condition=","\".iif(",$template);
$template= str_replace("<then>",",\"",$template);
$template= str_replace("<else />","\",\"",$template);
$template= str_replace("</if>","\").\"",$template);
So no major template changes, thankfully! I will make notes of any new changes to make the template codes more standards compatible and post them gradually.
2007-07-18, 02:40 PM
But won't anybody solve my problem ? When i add these code on a theme then i can't logout !!
Help please....
Help please....
2007-07-18, 05:55 PM
2007-07-20, 12:26 PM
Thanks flick u r helping me lots !! Now i can sign out but now facing another problem.....After applying this now i see last post in thread column and thread count show in last post column
What can i do now ?? You can see that here www.mydreamtech.com
Thanks and waiting for ur early reply.....
What can i do now ?? You can see that here www.mydreamtech.com
Thanks and waiting for ur early reply.....
2007-07-20, 12:44 PM
Glad it worked for you - have to thank judel for posting the link in the first place
One of the edits the Navbar makes to Forum Bit Templates > forumbit_depth2_forum:
but for your case you might want to use
which is simply to move
It might be worth going through the edits first next time before posting?
One of the edits the Navbar makes to Forum Bit Templates > forumbit_depth2_forum:
Quote:<tr> <td class="{$bgcolor}" align="center" valign="middle"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td> <td class="{$bgcolor}" valign="middle"> <strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div> </td> <td class="{$bgcolor}" valign="midlle" width="21%" align="left" style="white-space: nowrap">{$lastpost}</td> <td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td> <td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td> </tr>
but for your case you might want to use
<tr>
<td class="{$bgcolor}" align="center" valign="middle"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="{$bgcolor}" valign="middle">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="middle" width="21%" align="left" style="white-space: nowrap">{$lastpost}</td>
</tr>
which is simply to move
<td class="{$bgcolor}" valign="middle" width="21%" align="left" style="white-space: nowrap">{$lastpost}</td>
to become the last column before </tr>It might be worth going through the edits first next time before posting?
2007-07-20, 01:33 PM
Wow many many thanks bro.....
Now everythings ok...u helped me more.....
Again thanks......
Now everythings ok...u helped me more.....
Again thanks......