vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Viewed This Thread - Enhanced Version (https://vborg.vbsupport.ru/showthread.php?t=68876)

David_R 03-11-2005 10:57 AM

install file is confusing me.. i cannot understand properly what changes to be made to showthread.php file

Jenta 03-23-2005 06:31 PM

nice hack but extremely confusing instructions

i will sit here for an hour reading every single thing i can and try to make sense of it

i know i will eventually after very carefull reading but...

Imperial Fritz 03-27-2005 05:18 AM

Tested with 3.0.7?....

Cause in my showthread.php there's nothing like
PHP Code:

// *********************************************************************************
//set thread last view
$threadview fetch_bbarray_cookie('thread_lastview'$thread['threadid']); 


instead there is

PHP Code:

// *********************************************************************************
//set thread last view
if ($thread['pollid'] AND $vboptions['updatelastpost'] AND ($displayed_dateline == $thread['lastpost'] OR $threadview == $thread['lastpost']) AND $pollinfo['lastvote'] > $thread['lastpost'])
{
    
$displayed_dateline $pollinfo['lastvote'];



So should I add the code aboove this part?...




EDIT:

Well since I like to experiment I did it and seems to work fine. But probably you should change the instructions. :)






Quote:

Originally Posted by Ocean
If it's not showing up as is, then I'll have to look into it. But I might not incorporate it until the next feature version.

Username formatting doesn't show at all as of now. When could we expect a new release? :)

CrazyLady 04-01-2005 01:25 AM

maybe I can sneak in here and ask if this can be modified, or a new hack created, to show if ANY member of a user group, (super moderators) has view the board. I would like to see if I can add a icon in the thread list view to tell my moderators if a thread has already been viewed/moderated by another moderator, saving them from having to view it as well... just a simple yes or no output?

anyhoo, just thought I would ask... nice looking hack!

snake-boy 04-12-2005 04:27 PM

Hi,

This is a fantastic hack, and I installed it with no problems in v3.0.7. Everything seems to be working except there is a critical bit of funcionality missing:

There does not seem to be any way to show the time/date the thread was viewed as there was in the original version of this hack.

The layout of this is SO much better than the original, but without time/date information, it isn't as helpful as it cold be... Is there any way to add time and datestamps to the list of users who viewed the thread?

-snake

aranthorn 05-02-2005 03:37 PM

Getting something weird. It was working very well, then I started getting a blank white page when resetting counters. Any ideas what I may have done?

mtha 05-10-2005 12:56 PM

Quote:

Originally Posted by Ocean
Actually, you can accomplish that function right now. In fact, it's easy when it's a new and single announcement - because all you have to do is save the user list once the time is up, and you'll know who viewed it by that point and who didn't.

Where it gets tricky, is if you edit or add to that announcement - because then the question is who read it since it was updated. It's for that reason that I added that second counter. Now, once you edit or add to an Announcement/Bulletin/Post, just reset the second counter for that thread. Now you'll know exactly who read it before your changes and who read it afterwards. :)

Ocean, can you make it to Who View This Announcement too? wouldnt be too hard, right?

Brandon Sheley 05-25-2005 05:14 AM

nice hack, installed no probs.. was a little confused with step 6. but after looking thu this thread i got it working fine :)

thank you

*clicks instal*

brvheart 09-08-2005 12:01 PM

ok, I have 3.0.7


this is the code that I see:

/
PHP Code:

/set thread last view
if ($thread['pollid'] AND $vboptions['updatelastpost'] AND ($displayed_dateline == $thread['lastpost'] OR $threadview == $thread['lastpost']) AND $pollinfo['lastvote'] > $thread['lastpost'])
{
        
$displayed_dateline $pollinfo['lastvote'];
}

if ((!
$posted OR $updatethreadcookie) AND $displayed_dateline AND $displayed_dateline $threadview)
{
        
set_bbarray_cookie('thread_lastview'$threadid$displayed_dateline); 


I am supposed to be looking for this:

PHP Code:

// *********************************************************************************
//set thread last view
$threadview fetch_bbarray_cookie('thread_lastview'$thread['threadid']); 


I did a search in winsyntax(my editor), and the code
PHP Code:

$threadview fetch_bbarray_cookie('thread_lastview'$thread['threadid']); 

is not found until way down the screen no where close to
PHP Code:

//set thread last view 


so where should I add the this above?
PHP Code:



################################################################################
########################## Who Viewed This Thread ##############################
##########################      CONFIGURATION     ##############################
################################################################################






*


Any help would be greatly appreciated.

brvheart 09-08-2005 12:50 PM

ok, let me see if I got this right,

I inset nothing between the "configuration Sections" it is just guidlines, but after that I post everything until the next step?

I think that is where I went wrong, I will try again, please someone chime in here and give me a hand :)


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