vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   DevBox Work - Online Users Today, Latest Threads, Top Posters, Newest Members (https://vborg.vbsupport.ru/showthread.php?t=63109)

Rick Sample 10-30-2004 10:51 AM

Quote:

Originally Posted by Chroder
Out-of-the-box, yes. You'll have to modify the templates on your own if you want it to look like mine (On the side, that is). If I have time I'll write an addon that will make the side bar.

I have done this for you all.

First in FORUMHOME find:
$navbar

After add:
PHP Code:

<!--*** \/ COLUMN SETUP \/ ***-->
<
table cellspacing="0" cellpadding="0" width="100%"><tr><td valign="top">
<!--*** /\ 
COLUMN SETUP /\ ***--> 

2nd in forumhome find:
<!-- / icons and login code -->

After add:
PHP Code:

<!--*** \/ COLUMN SETUP \/ ***-->
</
td><td valign="top" width="220" style="padding-left: 10px;">
<!--*** /\ 
COLUMN SETUP /\ ***-->
<!-- 
DEVBOX LATEST THREADS -->
<
table class="tborder" cellpadding="6" cellspacing="1" width="100%">
<
tbody>
    <
tr>
        <
td class="thead">
            <
a style="float:right" href="#top" onclick="return toggle_collapse('devbox_latest_threads')"><img id="collapseimg_devbox_latest_threads" src="db_style/buttons/collapse_thead.gif" alt="" border="0" /></a>

            
Latest Threads
        
</td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_devbox_latest_threads" style="">
    <
tr>
        <
td class="alt1">
            <
table cellspacing="0" cellpadding="0" width="100%">
            <
tr><td class="smallfont" style="padding-bottom:6px;padding-top:6px;border-bottom: 1px solid #C1D5ED">
<
tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
    <
tr>
        <
td class="alt2">&nbsp;</td>
        <
td class="alt1"><div class="smallfont">$threadbits</div></td>
    </
tr>
</
tbody>
            </
table>
        </
td>
    </
tr>
</
tbody>
</
table>

<!-- /
DEVBOX LATEST THREADS -->
<
br />


<
table class="tborder" cellpadding="6" cellspacing="1" width="100%">
<
tbody>
    <
tr>
        <
td class="thead">
            <
a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="db_style/buttons/collapse_thead.gif" alt="" border="0" /></a>
            
Forum Statistics
        
</td>
    </
tr>

</
tbody>
<
tbody id="collapseobj_forumhome_stats" style="">
    <
tr>
        <
td class="alt1" style="border: 1px solid #DFEAF6; border-top: none;">
        <
div class="smallfont">
           <
div>$vbphrase[threads]: $totalthreads</div>
            
$vbphrase[posts]: $totalposts</div>
            
$vbphrase[members]: $numbermembers</div>

        </
div>

        </
td>
    </
tr>
</
tbody>
</
table>

<
br />


<!-- 
DEVBOX TOP POSTERS -->
<
table class="tborder" cellpadding="6" cellspacing="1" width="100%">
<
tbody>
    <
tr>
        <
td class="thead">

            <
a style="float:right" href="#top" onclick="return toggle_collapse('devbox_top_posters')"><img id="collapseimg_devbox_top_posters" src="db_style/buttons/collapse_thead.gif" alt="" border="0" /></a>
            
Top Posters
        
</td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_devbox_top_posters" style="">
    <
tr>
        <
td class="alt1"><div class="smallfont"$devbox[top_posters]</td>
    </
tr>
</
tbody>
</
table>
<!-- /
DEVBOX TOP POSTERS -->
<
br />



<!-- 
DEVBOX NEWEST MEMBERS -->

<
table class="tborder" cellpadding="6" cellspacing="1" width="100%">
<
tbody>
    <
tr>
        <
td class="thead">
            <
a style="float:right" href="#top" onclick="return toggle_collapse('devbox_newest_members')"><img id="collapseimg_devbox_newest_members" src="db_style/buttons/collapse_thead.gif" alt="" border="0" /></a>
            
Newest Members
        
</td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_devbox_newest_members" style="">
    <
tr>

        <
td class="alt1"><div class="smallfont">$devbox[newest_members]</td>

    </
tr>
</
tbody>
</
table>
<!-- /
DEVBOX NEWEST MEMBERS -->
<
br /> 



http://www.detailcity.com/index.php?s=&styleid=17


**he didn't want all the stuff on the right side, the code I am realeasing will show Top posters, Site statistics, latest threads, newest members, etc.

nansy 10-31-2004 02:33 PM

Quote:

Originally Posted by nansy
what is the problem :(

PHP Code:

$devbox_config = array( 'latest_threads'     => 'on',
                        
'latest_threads_num' => 10,

                        
'newest_members'     => 'on',
                        
'newest_members_num' => 5,

                        
'top_posters'        => 'on',
                        
'top_posters_num'    => 5,

                        
'online_today'       => 'on',

                        
'forum_ids'          => '2,3,5,6',
                       ); 

and i have error in line 180 !!!

how i can fix this problem

thanks

:( :( :(

Rick Sample 10-31-2004 02:35 PM

Quote:

Originally Posted by nansy
:( :( :(


can you give me your sites address?

nansy 11-02-2004 04:45 PM

i have error in line 180 !!!

no body help my

DariusMonsef 11-04-2004 07:24 AM

I'm getting the line 180 error as well. Any ideas what is going on here?

Also where would I find this FORUMHOME thing??

domelor 11-27-2004 10:20 PM

Guys the line 180 error is driving me crazy..... anyone can help?

boo.3 11-30-2004 10:57 PM

what username and pass am i sopossed to use?

Imperial Fritz 12-02-2004 07:06 PM

Trying now.

Btw minor spelling error at the last step, last sentence: "Everything fron turning it off..." :)


EDIT:

Hm, do I have to manually do those replacements?

I get the same three errors (line 81 and 180) after following the install :ermm:

Imperial Fritz 12-02-2004 07:40 PM

OK. I looked again over the install and obviously I thought it will do the replacements on its own. So I did them and all worked. You should make it clear that these replacements have to be done by hand and place on a visible spot what file needs to be edited.

And I still get the errors with devbox_work.php

EDIT:

I think I found the problem - it's in us trying to open devbox_work.php as a page, whereas it's actually just a collection of functions that get included in the index.php page. There is no way it can be viewed separately. To change the settings you manually edit it and reupload it.

Mla7a6 03-08-2005 08:58 PM

Hi..

The script was running smoothly with me on my old version of VB (3.0.1).. but then I have decided to upgrade to 3.0.7.. and suddenly it stopped working..

any ideas?


All times are GMT. The time now is 06:52 PM.

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.01331 seconds
  • Memory Usage 1,795KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete