vb.org Archive

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

Redzzand 02-20-2009 07:05 PM

tagged... this seems like an uber mod! but is there any way to make it work with the scrolling marquee text? I rely on that mod to make announcements on the main page!

Coders Shack 02-20-2009 08:06 PM

Quote:

Originally Posted by Redzzand (Post 1750116)
tagged... this seems like an uber mod! but is there any way to make it work with the scrolling marquee text? I rely on that mod to make announcements on the main page!

my goal for 1.07b (trying to make time to do it) is to clear up the compatibility issues or provide a way to make them work together (you may have to edit files that belong to the other mods)

inciarco 02-20-2009 08:33 PM

Coders Shack, I've just Tested Your Solution for the Conflict with the DoublePost Prevention Mod, and Works Really Well. :up:

Quote:

Originally Posted by Coders Shack (Post 1711271)
for double post in the plugin titled "Main Doublepost Prevent Engine" look for this line:
PHP Code:

// last step update counters 

above 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"); 


I Liked a Lot the LIVE Edit Message that Appeared on the Merged DoublePost:

Quote:

"This post has been added by another user

Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so."
I also noticed that this Message Appears on a Live Topic Every Time an User Edits a Posted Message that is on the Current Page Viewed, so that way the Other Users can Read the Changed Post before Posting their Message. :up:

My Best Regards, Coders Shack. ;)

:)

tommydamic68 02-20-2009 10:23 PM

i cant login in after install and theres page errors www.sphynxlair.com i uploaded folder to server individualy moved files to my root directory,then this,i cant even log into my site!

Lynne 02-20-2009 11:09 PM

Quote:

Originally Posted by tommydamic68 (Post 1750226)
i cant login in after install and theres page errors www.sphynxlair.com i uploaded folder to server individualy moved files to my root directory,then this,i cant even log into my site!

It looks like you didn't install it correctly. But, anyway, to disable the plugins so you may login to your site - edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


paintballer.ie 02-20-2009 11:09 PM

Quote:

Originally Posted by tommydamic68 (Post 1750226)
i cant login in after install and theres page errors www.sphynxlair.com i uploaded folder to server individualy moved files to my root directory,then this,i cant even log into my site!

did you up load all the files to their correct places?

gmerin 02-20-2009 11:10 PM

Quote:

Originally Posted by tommydamic68 (Post 1750226)
i cant login in after install and theres page errors www.sphynxlair.com i uploaded folder to server individualy moved files to my root directory,then this,i cant even log into my site!

edit includes/config.php
add this to the top of the file so it looks like this:

<?php
define('DISABLE_HOOKS', true);

then save the file and you'll be able to log in again and reverse/uninstall what you last did.

ninja'ed

paintballer.ie 02-20-2009 11:24 PM

Quote:

Originally Posted by Coders Shack (Post 1711271)
for double post in the plugin titled "Main Doublepost Prevent Engine" look for this line:
PHP Code:

// last step update counters 

above 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"); 



I am having trouble doing this. Which file do I edit or do I do this via the admim cp?

tommydamic68 02-20-2009 11:31 PM

ok ,thanks you guys are great.now,do i go back in the config.php file and delete the disable hooks?i disabled live topic in admin cp.is it safe to return config.php back to original?:up:

inciarco 02-20-2009 11:33 PM

Quote:

Originally Posted by paintballer.ie (Post 1750256)
I am having trouble doing this. Which file do I edit or do I do this via the admim cp?

You need to Edit the Plugin named "Main Doublepost Prevent Engine".

Admin Control Panel -> Plugins & Products -> Plugin Manager

There you find the Plugin, you Click "Edit", add the Code line where instructed, and Click the "Save" Button.

:)


All times are GMT. The time now is 09:07 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.01750 seconds
  • Memory Usage 1,763KB
  • 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
  • (5)bbcode_php_printable
  • (8)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