vb.org Archive

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

Doctor Death 03-10-2007 06:17 PM

Quote:

Originally Posted by iRua (Post 1200366)
Yea, it looks like everyone's having this problem.

I am sure it is a simple logic error in his filtering algorithm; Does the author read these forums?

This is a great plugin though.

Tom_S 03-10-2007 06:27 PM

Very Nice! :)
Installed

BobbyBig 03-10-2007 08:57 PM

There is a Error.

The & sign turns into &amp when its cut.

ubblite 03-11-2007 01:00 PM

Quote:

Originally Posted by BobbyBig (Post 1200463)
There is a Error.

The & sign turns into &amp when its cut.

I noticed this same problem a while back - as a matter of fact, I think I created a post about it. Hope it gets fixed.

Hey Cyb - were you able to fix the problem with 'recent posts' showing topics from private forums to all usergroups?

q8-star 03-11-2007 01:06 PM

Nice hack Cybernetec.

I have a small problem with your hacks, my forum has Right to Left direction, and since you code the with "left" or "right" alignment I get some hard time trying to change.

why don't use for example $stylevar[left] instead of "left" in alignment?, it will change anything in Left to Right forum and it will correctly in Right to Left text direction forum like Arabic forum.

Valter 03-12-2007 07:02 AM

Quote:

Originally Posted by ubblite (Post 1200782)
Hey Cyb - were you able to fix the problem with 'recent posts' showing topics from private forums to all usergroups?

I don't know why you have this problem. Private forums are properly excluded from stats on both of my boards.
Quote:

Originally Posted by q8-star (Post 1200784)
Nice hack Cybernetec.

I have a small problem with your hacks, my forum has Right to Left direction, and since you code the with "left" or "right" alignment I get some hard time trying to change.

why don't use for example $stylevar[left] instead of "left" in alignment?, it will change anything in Left to Right forum and it will correctly in Right to Left text direction forum like Arabic forum.

This will be fixed.

ubblite 03-12-2007 11:48 AM

Quote:

Originally Posted by Cybernetec (Post 1201391)
I don't know why you have this problem. Private forums are properly excluded from stats on both of my boards.

I do not have my Private Forum ID listed under this column:
'Forums excluded from stats (List IDs, separate with commas)'.
Is this the only way to block thread titles in private forums from being shown on the latest 'latest posts' list? A few weeks ago, someone also posted a message regarding this same issue.

And I also have this: 'Show Private Forum" set to 'No'.

So I'm expecting this hack to inherit usergroup permissions but maybe it wasn't meant to do that for the 'latest posts' list?

q8-star 03-12-2007 01:12 PM

Quote:

Originally Posted by Cybernetec (Post 1201391)
This will be fixed.

Thanks man, please note that, this thing applies for all your hacks.

Kadi 03-13-2007 05:13 AM

Quote:

Originally Posted by Kadi (Post 1199333)
Hi,

I've updated but i still have this same problem https://vborg.vbsupport.ru/showpost....&postcount=516.

Hot threads not showing either.

Thanks

Cybernetec how about helping me with my problem, PLZ.

Makc666 03-14-2007 12:11 PM

1.
There is a problem in code here:
Code:

<td class="tcat" colspan="10"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('cyb_fh_stats')">$cyb_loc_opts<img id="collapseimg_cyb_fh_stats"
10 is not a "good" value.

Of course we have 10 <td> lines below.
But! Only some of them is enabled by default.
4 if I am not mistaken.

And when we have such situation we have BUG in some browsers.

I made a screenshot.

And here is how the generated code looks like:
PHP Code:

<td class="tcat" colspan="10"><a style="float:right" href="#top" onclick="return toggle_collapse('cyb_fh_stats')"><img id="collapseimg_cyb_fh_stats"  src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="http://**************/misc.php?do=cybstats" title="Click here to view more than 10 results">    Top 10 Stats</a></td>
</
tr>
</
thead>
<
tbody id="collapseobj_cyb_fh_stats" style="">
<
tr>
<
td class="thead" align="left" nowrap="nowrap">Newest Members</td>
<
td class="thead" align="left" nowrap="nowrap">Top Posters</td>
<
td class="thead" align="left" nowrap="nowrap">Most Viewed Threads</td>
<
td class="thead" nowrap="nowrap">Latest Posts</td>
</
tr

You see that there is only 4 (four) <td> lines.

The fix for this bug I see is to count from databse home many colums is enables and replace
Code:

colspan="10"
with some thing like this:
Code:

colspan="$cybtopstats_enabled_colspan"
2.
Also there is some "bad" coding.
I posted a thread here:
https://vborg.vbsupport.ru/showthread.php?t=136982

There is lines in your code like:
Code:

$get_latest_news[titletrimmed] = substr($get_latest_news[title], 0, $trimthreadtitle) . '...';
It is not good to use them. As on forum with UTF-8 databse there will be bugs in displaing trimed words.

You have to replace those lines with this one example:
Code:

$get_latest_news[titletrimmed] = fetch_trimmed_title($get_latest_news[title], $trimthreadtitle);
fetch_trimmed_title - vBulletin's original function which deals/dealts with UTF-8 problem.


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