vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Toplist Hack (https://vborg.vbsupport.ru/showthread.php?t=38076)

Slynderdale 05-28-2002 05:41 AM

Toplist 2.0 should be done today or tomarrow, if you have any ideas or requests post them, if there good ill add them in 2.0

New Features of 2.0:

Members can add a image on there site that records daily and total page hits.

Admins can reset sites and set there stats all back to 0.

A random banner and button code that shows a random buttom or banner when the page refreshes and if you click on it, it counts as an out for that site and it takes you to that site.

A bug fix in the old version that if a site has over 10 votes some times its gets placed at the bottom or middle and ones wirh 5,6,7 and so on gets placed higher.

also an idea, an admin reset and delete all, if you wish these to be added, please post and tell me and tell me if you have any other ideas.

Slynderdale 05-28-2002 06:10 AM

Quote:

Originally posted by ceo_tfw
can you let us know where the nav.gif is? when you click on the small button link to a members site to get code, the two buttons seem to be broken :)
i replaced all my > with a image instead of >, makes it look a little better and it matches my custom style i made, just change it to > and ill also attach the image if you want it.

countryboy713 05-28-2002 09:22 AM

What i was really looking forward to, if you can, is the page views count for votes. When they put my button on their page and it gets viewed, it counts as a vote.

Is this still possible?

Slynderdale 05-28-2002 09:51 AM

Quote:

Originally posted by countryboy713
What i was really looking forward to, if you can, is the page views count for votes. When they put my button on their page and it gets viewed, it counts as a vote.

Is this still possible?

ill make it the way i have planned then when thats done ill edit it to how you want it and ill post it for you :)

Seby 05-28-2002 12:23 PM

thanks that you will implement the page views thing ;) Will be a great hack when done I think. Would be cool if you could make an option in the admin interface to choose wether you want a "voting" list of a "pageviews" list. So if people sign up they either get a vote image or an image that counts the pageviews.
Just an idea though.

Thanks,
Sebastian

Princeton 05-29-2002 05:50 AM

Some things just didn't make sense to me so I ....
Changed a few things:
permissions, I'm using only buttons I removed all references to banners, BUTTON CODE displays when in EDIT section only, added refferid to vote url {reciprocal link}, made the front page valid HTML, added a help section (actually this was already part of my site ... you never know), added a dialog box to confirm deletion.

Besides doing all these (personal) changes, I think you did a great job.:up: What would make this even better is the ability to count incoming hits site-wide. eg. no need to click on a vote url or a banner to count as a hit

You can check it out at total-impact.com. Add your site if you like ... read the guidelines before you do.

Seby 05-31-2002 05:10 PM

so you gonna release the hack soon? I am waiting :D

ULTIMATESSJ 05-31-2002 07:57 PM

i got a proble while trying to run the query for this

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: DROP TABLE IF EXISTS toplist_hitsin;
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_increment,
topid int(11) NOT NULL default '0',
accountid varchar(20) NOT NULL default '',
date varchar(20) NOT NULL default '',
PRIMARY KEY (inid)
)
mysql error: You have an error in your SQL syntax near ';
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_incremen' at line 1

mysql error number: 1064

Date: Friday 31st of May 2002 04:52:43 PM
Script: http://www.animexplosion.com/forums/...dmin/query.php
Referer: http://www.animexplosion.com/forums/admin/query.php

Slynderdale 06-01-2002 02:37 AM

Quote:

Originally posted by ULTIMATESSJ
i got a proble while trying to run the query for this

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: DROP TABLE IF EXISTS toplist_hitsin;
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_increment,
topid int(11) NOT NULL default '0',
accountid varchar(20) NOT NULL default '',
date varchar(20) NOT NULL default '',
PRIMARY KEY (inid)
)
mysql error: You have an error in your SQL syntax near ';
CREATE TABLE toplist_hitsin (
inid int(11) unsigned NOT NULL auto_incremen' at line 1

mysql error number: 1064

Date: Friday 31st of May 2002 04:52:43 PM
Script: http://www.animexplosion.com/forums/...dmin/query.php
Referer: http://www.animexplosion.com/forums/admin/query.php

run the queries one by one with phpmyadmin, fire flies query in admin cp or another query tool

Slynderdale 06-01-2002 02:38 AM

Quote:

Originally posted by Seby
so you gonna release the hack soon? I am waiting :D
soon, power went out all day today and yesterday and my mom just came out of the hospital, ive been a little busy, ive been working on the scripted though and adding alot of new stuff


All times are GMT. The time now is 07:22 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.01371 seconds
  • Memory Usage 1,745KB
  • 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_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