vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Statistics Modifications - Cyb - Advanced Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=177778)

avensat 06-01-2008 06:37 PM

Quote:

Originally Posted by just77me (Post 1534906)
Any solution available? for the problem with the big box in IE? i cant use this plugin because of this problem...

After a good looking on the code of the "cyb_topstats_stats" template I have removed some values of the <tr> tags.

Save the code of your template "cyb_topstats_stats" on a text application and change for this:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                        <tr valign="top">
                                <td class="tcat" <if condition="($cybtopstats_t_colspan>'1')">colspan="$cybtopstats_t_colspan"</if>><a name="cyb_stats" style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('cyb_fh_stats')"><img id="collapseimg_cyb_fh_stats" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_cyb_fh_stats].gif" alt="" border="0" /></a>
                                <if condition="$bbuserinfo[userid]">
                                        <span id="cybstatsoptions"><phrase 1="$resultsnr">$vbphrase[cyb_top_x_stats]</phrase> <if condition="$cybtopstats_timecut_enabled"><span class="smallfont">(<phrase 1="$vboptions[cybtopstats_timecut]">$vbphrase[cyb_last_x_hours]</phrase>)</span></if><script language="Javascript" type="text/javascript"> vbmenu_register("cybstatsoptions"); </script></span>
                                        <div class="vbmenu_popup" id="cybstatsoptions_menu" style="display:none">
                                                <table cellpadding="4" cellspacing="1" border="0">
                                                        <tr valign="top">
                                                                <td class="thead">$vbphrase[options]</td>
                                                        </tr>
                                                        <if condition="($canviewmore AND ($_REQUEST['do']!='cybstats'))">
                                                                <tr valign="top">
                                                                        <td class="vbmenu_option" title="<phrase 1="$resultsnr">$vbphrase[cyb_afs_more_stats]</phrase>"><a href="$vboptions[bburl]/misc.php?$session[sessionurl]do=cybstats" rel="nofollow"><phrase 1="$resultsnr">$vbphrase[cyb_afs_more_stats]</phrase></a></td>
                                                                </tr>
                                                        </if>
                                                        <if condition="$cybstats_show">
                                                                <tr valign="top">
                                                                        <td class="vbmenu_option" title="$vbphrase[cyb_afs_turnoff_stats]"><a href="$vboptions[bburl]/misc.php?$session[sessionurl]do=disablestats" rel="nofollow">$vbphrase[cyb_afs_turnoff_stats]</a></td>
                                                                </tr>
                                                        </if>               
                                                </table>
                                        </div>
                                <else />
                                        <phrase 1="$resultsnr">$vbphrase[cyb_top_x_stats]</phrase>
                                </if>
                                </td>
                        </tr>
                </thead>
                <tbody id="collapseobj_cyb_fh_stats" style="$vbcollapse[collapseobj_cyb_fh_stats]">
                        <tr valign="top">
                                <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="4"<else />rowspan="2"</if> style="width:1px;height:$cybnpheight;max-height:$cybnpheight;display:none;"></td>
                                <if condition="($vboptions[cybtopstats_switch_latestposts]=='1')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[cyb_latest_posts]</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s1]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s1t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s3]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s3t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s5]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s5t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s7]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s7t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s9]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s9t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_latestposts]=='2')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[cyb_latest_posts]</td>
                                </if>
                        </tr>
                        <tr valign="top">
                                <if condition="($vboptions[cybtopstats_switch_latestposts]=='1')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="3"</if> style="height:$cybnpheight;max-height:$cybnpheight;">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0" style="height:<if condition="(THIS_SCRIPT!='misc')">100%<else />1%</if>" id="cybnp">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$vbphrase[thread]</td>
                                                                <td>&nbsp;</td>
                                                                <if condition="$vboptions[cybtopstats_lastpost_dateline]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[date], $vbphrase[time]</td>
                                                                </if>
                                                                <if condition="$vboptions[cybtopstats_lastpost_poster]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[posted_by]</td>
                                                                </if>
                                                                <if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='1') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[replies]</td>
                                                                </if>
                                                                <if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='2') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[views]</td>
                                                                </if>
                                                                <if condition="$vboptions[cybtopstats_lastpost_forums]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;&nbsp;$vbphrase[forum]</td>
                                                                </if>
                                                        </tr>
                                                        $cybtopstats_newposts
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s1]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s1p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s1p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s1
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s3]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s3p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s3p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s3
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s5]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s5p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s5p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s5
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s7]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s7p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s7p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s7
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s9]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr style="">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s9p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s9p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s9
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_latestposts]=='2')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="3"</if> style="height:$cybnpheight;max-height:$cybnpheight;">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100%" id="cybnp">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$vbphrase[thread]</td>
                                                                <td>&nbsp;</td>
                                                                <if condition="$vboptions[cybtopstats_lastpost_dateline]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[date], $vbphrase[time]</td>
                                                                </if>
                                                                <if condition="$vboptions[cybtopstats_lastpost_poster]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[posted_by]</td>
                                                                </if>
                                                                <if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='1') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[replies]</td>
                                                                </if>
                                                                <if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='2') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[views]</td>
                                                                </if>
                                                                <if condition="$vboptions[cybtopstats_lastpost_forums]">
                                                                        <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;&nbsp;$vbphrase[forum]</td>
                                                                </if>
                                                        </tr>
                                                        $cybtopstats_newposts
                                                </table>
                                        </td>
                                </if>
                        </tr>
                <if condition="($vboptions[cybtopstats_layout]=='2')">
                        <tr valign="top">
                                <if condition="($vboptions[cybtopstats_switch_s2]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s2t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s4]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s4t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s6]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s6t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s8]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s8t</td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s10]>'0')">
                                        <td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s10t</td>
                                </if>
                        </tr>
                        <tr valign="top">
                                <if condition="($vboptions[cybtopstats_switch_s2]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s2p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s2p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s2
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s4]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s4p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s4p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s4
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s6]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s6p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s6p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s6
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s8]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s8p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s8p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s8
                                                </table>
                                        </td>
                                </if>
                                <if condition="($vboptions[cybtopstats_switch_s10]>'0')">
                                        <td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <if condition="($vboptions[cybtopstats_layout]=='1')">
                                                        <tr valign="top">
                                                                <td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s10p1</td>
                                                                <td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s10p2</td>
                                                        </tr>
                                                        </if>
                                                        $cyb_topstats_s10
                                                </table>
                                        </td>
                                </if>
                        </tr>
                </if>       
                </tbody>
        </table>
        <br />


Sakai Ray 06-01-2008 07:15 PM

Nevermind I corrected my error.

Astrof 06-01-2008 07:50 PM

This a wonderful hack, definitely one of the most useful mods I've tried, but I have a question:

On the latest posts list, the yellow icon remains displayed and doesn't change to grey even after the post has been read. Only after a while does it turn grey, even if the post hasn't been read by the user.

Is this a normal thing to happen and is there a way to change it in order for the icons to change as soon as the post has been read by the user and not change until it has been read?

Thanks a lot in advance.

Megatr 06-02-2008 04:32 AM

Quote:

Originally Posted by Megatr (Post 1535933)
I can send PM cPanel login - admin login - ssh login - or what do you want...

But the problem just my db other vB forums in this server running this hack and page loading 1 second when I enabled Query running 8-10 second

Cybernetec ?

ChopBam 06-02-2008 05:50 AM

I'd like to know if a certain feature is possible.

I'd like to be able to have only a few things on the forumhome (latest news, latest blog entries, and latest posts only), but be able to have all the rest of the stats available on the special stats page you can open up.

g0dfather1984 06-02-2008 06:02 AM

Thank you!

katie hunter 06-02-2008 08:45 PM

Hi, how many queries does this mod generates ?

ALil'Hope 06-02-2008 11:15 PM

Installed and working fine on my vBulletin 3.7.1.

VanDaMe 06-03-2008 03:13 AM

marked installed :)

Terrasoft 06-03-2008 04:02 AM

Since I didnt really feel like going through all those pages, I apologize in advance for asking this question if it has been answered already. Is there a way to make it so it shows newest threads? In parallel to latest posts?


All times are GMT. The time now is 05:03 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.01699 seconds
  • Memory Usage 1,907KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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