vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Doublepost Prevention Plus (https://vborg.vbsupport.ru/showthread.php?t=204177)

Simon Lloyd 12-10-2009 09:12 AM

Vitaly, i'm using vb 3.8.4 PL1 installed your new xml and on double post got this:
Warning: require_once([path]/includes/functions_mergedoubleposts.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_dm_threadpost.php(744) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/thecodec/public_html/forumz/includes/functions_mergedoubleposts.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thecodec/public_html/forumz/includes/class_dm_threadpost.php(744) : eval()'d code on line 1

All the above error was my fault !, see below

Can you advise please?

Simon Lloyd 12-10-2009 09:22 AM

It seems i need this includes/functions_mergedoubleposts.php i couldn't download your file so i just copied your xml :(

Vitaly 12-10-2009 09:30 AM

You fogot to upload file from ./upload folder. New version require it. look into github. It has button to download all files in single archive.

Simon Lloyd 12-10-2009 10:15 AM

Yes i know about the download button, but as i am at work the firewall wont allow the download, i found the seperate parts i.e Hook.....xml, Functions....php and uploaded them but everytime i make a double post i get redirected to your functions....php

Odd!

Vitaly 12-10-2009 10:31 AM

Check, if files are in proper place. This mod has standard setup - upload all files to apropriate directories and import XML. Error shows exact path, where it can't find file.

It may be needed to change file permissions to allow webserver read it.

Simon Lloyd 12-10-2009 10:37 AM

Functions....php is in the includes folder Hook....xml is in Includes/xml/ folder and product-mergedoublepost.xml was imported with overwrite.

by the way thanks for the prompt replies.

Files are CHMOD 644

Vitaly 12-10-2009 10:42 AM

Check files owner or chmod to 666.

I can't consult about server administrating issue. Do anything you wish, but remove error "can't include file" :). I't not mod issue.

Simon Lloyd 12-10-2009 10:54 AM

I've found the issue :), it's not your mod!, when i saved target as for the files at github it saved the source code of the page....!

I have fixed the hooks because that was easy however when copying the functions.....php and pasting it all appears on one line could you possible attach a text file of it here or send it to me please simon.lloydATthecodecage.com all should be well then :)

Simon Lloyd 12-10-2009 12:50 PM

Vitaly, thanks for your help, it's working now however its not displaying the delimiter between merges.

Never mind, the first duplicate post was posted within 1 minute and didnt show the delimiter however after posting again after 2 minutes it showed.

is there anyway to display the actual time of the duplicate post rather than how many minutes later?

Vitaly 12-10-2009 12:58 PM

vB has delay to add "edited by" to message and log changes to history. Seems 15 minutes. Within this time delimiter is skipped, to avoid text bullshitting :) . If you are 100% shure, that you always need delimiter - change appropriade vB setting.

Absolute time is very bad idea, because it will be incorrect for different time zones. That's why relative time is shown.


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