Not Solved Condition and vb navbar for 1.20
#91
Not Solved
That's what the "find updated" tool within the admin cp should have done.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#92
Not Solved
* flick ish a newbie MyBB user *runs away and clicks furiously on that 'Find updated' tool* Smile

Thanks, destroyer! ^^
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
#93
Not Solved
Didn't you read the announcement? Toungue

I hope it's working now.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#94
Not Solved
destroyer Wrote:Didn't you read the announcement? Toungue

I hope it's working now.

Evidently only the first one-and-a-half posts! Cool
Still working on it, but am trying hard! ^^ Will remember to read the announcement posts *in full* from now on though!
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
#95
Not Solved
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)
$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! Smile I will make notes of any new changes to make the template codes more standards compatible and post them gradually.
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
#96
Not Solved
But won't anybody solve my problem ? When i add these code on a theme then i can't logout !!

Help please....
Reply
#97
Not Solved
Murad12s: http://community.mybboard.net/showthread...#pid143320
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
#98
Not Solved
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 Sad

What can i do now ?? You can see that here www.mydreamtech.com

Thanks and waiting for ur early reply.....
Reply
#99
Not Solved
Glad it worked for you - have to thank judel for posting the link in the first place Smile

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? Smile
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
Not Solved
Wow many many thanks bro.....
Now everythings ok...u helped me more.....

Again thanks......
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)