vb.org Archive

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

wanno 01-12-2009 05:53 AM

Still buggy

If you disable "top thread starters" in Turn On/Off individual Stats
you can view your own forum 2 times.

Voltar 01-12-2009 06:05 AM

Quote:

Originally Posted by Cybernetec (Post 1709325)
Voltar,

not only AJAX, but several bug fixes, less queries, and some new features.


Thanks for the info Cyb. Is there a way we can get the GUI from v5 in the new version? Maybe a selection for the new interface vs. the old interface, and maybe AJAX on/off?

If you implemented that I could spare about $5-10 (US) for a donation. Thanks for the awesome hack so far.

aryshi 01-12-2009 06:05 AM

Quote:

Originally Posted by wanno (Post 1709370)
Still buggy

If you disable "top thread starters" in Turn On/Off individual Stats
you can view your own forum 2 times.

the same with me

akonze 01-12-2009 06:50 AM

Oh my god... :mad:

the old 3.7 version was much, much better. the new layout is totally crap. yesterday i installed the 6.0 version and was absolutely shocked about it. Only 2 display windows anymore. you don't get any information anymore, unless you switch to the menus (what nobody does).

now the new 6.1 version. WOW, we got a third display window. what a gread gain compared to the 7 windows we had in the old 3.7 version. Still you can't see all informations. furthermore it now busts the design when a user (or the random function) chooses two time the latest posts view.

man, what happened? bring back the old display style! the drop down menus to freely choose the display is absolutely not needed.

:down: :down: :down:

Parabellum 01-12-2009 07:09 AM

With the 6.0 version installed my forum would still validate with W3C. After I installed version 6.1 I now get 34 errors and 8 warnings.

Looking forward to your next update! :):up:

Valter 01-12-2009 07:26 AM

Try to uninstall/re-install product. I can not reproduce problems you reported above.

Sunka 01-12-2009 07:32 AM

Quote:

Originally Posted by akonze (Post 1709407)
Oh my god... :mad:

the old 3.7 version was much, much better. the new layout is totally crap. yesterday i installed the 6.0 version and was absolutely shocked about it. Only 2 display windows anymore. you don't get any information anymore, unless you switch to the menus (what nobody does).

now the new 6.1 version. WOW, we got a third display window. what a gread gain compared to the 7 windows we had in the old 3.7 version. Still you can't see all informations. furthermore it now busts the design when a user (or the random function) chooses two time the latest posts view.

man, what happened? bring back the old display style! the drop down menus to freely choose the display is absolutely not needed.

:down: :down: :down:

Totally suport that.
Meaning of statistic is to see all in one place.
I use old version, but cybernetec I am very grateful for your work :up:
Svaka čast stari moj!

Tyran1 01-12-2009 07:53 AM

1 Attachment(s)
I have a Bug !!!

Attachment 92408 --> Attachment 92407

Pessimist 01-12-2009 07:57 AM

Cybernetec

3 small bugs (v.6.1) - red marked:

Phrase is hardcoded.
Line 1727:
Code:

        <input type=\"radio\" name=\"setting[$setting[varname]][]\" value=\"latestposts_l\" id=\"cb_latestposts_l\" " . iif(strpos($setting[value], 'latestposts_l') !== false, ' checked="checked"') . iif($vbulletin->debug, " title=\"name=&quot;setting[$setting[varname]]&quot;\"") . " /> <input type=\"radio\" name=\"setting[$setting[varname]][]\" value=\"latestposts_r\" id=\"cb_latestposts_r\" " . iif(strpos($setting[value], 'latestposts_r') !== false, ' checked="checked"') . iif($vbulletin->debug, " title=\"name=&quot;setting[$setting[varname]]&quot;\"") . " />$vbphrase[cyb_latest_posts] (Left/Right)

2 Parabellum
Below is problem with W3C validation ;)

Line 359:
Code:

                        $cybtopstats_temptable = '<table cellpadding="'.$vbulletin->options['cybtopstats_cellpadding'].'" cellspacing="0" border="0" width="100%" align="center"><tr><td class="smallfont">'.$vbphrase['cybstats_loading'].'<td></tr>'.str_repeat('<tr><td class="smallfont">&nbsp</td></tr>', $resultsnr-1).'</table>';
Should be:
Code:

                        $cybtopstats_temptable = '<table cellpadding="'.$vbulletin->options['cybtopstats_cellpadding'].'" cellspacing="0" border="0" width="100%" align="center"><tr><td class="smallfont">'.$vbphrase['cybstats_loading'].'</td></tr>'.str_repeat('<tr><td class="smallfont">&nbsp</td></tr>', $resultsnr-1).'</table>';

2 </tr>
Line 1277-1278:
Code:

                        </tr>
                        </tr>


Tyran1 01-12-2009 07:58 AM

Quote:

Originally Posted by Cybernetec (Post 1709434)
Try to uninstall/re-install product. I can not reproduce problems you reported above.

Does become the version fixed?? Looks really good!! Your work is Really to thanks!!

Bkdenice 01-12-2009 08:16 AM

1 Attachment(s)
Some problem in VBA 3.1.0 on VB 3.7.5

The content doesn't appears

ceho 01-12-2009 09:10 AM

After uninstall and reinstall the array warnings are gone, but I have the same problem like Tyran1, whenever you change any setting the whole layout of the Forum gets totally messed. Only another uninstall or enabling the stats is helping to get the normal Forum layout back...

Hope you can fix all that, I think the new version can be great!

Thanks anyway!

vip-q.com 01-12-2009 09:36 AM

thanks, Installed :)

Valter 01-12-2009 09:37 AM

Tyran1, you can not use Latest News as startup item if it's disabled.

Thanks Pessimist, I'll fix this soon.

As I'm not using vBA CMPS, someone should create temp admin account for me to check it and write instructions...

Tyran1 01-12-2009 09:53 AM

Quote:

Originally Posted by Cybernetec (Post 1709510)
Tyran1, you can not use Latest News as startup item if it's disabled.

Thanks waiting for fixed. ;)

ReQueM 01-12-2009 10:21 AM

1 Attachment(s)
I get this error:

Warning
: mysql_query() [function.mysql-query]: Access denied for user 'requem'@'localhost' (using password: NO) in [path]/admincp/plugin.php(1995) : eval()'d code on line 13

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/plugin.php(1995) : eval()'d code on line 13

Attachment 92419

jmurrayhead 01-12-2009 11:16 AM

Same error here, and the new version completely screwed up my forum design. Could you post 6.0 again?

Rat1972 01-12-2009 11:23 AM

@cybernetec

Are you planning in a future release that when you click the link or arrow, that you will go to first unread reply? (like in your early version, you could choose to go the last reply when you have left the topic), now all of the members are going to the last reply in the topic or the opening post.

GrendelKhan{TSU 01-12-2009 11:23 AM

Quote:

Originally Posted by Cybernetec (Post 1709434)
Try to uninstall/re-install product. I can not reproduce problems you reported above.

woot! that did it for me.
must be an issue with the overwrite since a couple ppl seem to have the problem.
dunno, but couldn't repeat the error once I uninstalled/reinstalled.

admittedly, I haven't tweeked it around too much this time as I was just happy its working right. :)

great job as usual, cyb. :up:

fragov 01-12-2009 12:03 PM

Rat1972
Edit: cyb_topstats_newposts, replace all with:
PHP Code:

    <tr class="$cybstats_alt1valign="top" onmouseover="this.className='$cybstats_alt2'" onmouseout="this.className='$cybstats_alt1'">
        <
td class="$cybstats_alt2width="1%" align="center" valign="middle"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if></td>
        <
td align="$stylevar[left]width="50%" nowrap="nowrap" class="smallfont" title="$get_new_posts[fullthreadtitle]"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$get_new_posts[lastpostid]#post$get_new_posts[lastpostid]">$get_new_posts[titletrimmed]</a></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[posted_by] <if condition="!$get_new_posts[musername]">$vbphrase[guest]<else />$get_new_posts[fullusername]</if>"><if condition="!$get_new_posts[musername]"><div style="cursor:pointer;">$vbphrase[n_a]</div><else /><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_new_posts[userid]">$get_new_posts[musername]</a></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[date]/$vbphrase[time]"><if condition="$get_new_posts[newpost]">$get_new_postdate$get_new_posttime<else /><span class="time">$get_new_postdate$get_new_posttime</span></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_new_posts[threadid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><font face="arial">&#9660;</font></a></td>
        
<td align="$stylevar[right]nowrap="nowrap" class="smallfont" title="$get_new_posts[fullforumtitle]"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_new_posts[forumid]">$get_new_posts[forumtitle]</a>&nbsp;</td>
    </
tr


EvilSeph 01-12-2009 12:54 PM

Quote:

Originally Posted by fragov (Post 1709630)
Rat1972
Edit: cyb_topstats_newposts, replace all with:
PHP Code:

    <tr class="$cybstats_alt1valign="top" onmouseover="this.className='$cybstats_alt2'" onmouseout="this.className='$cybstats_alt1'">
        <
td class="$cybstats_alt2width="1%" align="center" valign="middle"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if></td>
        <
td align="$stylevar[left]width="50%" nowrap="nowrap" class="smallfont" title="$get_new_posts[fullthreadtitle]"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$get_new_posts[lastpostid]#post$get_new_posts[lastpostid]">$get_new_posts[titletrimmed]</a></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[posted_by] <if condition="!$get_new_posts[musername]">$vbphrase[guest]<else />$get_new_posts[fullusername]</if>"><if condition="!$get_new_posts[musername]"><div style="cursor:pointer;">$vbphrase[n_a]</div><else /><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_new_posts[userid]">$get_new_posts[musername]</a></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[date]/$vbphrase[time]"><if condition="$get_new_posts[newpost]">$get_new_postdate$get_new_posttime<else /><span class="time">$get_new_postdate$get_new_posttime</span></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_new_posts[threadid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><font face="arial">&#9660;</font></a></td>
        
<td align="$stylevar[right]nowrap="nowrap" class="smallfont" title="$get_new_posts[fullforumtitle]"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_new_posts[forumid]">$get_new_posts[forumtitle]</a>&nbsp;</td>
    </
tr


As far as I can see, yours just directs to the thread and not to a specific post...? Please correct me if I'm wrong.

Edit the template cyb_topstats_newposts and find:
PHP Code:

<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$get_new_posts[lastpostid]#post$get_new_posts[lastpostid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><font face="arial">&#9660;</font></a></td> 

Replace that with something like:
PHP Code:

<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><font face="arial">&#9660;</font></a></td> 

That should achieve what you want - for the down arrow to direct your users to the first unread post in the thread.

Rat1972 01-12-2009 01:45 PM

Quote:

Originally Posted by EvilSeph (Post 1709672)
As far as I can see, yours just directs to the thread and not to a specific post...? Please correct me if I'm wrong.

Edit the template cyb_topstats_newposts and find:
PHP Code:

<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$get_new_posts[lastpostid]#post$get_new_posts[lastpostid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><font face="arial">&#9660;</font></a></td> 

Replace that with something like:
PHP Code:

<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><font face="arial">&#9660;</font></a></td> 

That should achieve what you want - for the down arrow to direct your users to the first unread post in the thread.


Thank mate, your code helped me. I have chanced it a little, now the link and the arrow goes to the first unread post when you visited the topic again.

@fragov
Also thanks for your help!

Rat1972 01-12-2009 01:58 PM

for the people that also want to have it, just like my board. (Link and arrow goes to the last unread post. Go to template cyb_topstats_newposts and replace the code with this code:



PHP Code:

    <tr class="$cybstats_alt1valign="top" onmouseover="this.className='$cybstats_alt2'" onmouseout="this.className='$cybstats_alt1'">
        <
td class="$cybstats_alt2width="1%" align="center" valign="middle"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if></td>
        <
td align="$stylevar[left]width="50%" nowrap="nowrap" class="smallfont" title="$get_new_posts[fullthreadtitle]"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]">$get_new_posts[titletrimmed]</a></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[posted_by] <if condition="!$get_new_posts[musername]">$vbphrase[guest]<else />$get_new_posts[fullusername]</if>"><if condition="!$get_new_posts[musername]"><div style="cursor:pointer;">$vbphrase[n_a]</div><else /><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_new_posts[userid]">$get_new_posts[musername]</a></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[date]/$vbphrase[time]"><if condition="$get_new_posts[newpost]">$get_new_postdate$get_new_posttime<else /><span class="time">$get_new_postdate$get_new_posttime</span></if></td>
        <
td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><font face="arial">&#9660;</font></a></td> 
        
<td align="$stylevar[right]nowrap="nowrap" class="smallfont" title="$get_new_posts[fullforumtitle]"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_new_posts[forumid]">$get_new_posts[forumtitle]</a>&nbsp;</td>
    </
tr


furst 01-12-2009 04:43 PM

Isn't there a way to set Forum Stat to show on page load to Latest Posts?

I want to have Top Posters and Top Reputations on the left side and Latest Posts on the right. How can I do this?

jacx 01-12-2009 05:18 PM

To the people whining about the layout new layout....why don't you donate and maybe he can edit his "FREE" module more to your tastes.

I liked the old setup too, however I had to remove it about a month ago as it kept crashing our forums due to the load. Now this new version runs perfect without crashing.

Thus I say, thank you Cybernetic for this new version...i was sad to remove the original one and so were my users, this ajax version is perfect loadwise.

And thanks Rat1972, that code edit helps!

Valter 01-12-2009 07:23 PM

In a few minutes I'll post version 6.2 where known issues are fixed, and some new options added.

In the meantime I would suggest some users to check options before reporting 'bugs'. It's not bug if you set disabled item to load on startup, is it? Also it is not bug if you enable "Forum News" without putting proper forum ID in "Latest News Forum" setting field. It is also not bug if you enable random mode without any stats enabled. etc etc

PLEASE ensure that hack options are properly set before reporting 'bugs'. Thanks.

rizelim 01-12-2009 07:26 PM

1 Attachment(s)
my forums vbseo optimize but Advanced Forum Statistics random bugs.

Valter 01-12-2009 07:40 PM

v6.2 - Jan 12. 2009.
-Fixed CSS validation issues
-Latest Posts: Added link to first unread post in thread
-Latest Posts: Option to disable source forum
-New: Bad admin error (shows when setup is wrong)
-Fixed some bugs in templates

Upgrade Instructions:
-Import product XML, allow overwrite
-Revert hack templates if modified before
-Check product options, update if needed

Note:
If you get any error messages in hack options, or experience some other unexpected problems, try with uninstalling/re-installing hack, then update settings. And please ensure setup is ok before reporting 'bugs', especially part where you enable/disable individual stats, News Forum setting, and startup items menus.

Stoebi 01-12-2009 08:10 PM

Great *installed* :)

Wish:
AJAX - Preview for new written posts


Regards, Stoebi

samuelss 01-12-2009 09:04 PM

Updated. Many thanks for your great efforts. God Bless.

avensat 01-12-2009 11:51 PM

is compatible to vB 3.6.8?

Quantnet 01-13-2009 12:28 AM

Thank you very much. This finally works in my v3.8 forum.
i would very much like to get the Views, Replies options in this.

Nadeemjp 01-13-2009 05:51 AM

Cyb, your version 5.8.1 is better than version 6.0
in a sense that it gives us, admins, the option to choose whether to have a two line form or a single line form. whereas version6.0 doesnt give this option and the displayed stats are user selectable,.

can you please change that and add the previous option as well so that those of us who want the old type to function they may?

veenuisthebest 01-13-2009 06:22 AM

Though this version has better optimized code but cyb, I would really appreciate if you optimize the 5.8.1 version of this mod as that is still the best. Dunno why I am not liking the 6 series. :(

Thanks

wanno 01-13-2009 06:50 AM

I like the 6 release.

Yellow Slider 01-13-2009 07:35 AM

Thanks.

mikey1991 01-13-2009 09:03 AM

I feel it would be better if we can choose whether two have one row, or two. but still great job *installed*

ceho 01-13-2009 09:17 AM

1 Attachment(s)
Hi, I could need some help, please.

The stats are working fine for me, technically. It is just that whenever I want to set them "Below What is Going On" my layout gets messed ("Below Forums" is working normally). Please see attachment "forum_problem".

In my testforum (attachment "testforum_noproblem") everything is working fine. Strange is, the styles and all settings of the statistics options are exactly the same in both the test- and the real forum.

Is there a problem with one of the templates in my forum? Can anyone please give me a hint how to fix that? I don't find the solution myself. Thank you very much!!

mikey1991 01-13-2009 09:26 AM

What style are you using, it might be a good idea to ask the styles author.

ceho 01-13-2009 09:35 AM

The style is "iSkin black" by Extremepixels (www.extremepixels.com).

I hope they give support on problems with third party products....


All times are GMT. The time now is 02:41 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.02357 seconds
  • Memory Usage 1,960KB
  • 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
  • (7)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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