vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   [HTL] & [Normal] Persistant Mark Forum Read (https://vborg.vbsupport.ru/showthread.php?t=67154)

edschaum 07-22-2004 04:25 PM

Thanks for the feedback, I'll look into the tableprefix issue.

I've also added the Quickscan routine, which is the first step towards making this hack practical.

Next on the list is to add the ability to turn individual forums on or off regarding inclusion in the quickscan.

After that, what I'd really like to do is fully integrate the package with vB. Ideally, there'd be an option to select which version of Mark Read to use - the version that's included with vB, or this one. I wonder if it would be possible to set it up so each user could choose which system they prefer. For example, it would be nice to be able to toggle the use of the "go to first unread" link to be part of this routine so that the icons stay visible until the forum is explicitly marked read.

That level of integration would probably require too many changes though. I wonder how I could convince Jelsoft to add this as a feature.

Ed

Berethorn 07-23-2004 06:54 PM

I'm afraid one of my users is getting this error: I think it may be in regards to this hack. Before this, I've had no problems, and I'm still using your the version without quickscan.

Quote:

Invalid SQL:
SELECT *
FROM [prefix]_lastreads
WHERE lr_member = AND lr_forum = 2

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND lr_forum = 2' at line 3

mysql error number: 1064
Think this can be solved? :)

edschaum 07-23-2004 08:58 PM

Quote:

Originally Posted by Berethorn


Think this can be solved? :)


It kinda looks like the user is not logged in since there's no userid coming up in the query.

If the user IS logged in, then I'll need to know exactly what the user is doing, then I'll have to sign up on your forum and try to reproduce the error.

Note that error-checking is limited at this stage... I'm still in shock that it works at all :nervous:

edschaum 07-23-2004 11:59 PM

Quote:

Originally Posted by Berethorn
I'm afraid one of my users is getting this error: I think it may be in regards to this hack. Before this, I've had no problems, and I'm still using your the version without quickscan.



Think this can be solved? :)

I just noticed this in your report:
"FROM [prefix]_lastreads"

The table should be lr_lastreads, I wonder what happened there? You mentioned a problem with the table prefix, I wonder if this could be related.

Berethorn 07-24-2004 08:48 PM

It was originally "FROM bere_lastreads", but I changed it to [prefix] to avoid confusion. This isn't an issue, it's just my database adds a prefix before the table name.

But I fixed it, I think. The issue was, the user somehow ended up without a userid. Possibly mySQL failed during registration. I fixed it by getting them to sign up again. I don't think it was your hack causing the problem. Thanks, though. :)

edschaum 07-25-2004 09:36 PM

Ok, if any other problems, let me know. The latest version seems be working really well. And with the ability to quickscan selected forums, the main coding is done. All I have to do now is bring it up to vB coding standards and work out a few small details.

Tailfeathers 07-26-2004 06:35 AM

Can't wait for the final version. :)

I have a quick question -- what is this lightbulb you speak of?

edschaum 07-26-2004 11:28 AM

Quote:

Originally Posted by Tailfeathers
Can't wait for the final version. :)

I have a quick question -- what is this lightbulb you speak of?

On the main forum display page, there are icons to the left of each forum name. When there is new activity, those icons change...they "light up". On this site, the icons are little squares with check marks - there's a dull gray background when there's no activity, the background brightens up considerably when there are new messages.

The lightbulb terminology comes from the code... the routine to display that icon is called "getforumlightbulb".

Re the final version - writing the routine was the easy part. Bringing the code up to vBulletin standards will be the hard part! :cross-eyed:

I also have a better idea on displaying the quickscan results, but I don't know how to accomplish it programmatically, so that will have to wait until I learn a little more about the vB code.

In the meantime, I'll continue to clean up the current code in order to bring it to v1.0 so I can give it a full release.

Ed

Tailfeathers 07-27-2004 11:12 PM

Ahhh ok, thanks for the explanation. :)

Tailfeathers 07-29-2004 02:25 AM

One more question -- does this hack slow down the board or have any impact on the server or anything like that at all?


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