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)

tankaya61 02-01-2007 08:16 PM

i replace image.png but don't work

Code:

chdir('/home/username/public_html/');
can you look
http://www.turkishboard.net/images/t...image.png?id=3

derekivey 02-01-2007 08:31 PM

Make sure your server has the GD image library installed. Also can you look in your logs to see if you can see what the error message is for that?

Derek

tankaya61 02-01-2007 08:36 PM

thanks but now i don't use it

how can i erase center block

derekivey 02-01-2007 08:38 PM

You will have to modify the Toplist_HTML_Code template to remove it.

tankaya61 02-01-2007 08:47 PM

thanks for supporter
i erased it table

it been better now for me ;)

DementedMindz 02-05-2007 01:08 AM

derek I was wondering did you ever figure out why when you submit a link or edit the link such as www.example.com/modules.php?name=MS_TopSites&file=in&id=253 the & in it wont validate on http://validator.w3.org/ the only way I have solved this is by going in phpmyadmin and changing it to & amp; but without the space.

Allan 02-05-2007 07:56 AM

French Language ;)

Translator: Rom56 and Allan

derekivey 02-05-2007 09:54 AM

Quote:

Originally Posted by DementedMindz (Post 1174871)
derek I was wondering did you ever figure out why when you submit a link or edit the link such as www.example.com/modules.php?name=MS_TopSites&file=in&id=253 the & in it wont validate on http://validator.w3.org/ the only way I have solved this is by going in phpmyadmin and changing it to & amp; but without the space.

Yes, as a matter of fact, I found out a few days ago. I will try and release a fix later today.

Quote:

Originally Posted by Allan (Post 1175049)
French Language ;)

Translator: Rom56 and Allan

Thanks Allan, I will add it to the first post.

DementedMindz 02-05-2007 03:39 PM

thats cool it had me going crazy trying to change it when they edit there code. any plans on changing the layout or having it where you can really add any kind of link or code? cause right now its limited to just a site url for example if I tried to enter in something like this which most topsites are switching to then it wont work.

Code:

<a href="http://example.net/topsites/">
<img src="http://example.net/topsites/button.php?u=dementedmindz" alt="" border="0" />
</a>


anywares 02-05-2007 04:31 PM

Does this work on vB 3.6.4? :\

DementedMindz 02-05-2007 07:09 PM

Yes It Does

Mecho 02-05-2007 10:17 PM

i set this option " Show Site Images on Forum Home? " Yes .
so it added " top sites: " in the forumhome . how can i edit and change the title (Top Sites:) of that box ?

Thanks

derekivey 02-06-2007 12:22 AM

Quote:

Originally Posted by DementedMindz (Post 1175274)
thats cool it had me going crazy trying to change it when they edit there code. any plans on changing the layout or having it where you can really add any kind of link or code? cause right now its limited to just a site url for example if I tried to enter in something like this which most topsites are switching to then it wont work.

Code:

<a href="http://example.net/topsites/">
<img src="http://example.net/topsites/button.php?u=dementedmindz" alt="" border="0" />
</a>


Do you remember which file it was that you were having problems with &'s being in the URL?

Not quite sure what you mean about adding any type of code. Can you please explain a little more?

Quote:

Originally Posted by Mecho (Post 1175559)
i set this option " Show Site Images on Forum Home? " Yes .
so it added " top sites: " in the forumhome . how can i edit and change the title (Top Sites:) of that box ?

Thanks

Try searching for that phrase in vB's phrase manager. I'm not sure of the varname off the top of my head, but you should be able to find it by doing a search there. All you have to do is put what you want it to say in the language translation textarea.

DementedMindz 02-06-2007 01:34 PM

Quote:

Originally Posted by derekivey (Post 1175639)
Do you remember which file it was that you were having problems with &'s being in the URL?

Not quite sure what you mean about adding any type of code. Can you please explain a little more?

ok when you submit your site to there site thats the code you get back. I think what would be able to work with that since it needs there site link is being able to link to there button instead of being able to upload it cause if you put that full link on your site then it would take you right to there site and count as a hit on there topsites. Ill send you a pm so you can see the true link this way you know what I mean. Its a strange way of doing the topsites code but thats how mostly all new topsites are going to. Also as for the & that only happens when you edit the site or just submit the site it wont change it to & amp;.

derekivey 02-06-2007 06:38 PM

Thanks. I'll look into these.

DementedMindz 02-06-2007 07:47 PM

one thing I could think of to maybe add besides being able to link to the images is maybe have it where admin can add html code for the button this way it will be able to use a code like I sent you in pm or maybe you can figure a way for it to work..

zentz 02-09-2007 12:44 PM

users cant add site to the toplist, i get these errors:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT `email` FROM user WHERE `userid` IN(my@email.com);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@email.com)' at line 1
Error Number : 1064
Date : Friday, February 9th 2007 @ 09:39:31 AM
Script : http://www.site.com/add_site.php
Referrer : http://www.site.com/add_site.php
IP Address : 89.172.69.96
Username : Admin
Classname : vB_Database

Any ideas?

Also how do i check what toplist version do i currently run?

DementedMindz 02-09-2007 01:42 PM

derek any word on that fix? from this post https://vborg.vbsupport.ru/showpost....postcount=1449

Spike Saunders 02-10-2007 03:45 AM

Alrighty so I have a few questions for you all, mostly for the one that developed this awesome hack :)

#1 - Is there anyway that this can be edited to include TWO fields to be filled out for the url, instead of one? The first one being the location of the page that the CODE will appear on. And the second one, being the actaul website's url? I know too many sites that have a Affiliate page, and link to their homepage instead. I would like to fix this so that the code is found on one page while the site themselves in the Toplist will link to the URL specified.

#2 - My forum seems to have an issue with the Redirect from another Site. Basically if you go to one of the sites that have the link back, it goes into a redirect loop while trying to access my site. This repeats indefinitely. However, it does still count the IN link, if you stop or hit back or something to escape the loop. Is there a fix for this? My forum is the most recent version. You can see th is for yourself at (http://www.community.edubn.com/toplist.php) - I understand if the url is removed by a moderator, and if that is the case, that is fine. But I don't mind people checkin it out, you do not have to register, as guest are allowed to view the sites.

#3 - In Firefox ther eseems to be issues with the SITES showing on the main forum page. Sometimes they will be split in half and only the top part of the images will show. Kind of wierd. But Firefox issue as IE does not do it.

I think that's it.

Thanks
-Spike

derekivey 02-10-2007 08:05 PM

Quote:

Originally Posted by zentz (Post 1178343)
users cant add site to the toplist, i get these errors:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT `email` FROM user WHERE `userid` IN(my@email.com);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@email.com)' at line 1
Error Number : 1064
Date : Friday, February 9th 2007 @ 09:39:31 AM
Script : http://www.site.com/add_site.php
Referrer : http://www.site.com/add_site.php
IP Address : 89.172.69.96
Username : Admin
Classname : vB_Database

Any ideas?

Also how do i check what toplist version do i currently run?

It sounds to me that you entered an email address in for the setting that lets you set who receives an email when a site needs verified. You need to enter a user ID (not username or email).

Quote:

Originally Posted by DementedMindz (Post 1178381)
derek any word on that fix? from this post https://vborg.vbsupport.ru/showpost....postcount=1449

Sorry, I've been too busy to take a look. I will get to it ASAP.

Quote:

Originally Posted by Spike Saunders (Post 1178901)
#1 - Is there anyway that this can be edited to include TWO fields to be filled out for the url, instead of one? The first one being the location of the page that the CODE will appear on. And the second one, being the actaul website's url? I know too many sites that have a Affiliate page, and link to their homepage instead. I would like to fix this so that the code is found on one page while the site themselves in the Toplist will link to the URL specified.

That is currently not a feature, but thanks for the suggestion. I will add it to my todo list for the next version.

Quote:

Originally Posted by Spike Saunders (Post 1178901)
#2 - My forum seems to have an issue with the Redirect from another Site. Basically if you go to one of the sites that have the link back, it goes into a redirect loop while trying to access my site. This repeats indefinitely. However, it does still count the IN link, if you stop or hit back or something to escape the loop. Is there a fix for this? My forum is the most recent version. You can see th is for yourself at (http://www.community.edubn.com/toplist.php) - I understand if the url is removed by a moderator, and if that is the case, that is fine. But I don't mind people checkin it out, you do not have to register, as guest are allowed to view the sites.

You probably did not set the In URL setting. Please edit the settings for the script and enter the URL where you want them to be redirected to when they click an In link. Usually people enter the URL to their homepage or the URL to their forums, it's up to you.

Quote:

Originally Posted by Spike Saunders (Post 1178901)
#3 - In Firefox ther eseems to be issues with the SITES showing on the main forum page. Sometimes they will be split in half and only the top part of the images will show. Kind of wierd. But Firefox issue as IE does not do it.

I'll take a look and see if it can be fixed.

Thanks,
Derek

Spike Saunders 02-10-2007 08:14 PM

Quote:

You probably did not set the In URL setting. Please edit the settings for the script and enter the URL where you want them to be redirected to when they click an In link. Usually people enter the URL to their homepage or the URL to their forums, it's up to you.
Haha I feel like an idiot. I checked that field over and over again. But yeah it was blank, thanks.

Can't wait for the next version of toplist, especially if you can get that feature in there. - lol and of course the bugfix for firefox whenever. :)
thanks Derek.

derekivey 02-10-2007 08:25 PM

Quote:

Originally Posted by Spike Saunders (Post 1179396)
Haha I feel like an idiot. I checked that field over and over again. But yeah it was blank, thanks.

Can't wait for the next version of toplist, especially if you can get that feature in there. - lol and of course the bugfix for firefox whenever. :)
thanks Derek.

No Problem.

zentz 02-13-2007 06:23 PM

i tried to add it by myself, i got the error and the site was not added.

Quote:

Originally Posted by derekivey (Post 1179386)
It sounds to me that you entered an email address in for the setting that lets you set who receives an email when a site needs verified. You need to enter a user ID (not username or email).


Sorry, I've been too busy to take a look. I will get to it ASAP.


That is currently not a feature, but thanks for the suggestion. I will add it to my todo list for the next version.


You probably did not set the In URL setting. Please edit the settings for the script and enter the URL where you want them to be redirected to when they click an In link. Usually people enter the URL to their homepage or the URL to their forums, it's up to you.


I'll take a look and see if it can be fixed.

Thanks,
Derek


derekivey 02-15-2007 12:28 AM

Ok, please tell me what you have for these settings...
  • Users To Send Validation Notice Email To
  • User To Send Validation Notice PM From
  • Users To Send Validation Notice PM To
Thanks,
Derek

Mecho 02-16-2007 06:01 PM

derekivey ,

1 - still add list option is so small and hard to find .
2 - users cant add their link button . they just can upload !

that would be great if u fix them in next release ...


anyway i add one button on toplist page so i put the code here if anyone like to use :

in Toplist template find this :
Quote:

</div>
<form action="toplist.php" method="get">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="right">
add this Above of it :
Quote:

<div align="left">
<a href="http://YOUR SITE LINK/add_site.php"><img src="LINK OF IMAGE THAT I ATTACHED" border="0" alt="ADD Your Site" /></a></div>
:)

DementedMindz 02-16-2007 06:09 PM

derekivey any word on a fix yet?

derekivey 02-18-2007 03:20 PM

Quote:

Originally Posted by DementedMindz (Post 1184079)
derekivey any word on a fix yet?

Ok, here is the fix...

Open add_site.php.

Find:
PHP Code:

        'url' => TYPE_STR

Replace With:
PHP Code:

        'url' => TYPE_NOHTML

Close & Save.


Open edit_site.php.

Find:
PHP Code:

        'url' => TYPE_STR

Replace With:
PHP Code:

        'url' => TYPE_NOHTML

Close & Save.

derekivey 02-18-2007 03:34 PM

Quote:

Originally Posted by Mecho (Post 1184075)
derekivey ,

1 - still add list option is so small and hard to find .
2 - users cant add their link button . they just can upload !

that would be great if u fix them in next release ...

Yes, I plan to add the ability to link to buttons OR upload in the next version. So look for that then.

jellybaby 02-19-2007 01:58 PM

I'm not receiving emails when sites are reported - does anyone else have this problem

derekivey 02-19-2007 02:29 PM

Probably a problem with emails on your server. Are people getting thread subscription replies at all? Are your settings for the Toplist correct?

sandrodz 02-21-2007 07:31 PM

I don;t need that mod on my forum any more... didn't workout, members didn't put any links, so I decided to take it off. Is there a complete guide on this? so that I don't damage my vb :)

derekivey 02-21-2007 07:33 PM

Uninstall instructions can be found at the bottom of the readme file.

Derek

Attitude5ire 02-23-2007 01:21 PM

Pagination Bug:
Category pages more than 1 have wrong links i.e extra spaces in catid:

Open toplist.php

Find: line 598
Code:

                $pagenav = construct_page_nav($cur_page, $per_page, $total_sites, 'toplist.php?cid = '.$vbulletin->GPC['cid'] . $vbulletin->session->vars['sessionurl'], "");
Change to:
Code:

                $pagenav = construct_page_nav($cur_page, $per_page, $total_sites, 'toplist.php?cid='.$vbulletin->GPC['cid'] . $vbulletin->session->vars['sessionurl'], "");

derekivey 02-25-2007 02:49 PM

Thanks, I'll fix it for the next version.

Shazz 02-25-2007 03:46 PM

Quote:

Originally Posted by Attitude5ire (Post 1189046)
Pagination Bug:
Category pages more than 1 have wrong links i.e extra spaces in catid:

Open toplist.php

Find: line 598
Code:

                $pagenav = construct_page_nav($cur_page, $per_page, $total_sites, 'toplist.php?cid = '.$vbulletin->GPC['cid'] . $vbulletin->session->vars['sessionurl'], "");
Change to:
Code:

                $pagenav = construct_page_nav($cur_page, $per_page, $total_sites, 'toplist.php?cid='.$vbulletin->GPC['cid'] . $vbulletin->session->vars['sessionurl'], "");


Cool fix

Ren? Kunze 02-26-2007 10:12 AM

Hello,

I have a Problem with the & , see the Pictuer,

Attachment 61069

I have do this : https://vborg.vbsupport.ru/showpost....postcount=1468

But the Problem is.

We can help me with this Problem.

b6gm6n 03-01-2007 04:00 PM

Hi... just wondering if theres an update due... :) not sure if i have the latest because it's been a while :) cheers

-b6

Lionel 03-18-2007 01:09 AM

I am having a javascript error whenever there is a new listing added. It disappears when you rate it at least once. Is there a fix for it? Thanks

Vert777 03-19-2007 10:42 AM

Please help!!!

The problem is that after I added sites they are shown only in Random field, and doesn't show anything in the main field. URL: www.rybnadzor.com/forums/toplist.php

derekivey 03-19-2007 06:32 PM

Quote:

Originally Posted by Lionel (Post 1205971)
I am having a javascript error whenever there is a new listing added. It disappears when you rate it at least once. Is there a fix for it? Thanks

I'll look into it.

Quote:

Originally Posted by Vert777 (Post 1207217)
Please help!!!

The problem is that after I added sites they are shown only in Random field, and doesn't show anything in the main field. URL: www.rybnadzor.com/forums/toplist.php

Are the sites set to inactive?


All times are GMT. The time now is 11:00 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.04190 seconds
  • Memory Usage 1,862KB
  • 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
  • (7)bbcode_code_printable
  • (4)bbcode_php_printable
  • (20)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