vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add another box to "Whats going on" (https://vborg.vbsupport.ru/showthread.php?t=112377)

CrazyShooter 04-06-2006 10:00 PM

Add another box to "Whats going on"
 
Okey look at the screen shot for an example, you can add anything you want in to the box..

FIND IN FORUMHOME
PHP Code:

<!-- end today's birthdays -->
</if> 

UNDER ADD
PHP Code:

<!-- ADD-IN BOX -->
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">[B]TITLE HERE[/B]td>
    </
tr>
</
thead>
<if 
condition="$show['loggedinusers']">
<!-- 
logged-in users -->
<
tbody id="collapsbj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <
tr>
        <
td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]border="0" /></a></td>
        <
td class="alt1" width="100%">
            <
div class="smallfont">
<
center>



<!-- 
EDIT TEXT HERE -->

    [
B]Blah blah blah[/B]
    
<!-- 
EDIT TEXT HERE -->



</
center>
        </
td>
    </
tr>
</
tbody>

</if>
<
br />
<!-- 
end ADD-IN BOX--> 


Rickie3 04-07-2006 08:55 AM

ahhh wheres the screenshot??

DementedMindz 04-07-2006 12:29 PM

Quote:

Originally Posted by Rickie3
ahhh wheres the screenshot??


i think they forgot it lol :surprised:

Lottis 04-07-2006 12:57 PM

Perhaps a stupid question. But, in witch templates, should this be?

The Realist 04-07-2006 01:03 PM

There is only one template M8 with the code:

Code:

<!-- end today's birthdays -->
</if>

And thats the forumhome template.

Laters

Quote:

Originally Posted by Lottis
Perhaps a stupid question. But, in witch templates, should this be?


Rickie3 04-07-2006 01:30 PM

Quote:

Originally Posted by The Realist
There is only one template M8 with the code:

Code:

<!-- end today's birthdays -->
</if>

And thats the forumhome template.

Laters

thanks for clarifying that,maybe coder needs to update for newbies:banana:

firstrebel 04-07-2006 01:32 PM

Code:

<img src="$stylevar[imgdir_misc]/whos_onnline.gif"
Typo?

Bob

Rickie3 04-07-2006 01:35 PM

Quote:

Originally Posted by firstrebel
Code:

<img src="$stylevar[imgdir_misc]/whos_onnline.gif"
Typo?

Bob

definately

CrazyShooter 04-07-2006 01:58 PM

All fixed, thanks for pointing them out

Snake 04-07-2006 07:44 PM

I'm loving this! :D

NR Fatal 04-07-2006 09:26 PM

When I added your code I noticed that the "td>" tag was showing along with the Bold tags, so I adjusted it incase anyone else was having the same issue.

Original Code
PHP Code:

<!-- ADD-IN BOX -->
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">[b]TITLE HERE[/b]td>
    </
tr>
</
thead>
<if 
condition="$show['loggedinusers']">
<!-- 
logged-in users -->
<
tbody id="collapsbj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <
tr>
        <
td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]border="0" /></a></td>
        <
td class="alt1" width="100%">
            <
div class="smallfont">
<
center>



<!-- 
EDIT TEXT HERE -->

 [
b]Blah blah blah[/b]
    
<!-- 
EDIT TEXT HERE -->



</
center>
        </
td>
    </
tr>
</
tbody>

</if>
<
br />
<!-- 
end ADD-IN BOX--> 


Adjusted Code
PHP Code:

<!-- ADD-IN BOX -->
<
thead>
    <
tr>
        <
td class="tcat" colspan="2"><B>TITLE HERE</B><td>
    </
tr>
</
thead>
<if 
condition="$show['loggedinusers']">
<!-- 
logged-in users -->
<
tbody id="collapsbj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <
tr>
        <
td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]border="0" /></a></td>
        <
td class="alt1" width="100%">
            <
div class="smallfont">
<
center>



<!-- 
EDIT TEXT HERE -->

 <
B>Blah blah blah</B>
    
<!-- 
EDIT TEXT HERE -->



</
center>
        </
td>
    </
tr>
</
tbody>

</if>
<
br />
<!-- 
end ADD-IN BOX--> 


nasser71 04-08-2006 08:47 AM

thanks

Konstantinos 10-23-2006 06:39 PM

cool i i use it with conjuction of show latest subscribers in forum home

mrkhm 01-26-2007 10:42 AM

works a treat vb 3.6.4 *installed

rooban12 06-21-2007 07:07 AM

not working for 3.6.7 PL1

Hornstar 06-24-2007 10:41 AM

cant find <!-- end todays birthdays --> in 3.6.7 either, what a shame, this is what i am looking for, is there any other alternatives?

s-p0k 06-25-2009 07:43 PM

how do u post a pic in it?


All times are GMT. The time now is 06:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01370 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete