vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Toplist (https://vborg.vbsupport.ru/showthread.php?t=98646)

Nova2k 12-15-2005 12:03 AM

Hi,

This is my first time install of this hack, when i run the XML file i get the following error.
Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'toplist_enabled',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        10,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'disabled_message',
                                        'toplist_options',
                                        'The Toplist is Currently Disabled. Please Come Back Later.',
                                        'The Toplist is Currently Disabled. Please Come Back Later.',
                                        'free',
                                        'textarea',
                                        20,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_ranking_method',
                                        'toplist_options',
                                        '0',
                                        '0',
                                        'number',
                                        '<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">In Hits</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Out Hits</option>\r\n<option value=\\\"2\\\" \" . iif($setting[\'value\']==2,\'selected=\"selected\"\') . \">Rating</option>\r\n</select>',
                                        30,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_count_out_from_guests',
                                        'toplist_options',
                                        '0',
                                        '0',
                                        'free',
                                        'yesno',
                                        40,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_limit_out_clicks',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        50,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_out_click_limit',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        60,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_limit_in_clicks',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        70,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_in_click_limit',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        80,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_allowed_user_groups',
                                        'toplist_options',
                                        '2,5,6,7',
                                        '2,5,6,7',
                                        'free',
                                        '',
                                        90,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_allow_member_edit',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        100,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_allowed_to_moderate',
                                        'toplist_options',
                                        '5,6,7',
                                        '5,6,7',
                                        'free',
                                        '',
                                        110,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        '',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        120,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_open_in_new_window',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        120,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_disable_html',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        'yesno',
                                        130,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_moderate_sites',
                                        'toplist_options',
                                        '0',
                                        '0',
                                        'free',
                                        'yesno',
                                        140,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_email_new_validation',
                                        'toplist_options',
                                        '0',
                                        '0',
                                        'free',
                                        'yesno',
                                        150,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_email_users',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        160,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_pm_new_validation',
                                        'toplist_options',
                                        '0',
                                        '0',
                                        'free',
                                        'yesno',
                                        170,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_pm_from_user',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        180,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_pm_users',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        190,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'sites_per_page',
                                        'toplist_options',
                                        '15',
                                        '15',
                                        'free',
                                        '',
                                        200,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_in_redirect_url',
                                        'toplist_options',
                                        '',
                                        '',
                                        'free',
                                        '',
                                        210,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_number_of_sites',
                                        'toplist_options',
                                        '1',
                                        '1',
                                        'free',
                                        '',
                                        220,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_max_height',
                                        'toplist_options',
                                        '31',
                                        '31',
                                        'free',
                                        '',
                                        230,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_max_width',
                                        'toplist_options',
                                        '88',
                                        '88',
                                        'free',
                                        '',
                                        240,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_popup_height',
                                        'toplist_options',
                                        '220',
                                        '220',
                                        'free',
                                        '',
                                        250,
                                        0,
                                        1,
                                        'toplist'
        ),
        (
                                        'toplist_popup_width',
                                        'toplist_options',
                                        '250',
                                        '250',
                                        'free',
                                        '',
                                        260,
                                        0,
                                        1,
                                        'toplist'
        );

MySQL Error  : Duplicate entry '' for key 1
Error Number : 1062
Date        : Wednesday, December 14th 2005 @ 08:01:19 PM
Script      : http://www.robscorner.com/forum/admincp/plugin.php
Referrer    : http://www.robscorner.com/forum/admincp/plugin.php?do=productadd
IP Address  : *********
Username    : ByteDevil
Classname    : vb_database

I have checked the database and there is no Topsite tables of any topsite data in the database before the install.

Thanks for this great hack cant wait to get it working.

derekivey 12-15-2005 12:10 AM

@mindfrost82, can you please provide me with a test account also? Thx.
@Nova2k, try uninstalling and reimporting and see if it works.

Nova2k 12-15-2005 01:55 PM

I re-downloaded the package uploaded all the files again and reinstalled package but i'm still getting the same error.

:ermm:

derekivey 12-15-2005 06:00 PM

If you want to PM me admin details, I can take a look, also PHPMyAdmin details would be helpful but it's up to you.

croportal 12-15-2005 10:40 PM

can u please tell me,

example: i go to this toplist and i submit my site, will i get the link code with banner to put on my site.

and users from my site can rate top list

derekivey 12-15-2005 10:53 PM

It gives you HTML code for a link, but you can edit the template and change the code to be HTML code for a banner if you want. For the next release, I plan on implementing a system that lets the user choose what they want... Users can click the link and it redirects them to the toplist or whatever page you specified in the AdminCP, and it counts their "In Hit" towards your site.

Derek

Yorixz 12-16-2005 03:04 PM

I'm wondering, could you also make a little addon for this beautiful hack so templates will be grouped? There are quite a lot of templates so it'll be very nice to have them under a single title :).

Warrior 12-16-2005 03:36 PM

I didn't see it in the screen shots... where does this program give the linking URL to the other site? Or does it count all incoming links referred from their domain automatically? Do they need a unique URL for linking? :confused: Can you please post a screenshot of this?

croportal 12-16-2005 03:39 PM

i also cannot see the screenshot of user get link to put on page

derekivey 12-16-2005 06:47 PM

Quote:

Originally Posted by Yorixz
I'm wondering, could you also make a little addon for this beautiful hack so templates will be grouped? There are quite a lot of templates so it'll be very nice to have them under a single title :).

Already added :). It's in the next release.

Quote:

Originally Posted by sengerdw
I didn't see it in the screen shots... where does this program give the linking URL to the other site? Or does it count all incoming links referred from their domain automatically? Do they need a unique URL for linking? :confused: Can you please post a screenshot of this?

I'll post some screenshots in a few minutes.


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