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)

Robbed 10-10-2006 10:07 PM

Quote:

Originally Posted by derekivey

They can get their code by clicking edit site and clicking the submit button. I might add a separate page in the next version though.

Also, I will look into the URL problem as well.
[/SIZE]

The url works fine in the admincp just not toplist.

For some reason I never get notfied by email about new sites so I'm using PM.

loonytune15 10-11-2006 03:34 AM

when is the vb 3.6 version going to be released?

derekivey 10-11-2006 09:36 AM

Quote:

Originally Posted by DementedMindz
let me grab someting to eat and ill make you a name this way you can see whats going on. do your stats update?

Ya, my stats are working fine.

Quote:

Originally Posted by Robbed
The url works fine in the admincp just not toplist.

For some reason I never get notfied by email about new sites so I'm using PM.

What happens when people use the edit site link?

Quote:

Originally Posted by loonytune15
when is the vb 3.6 version going to be released?

I'm hoping to get it out tonight.

Derek

Hoffi 10-11-2006 11:29 AM

I run the Toplist under 3.6.2 - No Problems at all.

DementedMindz 10-12-2006 02:52 PM

Derek I just down graded to the older version for now this way my links dont mess up until you fix the problems. One other thing that would be nice is for them to be able to add there button instead of uploading it or have it so the admin can add it cause some sites have weird links to there buttons (ex. http://example.com/topsites/button.php?u=mysite )

jellybaby 10-12-2006 03:38 PM

Im also getting the issues with my arrows but could be because I am getting this error:-

Warning: main(): Failed opening '/home/mysite/public_html/forums/./includes/cron/toplist_rankings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108

Any ideas?

Thanks

derekivey 10-12-2006 07:06 PM

Quote:

Originally Posted by jellybaby
Im also getting the issues with my arrows but could be because I am getting this error:-

Warning: main(): Failed opening '/home/mysite/public_html/forums/./includes/cron/toplist_rankings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108


Any ideas?

Thanks

Sorry, it should be toplist_ranks.php not toplist_rankings.php. I typed the wrong name in the readme file, sorry about that. I will update the zip file to include the change in the readme file so no one else has any problems.

Derek

derekivey 10-12-2006 07:13 PM

DementedMindz, this change should fix the links problem. Can you maybe try on your test board and see if it fixes it?

Open: add_site.php

Find:
PHP Code:

    $vbulletin->input->clean_array_gpc('p', array(
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_NOHTML,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT
    
)); 

Replace With:
PHP Code:

    $vbulletin->input->clean_array_gpc('p', array(
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_STR,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT
    
)); 

Close and Save add_site.php

Open: edit_site.php

Find:
PHP Code:

    $vbulletin->input->clean_array_gpc('p', array(
        
'id' => TYPE_UINT,
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_NOHTML,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT,
        
'old_url' => TYPE_NOHTML
    
)); 

Replace With:
PHP Code:

    $vbulletin->input->clean_array_gpc('p', array(
        
'id' => TYPE_UINT,
        
'sitename' => TYPE_NOHTML,
        
'url' => TYPE_STR,
        
'description' => TYPE_STR,
        
'category' => TYPE_UINT,
        
'old_url' => TYPE_NOHTML
    
)); 

Close and Save edit_site.php

Open: toplist.php

Find and Delete:
PHP Code:

$sr['url'] = htmlspecialchars_uni($sr['url']); 

Close and Save toplist.php.

Derek

DementedMindz 10-12-2006 08:19 PM

Lets me turn my pc on that I have linux in and ill tet it out.

DementedMindz 10-12-2006 08:24 PM

works great now.. also it will put it back into validate when you do that which is nice too just the ranks and Im going to put it back on my live site.


All times are GMT. The time now is 01:22 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.02482 seconds
  • Memory Usage 1,762KB
  • 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
  • (5)bbcode_php_printable
  • (5)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