vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Live Topic - AJAX (https://vborg.vbsupport.ru/showthread.php?t=201697)

inciarco 03-01-2009 09:17 PM

Quote:

Originally Posted by Coders Shack (Post 1757826)
lots of internal logic has been shuffled around and changed for the better. There's still a few things on the todo list before i take it out of beta :)

Coders Shack, I Posted a Bug I Found on 1.07b on the Mod's Thread for vB38x, so that you can Check it. ;)

Thank You For Sharing this New Release of this Great Mod. :up:

My Best Regards.

:)

JJ the Fox 03-03-2009 08:13 PM

I am using 1.07b but when using quick reply, users own posts do not appear unless they refresh the page.

inciarco 03-03-2009 08:34 PM

Quote:

Originally Posted by JJ the Fox (Post 1759547)
I am using 1.07b but when using quick reply, users own posts do not appear unless they refresh the page.

Perhaps is Caused for a Bug on the Hiding Posts Feature; try Typing a High Number Like 200 or More for the Option "Maximum Visible Posts" of the Mod's Admin Control Panel Options. This Until Coders Shack can Correct that Bug on Next Update of the Mod. ;)

My Best Regards.

:)

Coders Shack 03-03-2009 08:59 PM

i dont have this bug inciarco, 10 posts per page. And my livetopic setting is 30. When it goes over 30 they start to disappear. Have you tried it on the default template? Do you have something that conflicts?

Can you recreate this here: http://beasttoast.com/showthread.php...9&goto=newpost

Leo Brazil 03-04-2009 09:24 AM

Quote:

Originally Posted by Coders Shack (Post 1714204)
find the plugin titled "Main Doublepost Prevent Engine" look for this line:
PHP Code:

// last step update counters 

below it add these two lines:
PHP Code:

$vbulletin->db->query_first("UPDATE `" TABLE_PREFIX "post` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" TABLE_PREFIX "post`.`postid` = $id LIMIT 1");
$vbulletin->db->query_first("UPDATE `" TABLE_PREFIX "thread` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" TABLE_PREFIX "thread`.`threadid` = $threadinfo[threadid] LIMIT 1"); 

then it should be fine :)

Thank you Coders Shack for the tip, I'm gonna test it and let you know how it goes.

Just one observation: In last update on Paul M's mod the line

PHP Code:

// last step update counters 

Was changed to:

PHP Code:

// Update counters 

It was easy to find the difference but this can help newbies here

inciarco 03-04-2009 02:13 PM

Quote:

Originally Posted by Coders Shack (Post 1759575)
i dont have this bug inciarco, 10 posts per page. And my livetopic setting is 30. When it goes over 30 they start to disappear. Have you tried it on the default template? Do you have something that conflicts?

Can you recreate this here: http://beasttoast.com/showthread.php...9&goto=newpost

I Confirm Bugs On 100% New vB373 Installation:

I've Installed the Product (The First and Only Mod Installed on a Test Forum), and I've Set Number of Posts to 10 for Test 1 and to 20 for Test 2.

I've Used User 1 (Admin on IE6) and User 2 (Registered User on Google Chrome).

I Hope You Can Solve this Bugs, Coders Shack. ;)


TEST 1

AdminCP > vBulletin Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split: 10
AdminCP > vBulletin Options > Live Topic > Maximum Visible Posts: 10

I've Created a Thread and Named First Post as "Test Thread", then I've Started Posting Messages on the Thread, (the Live Posting Feature works Fine on IE6, FireFox and Chrome), then when I reached Quick Reply Number Nine (9), Post Number 10, then the First Post Got Shaded, and then when I reached Quick Reply Number Ten (10), Post Number 11, then the First Post "Test Thread" Got Hidden; then When I Posted Quick Reply Number Eleven (11), Post Number (12), then No Post Got Hidden and the Post weren't Shown for the Poster but yes for the Other User, and all other Posts after that had the same issue, (Not Displayed for Poster but yes for other Users seeing the Live Topic); I also Noticed that After Quick Reply Number 10, Post Number 11, the Quick Reply Box Got Again the Blocking Message "Please Click One of the Quick Reply Icons in the Posts Above to Activate Quick Reply".


TEST 2

AdminCP > vBulletin Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split: 10
AdminCP > vBulletin Options > Live Topic > Maximum Visible Posts: 20

It Happened Exactly the Same as for Test 1, but in this Case as Maximum Visible Posts was set to 20, when Reaching Quick Reply 19 (Post 20) the First Post Shaded, on Quick Reply 20 (Post 21) the First Post Got Hidden, and on Quick Reply 21 (Post 22) No Post Got Hidden, Quick Reply Box Got Locked (with message prompting for Clicking the Quick Reply Button on Posts), and No Quick Reply Post where Displayed for Poster User; all Posts after that had the same issue, that Post was Not Displayed for Poster, that No Post where Hidden, and that Quick Reply Box Gets Locked with Locking Message (the one that asks user to Click on "Quick Reply to this Message" Button on Posts).


Quote:

Edit: TEST 3

I went Ahead and made the Test for 30 Maximum Visible Posts and the Results where the same as on the other Two (2) Cases.

AdminCP > vBulletin Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split: 10
AdminCP > vBulletin Options > Live Topic > Maximum Visible Posts: 30

:)

aggiefan 03-04-2009 07:49 PM

Its not working properly for us.... we had the xboxlive addin installed but i removed it so i could test this out.

on Ie we get the following error.

Quote:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Wed, 4 Mar 2009 21:45:38 UTC


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: --- see below

Message: Object required
Line: 2
Char: 1840
Code: 0
URI: --- (took it out but the path is correct linking to the livetopic.js file)


DJDynasty239 03-10-2009 02:23 AM

Mod still works great, just wish I could make it only work in certain sections.

If anyone is still having second thoughts about using this mod, I definitely recommend it!

W1zzard 03-11-2009 11:26 AM

add an option to the configuration please to disable showing the "live topic" button next to threads in case 'search': case 'forumdisplay':

W1zzard 03-11-2009 11:33 AM

if you dont want to log all the ajax requests in your web server log file you could add something like "SetEnvIf Request_URI "^/ajax\.php" dontlog" to your virtual host section in httpd.conf. you might have to append "env=!dontlog" to your customlog directive

please note that this will stop logging all vbulletin ajax, not only this plugin


All times are GMT. The time now is 06:02 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.01336 seconds
  • Memory Usage 1,761KB
  • 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_php_printable
  • (6)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
  • (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