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)
-   -   Forum Display Enhancements - Corrected thread visitors count (https://vborg.vbsupport.ru/showthread.php?t=159363)

bahisyeri 10-02-2007 10:00 PM

Corrected thread visitors count
 
Hi,
This is my first free public addon i'm coding for people one of my customers wanted to display who is viewing threads on forumdisplay so i checked here first and i saw Atakan KOC's addon but it was giving wrong information so i decided to integrate vBulletin's own source to it.So here it is ;).

What does this plugin do?

It is simple this plugin shows how many people visiting/browsing the thread on forumdisplay.

Installing
Open your admin control panel and then
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-nx-threadvisitors.xml' from your computer then press 'Import'

Please feel free to ask any questions
This may be copied, reproduced or published anywhere without my permission.


Changelog
v1.0: Initial release
v2.0: Fixed bug with UserCP cause of function which fetch_online_status is not needed

bahisyeri 10-03-2007 12:48 PM

Reserved for future requests/dialogs

In screenshot "1 kişi okuyor means 1 Viewing"

bollie 10-03-2007 04:18 PM

Nice ;)

Handbag 10-05-2007 08:03 AM

Hi there,

For some reason when I activate it my users can't access their user CP at all. I've seen this problem with this plugin as well, so the problem may be the same..
https://vborg.vbsupport.ru/showthrea...41#post1323941

yoyoyoyo 10-05-2007 10:41 AM

Quote:

Originally Posted by Handbag (Post 1353334)
Hi there,

For some reason when I activate it my users can't access their user CP at all. I've seen this problem with this plugin as well, so the problem may be the same..
https://vborg.vbsupport.ru/showthrea...41#post1323941

I installed this, and then logged in as various members, but was able to access all of their User CP's just fine. Perhaps another hack or mod is in conflict.

Handbag 10-05-2007 12:34 PM

That's probably it then. Thanks!

bahisyeri 10-05-2007 01:39 PM

Hi,
Could you please paste if there is an error showing up when your users trying to access their cp?
Between this plugin does not changing anything about usercp :/

mrghostno1 10-05-2007 11:52 PM

Dude! I'v been trying to do this mod for ages... god bless you! This plugin is just perfect!

Just to make it clear, it doesn't show who is viewing, it shows how many users are browsing, or viewing, each thread. perfect.

If anyone want to remove that color, or change, just find this code


style=\"color:#FFCC99;\"

So i would suggest you to do an admincp option to chage color/font size ect. :) Just in case someone need it.

The erro i get is this:
Fatal error: Call to undefined function fetch_online_status() in /forum/usercp.php(503) : eval()'d code on line 97

Dunno if this would be a fix... i just removed on line 61 of the plugin

fetch_online_status($loggedinx); and everything seems to be working fine.

bahisyeri 10-06-2007 11:01 AM

hehe yes , you are right "fetch_online_status" thing i changed it myself when i was modifiying customers web i noticed error but i thought it was from other thing and i added just include , and the color was made for that theme on customers ^^

KURTZ 10-06-2007 11:06 AM

the xml is fixed?


All times are GMT. The time now is 10:26 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.01138 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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