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)

divided_by_fear 11-21-2005 01:39 AM

ok np lol im lookin too lol i like it though it looks nice lol can almost turn that into a banner exchange lol sell space there lol

divided_by_fear 11-21-2005 01:49 AM

i have to upload the module again... unless i can get it to change back to what ever it is before i right clicked on it and opened it with notepad... anyword on how to change it back from notepad?

derekivey 11-21-2005 01:58 AM

Ok, try this one lol. Remember to change the column to Center.

divided_by_fear 11-21-2005 02:00 AM

ok ill have to import it in the morning ill let you know though... thank you very much for all your work... cause i cant get it to change back to a module lol when i take it out of zip its a text file and i cant get it back to a module lol so ill have to use the other pc in the morning

derekivey 11-21-2005 02:15 AM

It should still import fine. The extension is probably hidden.

divided_by_fear 11-21-2005 02:30 AM

ok i set it up looks good just has like a double bar on it on the top take a look not cached too

divided_by_fear 11-21-2005 02:32 AM

see where it says Random Site how can i remove that part? then it would be perfect

edit oppps aybe not the up and down dont work on it

derekivey 11-21-2005 02:38 AM

Hi,

Sorry about that lol. Import this module file. I forgot to edit the file to change the name of the template. Then, you can delete the toplist_random_site_module template because I have renamed it to adv_portal_toplist_random_site.

Everything should work now when you import this file instead.

Derek

divided_by_fear 11-21-2005 02:40 AM

how do i delete that template? also works perfect though

derekivey 11-21-2005 02:58 AM

Clicking revert does it. Glad its working now :)

divided_by_fear 11-21-2005 03:01 AM

one last thing would you mind twlling me how i could rename it to supporters? unless u dont want me too... this way people know what it is more... is there a phrase u have to edit if you do mind?

divided_by_fear 11-21-2005 03:03 AM

lol now im being a pain lol in the future ones too maybe on the mod its self use that script that made it open and close on the topliste random and the one that has them listed like if you go to my site you know the code you just added to that one to make it colaspe add it on the 2 blocks on toplist.php

divided_by_fear 11-21-2005 03:18 AM

i removed the button off the main page just incase there site goes down.. this way it wont lag my site on dial up users opening it

derekivey 11-21-2005 09:57 AM

Yeah, I plan to add a uploading feature to the Toplist so it doesn't link to their sites. I just don't know how vBulletin does it yet lol.

To remove the button, just edit the adv_portal_toplist_random_site template and delete

<td class="alt2" width="88">$image</td>

divided_by_fear 11-21-2005 10:01 AM

yeah that would be nice i just shut there buttons off on main page... this way it dont show the buttons... did you see what i was talking about on the main page for this about the collapse maybe add that to the toplist page for the random and the part where the sites are listed?

VAN 11-21-2005 05:53 PM

A question and a suggestion...

1: Does this include pagination of any kind, or will the list just keep growing and growing?

2: It would be nice to see you include categories. Admin would create link categories (member sites, funny sites, adult sites, etc., and the submitter would choose which category to place their link. This would also make it easier on people viewing the links since they could simply avoid categories that did not interest them. Should be a simple addition. I'll add it myself tonight, but it would be nice to have it in the official release. ;)

3: Bonus suggestion! It would look a heck of a lot cleaner if you left-justified the links and descriptions. Center-aligned columnar text is difficult to read.

Nice work!

derekivey 11-21-2005 06:35 PM

Yes, has pagination. Also, I'll take a look into adding that category feature and making the links and descriptions be aligned on the left side.

Derek

derekivey 11-21-2005 06:36 PM

Quote:

Originally Posted by divided_by_fear
yeah that would be nice i just shut there buttons off on main page... this way it dont show the buttons... did you see what i was talking about on the main page for this about the collapse maybe add that to the toplist page for the random and the part where the sites are listed?

Yeah, I will probably add that also to the main Toplist.

divided_by_fear 11-21-2005 11:57 PM

that would be sweet... hey if you get free wanted to see if you could help me on something... hit me up on my site with a pm or on here with a pm

FleaBag 11-22-2005 01:52 AM

Hey nice hack! Installing now. Out of interest why the number of different .php files? I would have thought they could all be in the same one? I'm not being picky, I just have enough files in the root as it is! ;) Thanks! :)

funinthesun 11-22-2005 09:18 AM

How can I change the title in the navbar to 'Links' instead of 'Toplist' as this makes it easier for my members :)

derekivey 11-22-2005 09:51 AM

Don't know lol. I might try combining some of the files in the next version, like the in and out.php files. Also probably the add_site, delete_site and edit_site files. Look for this in the next version :)

Brandon Sheley 11-22-2005 05:50 PM

updated with no problems,, thank you :)

divided_by_fear 11-22-2005 06:39 PM

derekivey you should put a link in this description with the addon module for vbadvanced... this way more people can grab it...

derekivey 11-22-2005 06:53 PM

It's shown in the first post in the box called addons. Do you mean the description in the readme file?

michaelbenson 11-22-2005 09:43 PM

Is it possible for the outbound site URLs to actually link to their destinated target and not some insite .php redirection page?

derekivey 11-23-2005 12:38 AM

I don't think so, because it wouldn't be able to count the in or out hit...

divided_by_fear 11-23-2005 12:41 AM

Quote:

Originally Posted by derekivey
It's shown in the first post in the box called addons. Do you mean the description in the readme file?

no i didnt see it on here on the description of this mod... i figured it would allow more people to find it easier

Brandon Sheley 11-23-2005 12:45 AM

most admins know where the addons are located ;)

Add-Ons
Toplist Random Site vBadvanced Module
i seen it :p

derekivey 11-23-2005 01:50 AM

I'm not going to bother adding it to the readme lol. I'm too lazy to reupload it :p

Allan 11-23-2005 04:24 AM

Current translation ...... ;)

TheProphet 11-23-2005 04:28 AM

Great thanks m8, thumbs up, this is just what i needed...

trackpads 11-24-2005 02:08 PM

I am getting this error when I import the product and cannot figure out why:

Quote:

Database error in vBulletin 3.5.0:

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'
),
(
'rank_by_in',
'toplist_options',
'1',
'1',
'free',
'yesno',
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'
);

MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Date : Thursday, November 24th 2005 @ 10:07:17 AM
Script : http://www.trackpads.com/forum/.../plugin.php
Referrer : http://www.trackpads.com/forum/.../p...?do=productadd
IP Address : 68.47.97.220
Username : Hannibal
Classname : vb_database
thanks!

derekivey 11-24-2005 08:57 PM

Do you already have this hack installed? That error means those settings exist already.

trackpads 11-24-2005 09:01 PM

Quote:

Originally Posted by derekivey
Do you already have this hack installed? That error means those settings exist already.

I thought the same thing even though I didnt. I had the affiliate hack installed but removed it aswell as installed this one and then removed it too just to see if I could clear it.

I looked in phpmyadmin for any of those variables in the settings table but found nothing. Any idea what else I should check?

Thanks again for the help,

-Jason

trackpads 11-24-2005 09:09 PM

Just checked the table and this is the first one that didnt get put in and there is no duplicate:

(
'toplist_open_in_new_window',
'toplist_options',
'1',
'1',
'free',
'yesno',
120,
0,
1,
'toplist'
),

Any ideas?

trackpads 11-24-2005 09:12 PM

Quote:

Originally Posted by trackpads
Just checked the table and this is the first one that didnt get put in and there is no duplicate:

(
'toplist_open_in_new_window',
'toplist_options',
'1',
'1',
'free',
'yesno',
120,
0,
1,
'toplist'
),

Any ideas?

Found it!

Wierd though, one of the varnames in my settings table was blank? That was what was breaking the import of this product.

All works now.

thanks!!

derekivey 11-24-2005 10:04 PM

Try executing this query in phpmyadmin or the query page in the vB AdminCP, and see if it returns anything.

[sql]SELECT * FROM setting WHERE varname='toplist_enabled'[/sql]

Derek

EDIT: Ok lol, glad you got it to work :)

trackpads 11-24-2005 10:31 PM

Quote:

Originally Posted by derekivey
Try executing this query in phpmyadmin or the query page in the vB AdminCP, and see if it returns anything.

[sql]SELECT * FROM setting WHERE varname='toplist_enabled'[/sql]

Derek

EDIT: Ok lol, glad you got it to work :)

Thank you for the help, this is a really, really nice hack. Kudos!!!

derekivey 11-25-2005 01:05 AM

Thanks :) Glad you like it!

Derek


All times are GMT. The time now is 03:23 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.02164 seconds
  • Memory Usage 1,834KB
  • 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
  • (6)bbcode_quote_printable
  • (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