vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Members who have posted Today (or in the last 24 hours) (https://vborg.vbsupport.ru/showthread.php?t=122422)

kennethj 12-29-2006 02:07 PM

thanks for the upDate - no probles what so ever :)

rburns 01-09-2007 10:45 AM

Paul,

I have this and the visitors in last 24 hours installed and both display like this:

Today's Posters (Total members that have posted on the forum today: %1$s 18)

I've looked in the templates but can't understand or find where it is picking up this %1$s from.

All help appreciated.

Paul M 01-09-2007 11:47 AM

I would say you have customised the template at some point in the past and then upgraded, but not reverted and recustomised the template.

rburns 01-09-2007 12:05 PM

Reverted and it fixed.

Thanks Paul.

Paul M 01-12-2007 08:04 AM

v4.41 - fixed the table index issues, the index was not being created on install, if you already had the index from earlier versions, it wasn't being used. On larger forums this will speed up the query this runs.

joh 01-12-2007 09:17 AM

This is a great hack. It made my guys most even more now that we can all see who came online in the last 24 hours and who post in that same time. keep up the great work.

JamieLee2k 01-12-2007 09:38 AM

Problem with this hack, well is for me, I put in the product file using the Product Manager and I got this
Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                                INSERT INTO _vbsetting
                                        (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                                VALUES
                                        (
                                        'enable_wpt',
                                        'paulmseti',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        30,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'paulm_20050613'
        ),
        (
                                        'text_wpt',
                                        'paulmseti',
                                        '<!-- end logged-in users -->',
                                        '<!-- end logged-in users -->',
                                        'free',
                                        '',
                                        35,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'paulm_20050613'
        );

MySQL Error  : Duplicate entry 'enable_wpt' for key 1
Error Number : 1062
Date        : Friday, January 12th 2007 @ 06:35:45 AM
Script      : http://www.xleagues.net/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.xleagues.net/forum/admincp/plugin.php?do=productadd
IP Address  : xx.xx.xx.xx
Username    : JamieLee2k
Classname    : vb_database


KURTZ 01-12-2007 12:08 PM

<font color="SeaGreen">UPDATED!</font>

smoknz28 01-12-2007 12:16 PM

Installed.....nice. ;)

Thanks for sharing Paul. :up:

Gonzo

Paul M 01-12-2007 04:48 PM

Quote:

Originally Posted by JamieLee2k (Post 1156895)
Problem with this hack, well is for me, I put in the product file using the Product Manager and I got this
Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                                INSERT INTO _vbsetting
                                        (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                                VALUES
                                        (
                                        'enable_wpt',
                                        'paulmseti',
                                        '1',
                                        '1',
                                        'boolean',
                                        'yesno',
                                        30,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'paulm_20050613'
        ),
        (
                                        'text_wpt',
                                        'paulmseti',
                                        '<!-- end logged-in users -->',
                                        '<!-- end logged-in users -->',
                                        'free',
                                        '',
                                        35,
                                        0,
                                        1,
                                        '',
                                        0,
                                        'paulm_20050613'
        );

MySQL Error  : Duplicate entry 'enable_wpt' for key 1
Error Number : 1062
Date        : Friday, January 12th 2007 @ 06:35:45 AM
Script      : http://www.xleagues.net/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.xleagues.net/forum/admincp/plugin.php?do=productadd
IP Address  : xx.xx.xx.xx
Username    : JamieLee2k
Classname    : vb_database


That looks like vb being silly, uninstall it, and then reinstall it.


All times are GMT. The time now is 06:12 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.01137 seconds
  • Memory Usage 1,764KB
  • 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
  • (2)bbcode_code_printable
  • (1)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