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)

DementedMindz 01-09-2007 05:12 AM

ok and you can do the same thing once again with the way he has it coded now. but if your happy thats all that matters.

derekivey 01-10-2007 03:37 AM

Quote:

Originally Posted by squishi (Post 1152468)
You are right, that file is not loading in a browser.
But I don't see why?

Take for example this one from the same folder, it loads fine.
http://chubbyparade.com/forum/images...RPa2M9WwSVmvDT

:confused:

Can you try temporarily removing that redirect thing and see if it works then?

Derek

chatfan 01-10-2007 10:51 AM

Quote:

Originally Posted by DementedMindz (Post 1154324)
ok and you can do the same thing once again with the way he has it coded now. but if your happy thats all that matters.

Just for you because i love you so :rolleyes: the difference:

Original Look

Hacked version

squishi 01-20-2007 07:16 AM

Quote:

Originally Posted by derekivey (Post 1155192)
Can you try temporarily removing that redirect thing and see if it works then?

Derek

I found it. The files had the wrong owner permissions and could only be read by the server.

derekivey 01-20-2007 03:40 PM

Ok, Great! Glad it's working now.

Derek

chatfan 01-25-2007 10:01 AM

Hi folks,

Quick question: is it possible to add another protocol to the url validation?

I found this in the add_site.php and edit_site.php:

PHP Code:

//------------------------------------------------------------
// Make Sure the URL Submitted is Valid.
//------------------------------------------------------------
            
$check_url substr($vbulletin->GPC['url'], 07);
            
            
            if (
$check_url == "http://")
            { 


My knowledge of IF arguments faded with the selling of my Amiga 12 years ago, I hope someone can whip up an example.

Would like to add two more protocols for radio and chat.


The link check will have to be disabled off course (shame, briliant feature)


Thanks!

derekivey 01-25-2007 10:07 AM

Try replacing

if ($check_url == "http://")

With:

if ($check_url == "http://" OR $check_url == "protocol://")

Replace protocol with the protocol.

If the protocol is longer than http, you will have to add another $check_url var (different name though, and change the 7 to the total amount of characters including the :// part.

Derek

chatfan 01-25-2007 06:14 PM

Thanks that worked!

Is it possible to do this:

if ($check_url == "http://" OR $check_url == "protocol1://" OR $check_url == "protocol2://")

anyway, thanks again.

akulion 01-29-2007 05:48 AM

hi what am i suppsed to put in these feilds when creating a scheduled task?

varname

Log Phrase

Description

cos otherwise it just says "please fill in all required feilds"

thanks
aku

derekivey 01-29-2007 09:50 AM

Quote:

Originally Posted by chatfan (Post 1167166)
Thanks that worked!

Is it possible to do this:

if ($check_url == "http://" OR $check_url == "protocol1://" OR $check_url == "protocol2://")



anyway, thanks again.

You would have to make a new $check_url variable (with a different name), and change the 7 in the function to the number of characters of the protocol you want to check.

Quote:

Originally Posted by akulion (Post 1169553)
hi what am i suppsed to put in these feilds when creating a scheduled task?

varname

Log Phrase

Description

cos otherwise it just says "please fill in all required feilds"

thanks
aku

Please see the readme file. They are listed there.

Derek


All times are GMT. The time now is 08:13 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.02659 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
  • (1)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