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)

Benj 11-28-2005 12:45 PM

this might have been suggested but how about instead of just showing html code for linking to the toplist (vb) site you show other code as well for images that the vb site admin has uploaded. so for example the admin can upload 6 or 7 promotional images. then when a user has finished adding there site they have the option to copy a simply text link as well as in link with the admins promotional images


hope u understand me


cheers :D

derekivey 11-28-2005 02:16 PM

That can easily be added by tweaking the Toplist_HTML_Code template and changing it to be like you want. I think I am just going to keep it the same for now. But if you want to change it on yours feel free to.

Derek

loonytune15 11-29-2005 12:55 PM

Is there a way to have a box on the forumhome thats shows random toplists sites?

derekivey 11-29-2005 06:48 PM

Yeah, I'll try and make an addon tonight. Where would you like to see it at on the forum home?

Xtrato 11-29-2005 07:26 PM

bottom in a hor. scrolling bar.

derekivey 11-29-2005 07:47 PM

Like under the Whats Going on? Box?

Xtrato 11-30-2005 07:25 PM

yea like under the birthdays ect.

It would scroll the images (linked) across the page in a box. I think that would be a nice addon.

derekivey 11-30-2005 07:39 PM

Wait, so you just want a part that scrolls the images in the Toplist?

Xtrato 11-30-2005 11:58 PM

yea and maybe if no image, the name of the site and its linked to that site thru the out.php thing.

derekivey 12-01-2005 12:06 AM

Ok, I'll try and make that.

Xtrato 12-02-2005 12:13 AM

Ok great!

Also Bump this amazing hack to the first page :D

derekivey 12-02-2005 02:08 AM

I'll try and get to it tomorrow, I have been really busy with school this week :(.

bitblaster 12-02-2005 10:21 PM

I have installed this.

If I may make a suggestion....

Could you have another update for game servers, to check the status, and possibly only show online servers?

Thanks for the mod!

derekivey 12-02-2005 11:24 PM

Hi,

I'm not sure how to do this, sorry :(

derekivey 12-05-2005 12:19 AM

Version 1.0.4 is now out.

Please see the first post for what's new.

Follow the readme file closely to avoid losing the sites in your Toplist...

Derek

divided_by_fear 12-05-2005 12:41 AM

the rating system dont see to work for me gives me a error...

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT * FROM toplist_ratings WHERE site_id='2' && username='MindWalker';

MySQL Error : Table '*************.toplist_ratings' doesn't exist
Error Number : 1146
Date : Sunday, December 4th 2005 @ 09:40:03 PM
Script : /toplist.php?do=rate&id=2
Referrer :
IP Address :
Username :
Classname : vb_database

divided_by_fear 12-05-2005 12:54 AM

its the way you have the sql set up with table_prefix it dont work on my sql i suppose cause it didnt alter the tables

derekivey 12-05-2005 02:03 AM

Hold on, I think I forgot to add the SQL code for that database to the install code, I'll update the zip file in a second.

divided_by_fear 12-05-2005 02:07 AM

ok np thank you very much

derekivey 12-05-2005 02:08 AM

Ok, redownload the zip file and try importing it again, don't forget to hit yes for overwrite.

divided_by_fear 12-05-2005 02:13 AM

kk one sec ill try

derekivey 12-05-2005 02:16 AM

You might get an error in that one, if so please redownload and import the new .xml file. I was missing a " in the install code.

divided_by_fear 12-05-2005 02:16 AM

nope did the same thing... i did overwrite and all...

derekivey 12-05-2005 02:18 AM

Try the file I just uploaded please.

divided_by_fear 12-05-2005 02:21 AM

nah its still giving the same error

derekivey 12-05-2005 02:21 AM

Hmm I'll take a look and get back to you in a few mins.

divided_by_fear 12-05-2005 02:25 AM

ok np this is the error it gives

Invalid SQL:
SELECT * FROM toplist_ratings WHERE site_id='2' && username='MindWalker';

MySQL Error : Table '*******_**********.toplist_ratings' doesn't exist

derekivey 12-05-2005 02:35 AM

Ok, try again please.

If it doesn't work, just execute this query in the AdminCP:
[sql]
CREATE TABLE `".TABLE_PREFIX."toplist_ratings` (
`id` int(10) NOT NULL auto_increment,
`site_id` int(10) NOT NULL default '0',
`username` varchar(255) NOT NULL default '',
`rating` int(1) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
[/sql]

divided_by_fear 12-05-2005 02:42 AM

it wont even let me do it through php admin

#1103 - Incorrect table name '".TABLE_PREFIX."toplist_ratings'

divided_by_fear 12-05-2005 02:43 AM

is there a way i can do it with out the table prefix

derekivey 12-05-2005 02:54 AM

Yeah remove ".TABLE_PREFIX." it wont work in phpmyadmin b/c TABLE_PREFIX is part of vB.

divided_by_fear 12-05-2005 02:56 AM

ok one sec let me try

divided_by_fear 12-05-2005 02:58 AM

ok it opens up the ratings box but once i subit it gives another error let me try to do the tables manually or if you code post the tables that would be great

derekivey 12-05-2005 03:00 AM

[sql]
ALTER TABLE `toplist_sites` ADD `rating_total` INT( 10 ) DEFAULT '0' NOT NULL AFTER `out`;

ALTER TABLE `toplist_sites` ADD `votes` INT( 10 ) DEFAULT '0' NOT NULL AFTER `rating_total`;

ALTER TABLE `toplist_sites` ADD `rating_average` INT( 10 ) DEFAULT '0' NOT NULL AFTER `votes`;
[/sql]

There you go :)

divided_by_fear 12-05-2005 03:04 AM

working great thank you one thing i went to rate my site before this fix but its not showing now can i make that show?

divided_by_fear 12-05-2005 03:05 AM

nm lol i got it thank you so much... now how could i add the rating to the random site module lol...sorry for asking so much

derekivey 12-05-2005 03:11 AM

I'll update that module tomorrow, I have to go now. It's late here.

Derek

loonytune15 12-05-2005 10:47 AM

Was the add-on for the forum home added into this release?

divided_by_fear 12-05-2005 10:49 AM

no it wasnt...

loonytune15 12-05-2005 11:42 AM

I have updated and cant see any probs so far, though i am hoping the add-on for the forum home will be added in soon.

I'd like it to include an option on how many will scroll and so forth.


All times are GMT. The time now is 09:34 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.02101 seconds
  • Memory Usage 1,778KB
  • 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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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