vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Links Directory 2.0 *NEW VERSION* (https://vborg.vbsupport.ru/showthread.php?t=44551)

Kohhal 11-08-2002 12:06 PM

Great hack, seems to be working well, couple of issues though.

Where in the Admin CP should I go to Validate added links as I don't see this anywhere?

Also, unvalidated links are appearing in the "Top 10 Visited" page?

Also, I would like to place links.php outside my forum directory, what do I need to change to allow this to work? as I get the following error when I move it right now :

Fatal error: Failed opening required './global.php' (include_path='') in /home/username/public_html/links.php on line 2

Other than that, great hack :D

WoodiE 11-08-2002 12:15 PM

DrkFusion,

Did you see my question Here



Thanks,

-WoodiE

David_McPherson 11-08-2002 12:59 PM

Quote:

I am willing to have you 2 beta-test these features for me, as they get finished, you will be provided information on how to implement it, and how to use it.
I have a test server and board setup if you'd like a beta tester on 2.2.8 ?? Just let me know..

I love this hack.

DrkFusion 11-08-2002 01:03 PM

Alright, when I get home, I will look into all the problems, right now I am at school..

-Arunan

Kohhal 11-08-2002 01:24 PM

Quote:

Originally posted by TheMasterG
Great hack, seems to be working well, couple of issues though.

Where in the Admin CP should I go to Validate added links as I don't see this anywhere?

Also, unvalidated links are appearing in the "Top 10 Visited" page?

Also, I would like to place links.php outside my forum directory, what do I need to change to allow this to work? as I get the following error when I move it right now :

Fatal error: Failed opening required './global.php' (include_path='') in /home/username/public_html/links.php on line 2

Other than that, great hack :D

Ok, I see the "Validate New" link now, just appeared after a while.

And I fixed the unvalidated links problem:

In links.php, change :
PHP Code:

// #################### Top 10 Most Visited Links ####################
if ($action=="top10visited") {
    
$asb $DB_site->query("SELECT * FROM gportal_weblinkslink ORDER BY hits DESC LIMIT 10"); 

to :
PHP Code:

// #################### Top 10 Most Visited Links ####################
if ($action=="top10visited") {
    
$asb $DB_site->query("SELECT * FROM gportal_weblinkslink WHERE valid='1' ORDER BY hits DESC LIMIT 10"); 

Only thing left to do is how to place links.php outside my forum directory?

Kohhal 11-08-2002 03:41 PM

Just noticed that the visited links counter is incrementing two at a time? Visit a link once, Hits=2, visit twice, Hits=4 etc.... ???

Dean C 11-08-2002 05:55 PM

Arunan :(

No ratings system :(?

- miSt

Odil 11-08-2002 06:17 PM

Quote:

Originally posted by DrkFusion
Alright, when I get home, I will look into all the problems, right now I am at school..



-Arunan

Validate links showed up after several hours like the previous persons. I have no idea why.

Odil

DrkFusion 11-08-2002 06:34 PM

Really wierd, let me check everything out.

-Arunan

DrkFusion 11-08-2002 06:37 PM

The validate link will only apear after you enable link validation in the vbulletin option.

-Arunan


All times are GMT. The time now is 08:32 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.01626 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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