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

DrkFusion 11-08-2002 06:37 PM

Quote:

Originally posted by Dark_Wizard
Great...thx for the quick response! I would be very willing to help beta test this and if needed provide help in implementing new features if you need it. Keep up the great work!
If you can PM me your aim screen name, or msn we can work everything out :)

Thank
-Arunan

DrkFusion 11-08-2002 06:42 PM

Quote:

Originally posted by TheMasterG


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?

Alright move the links.php outside your forum dir and find:
PHP Code:

require("./global.php"); 

to:
PHP Code:

chdir("./forum/dir");
require(
"./global.php"); 

That should do it, replace forum/dir with the path to your forum dir.

-Arunan

DrkFusion 11-08-2002 06:44 PM

I will start to work on Sub Catagories right now, I will release this as an 'official' addon to this hack, and make a new zip that has this included.

Dark_Wizard, please read a pm I had sent.

Thanks
-Arunan

DrkFusion 11-08-2002 06:45 PM

Quote:

Originally posted by TheMasterG


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?

Hehe, slipped my mind, the zip has been updated.

-Arunan

DrkFusion 11-08-2002 07:20 PM

I just want to update all of you guys of addons I will release here.

- Advanced Search Engine
.: Allow you to search by catagory, and gives you the option to select if it should search the link name, link description etc.

- Sub-Catagories
.: Allow you to make catagories within categories to offer even more detailed catagorization of links

- Link Rating
.: Allow you to rate a link from 1-5, the votes will be averaged out and displayed to help new people judge which sites are worth visiting.

- Link Ownership (This will be made default feature in 2.5)
.: Allow the username to be assigned to a link, so it can be edited, or removed.

I will be releasing them, along with the help of Dark_Wizard. I can assure you that I will be keeping everyone updated on this links directory hack, so that you can get the best out of it, and you can basically implement this into your main site, and have a nice stable links directory with proffesional aspect.

I will also be releasing a tutorial on how to make this into a search engine, and how to modify the templates to get your general looks, as I wish to make this hack as user-friendly as I can possibly make it.

I will be going through the coding tonight, and fixing up all tiny bugs to make it more organized, for better experiences.

I hope everyone who intalls this will enjoy it, and take full advantage of it. I am here to support you every afternoon.

Thanks, please click the install ----> CLICK HERE TO INSTALL

You will be able to get updates, and notices easily if you install this.

Thanks


noXmedia inc

Odil 11-08-2002 08:02 PM

I think it is important to also show the date a link was added so people can tell if they have seen new ones or not.

Also I never touched the enable link validation, it simply appeared all on it's own.

Also how many links will appear on a page before it starts a new page or will it?

Odil

Quote:

Originally posted by DrkFusion
I just want to update all of you guys of addons I will release here.

- Advanced Search Engine
.: Allow you to search by catagory, and gives you the option to select if it should search the link name, link description etc.

- Sub-Catagories
.: Allow you to make catagories within categories to offer even more detailed catagorization of links

- Link Rating
.: Allow you to rate a link from 1-5, the votes will be averaged out and displayed to help new people judge which sites are worth visiting.

- Link Ownership (This will be made default feature in 2.5)
.: Allow the username to be assigned to a link, so it can be edited, or removed.

I will be releasing them, along with the help of Dark_Wizard. I can assure you that I will be keeping everyone updated on this links directory hack, so that you can get the best out of it, and you can basically implement this into your main site, and have a nice stable links directory with proffesional aspect.

I will also be releasing a tutorial on how to make this into a search engine, and how to modify the templates to get your general looks, as I wish to make this hack as user-friendly as I can possibly make it.

I will be going through the coding tonight, and fixing up all tiny bugs to make it more organized, for better experiences.

I hope everyone who intalls this will enjoy it, and take full advantage of it. I am here to support you every afternoon.

Thanks, please click the install ----> CLICK HERE TO INSTALL

You will be able to get updates, and notices easily if you install this.

Thanks
-removed on request
noXmedia inc

DrkFusion 11-08-2002 08:16 PM

The script is set to validate by default.
I didn't take pages into account, let me work on that as well, I will make an option so you as the admin will be able to set how much per page, then it will start a new page.

-Arunan

Odil 11-08-2002 08:21 PM

Quote:

Originally posted by DrkFusion
The script is set to validate by default.
I didn't take pages into account, let me work on that as well, I will make an option so you as the admin will be able to set how much per page, then it will start a new page.

-Arunan

Excellent! And don't forget if you could to have it show the date a link was added!

This is working great!

odil

DrkFusion 11-08-2002 08:24 PM

Quote:

Originally posted by Odil


Excellent! And don't forget if you could to have it show the date a link was added!

This is working great!

odil

Thanks Odill, also remember to keep bugging me on your free time, as I may forget :)

-Arunan

Chris M 11-08-2002 09:14 PM

Sounds good Arunan:)

Satan

DrkFusion 11-09-2002 12:26 AM

vB Links Directory 2.0
- Admin: Validate Toggle Option

DrkFusion 11-09-2002 12:28 AM

vB Links Directory 2.0
- Admin: Validate Link

WoodiE 11-09-2002 12:28 AM

Can anyone tell me why my site is not using the forums white background where the text links are, but the sites graphical background instead? Seen Here: http://www.rcnitrotalk.com/forum/links.php

I have tried what DrkFusion stated, but it then used bizarre colors that are not even used on my forum and some how creates a gradient in part of it.

Anyone have any fixes for this?


-WoodiE

DrkFusion 11-09-2002 12:30 AM

New Sscreen Shots have been put up, please visit the first post, to see links to the new screenshots.

-Arunan

DrkFusion 11-09-2002 12:34 AM

Woodie edit drkslinks_main and replace the whole thing with
Code:

{htmldoctype}
<!-- DRK'S LINK DIRECTORY -->
<!-- PROGRAMMED BY removed on request-->
<!-- HTTP://WWW.NOXMEDIA,NET-->
<html>
<head>
    <!-- no cache headers -->
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="no-cache">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">
    <!-- end no cache headers -->
    <meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
    <meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
    <title>$bbtitle - Link Database</title>
    $headinclude
</head>
<body>
$header
 
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
    <td bgcolor="{categorybackcolor}" colspan="6"><center><normalfont color="{categoryfontcolor}"><b>$bbtitle - Links Database</b></normalfont></center></td>
</tr>
<tr align="center">
  <td bgcolor="{tableheadbgcolor}" width="40%" align="center"><smallfont color="{tableheadtextcolor}"><b>Catagory</b></smallfont></td>
  <td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Description</b></smallfont></td>
</tr>
$catlistbit
<form action="links.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="results" value="doaddnew">
<tr>
    <td colspan="2" bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Search Links Database By Keyword</b></smallfont></td></tr>
<tr valign="top">
    <td colspan="2" bgcolor="{firstaltcolor}" align="center"><smallfont><input type="text" class="bginput" name="string" size="35"><br>Enter a Keyword above (ex: vbulletin, php. webhost etc)</td>
</tr>
</table>
</td></tr></table>
<table cellpadding="0" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
    <td align="center"><normalfont>
    <input type="hidden" name="action" value="results">
    <input type="submit" class="bginput" name="Submit" value="Perform Search" accesskey="s">
    <input type="reset" class="bginput" name="Reset" value="Reset Fields">
    </normalfont></td>
</tr>
<tr valign="top">
<td bgcolor="{firstaltcolor}">
<center>
<normalfont>
<a href="links.php?action=main">Link Directory Home</a> | <a href="links.php?action=addlink">Submit a Link</a> | <a href="links.php?action=search">Search</a> | <a href="links.php?action=top10visited">Top 10 Visited Links</a> | <a href="links.php?action=top10last">Last 10 Added Links</a>
</normalfont>
</center>
<br>
<br>
<center>
<normalfont>
vB Links Directory 2.0<br>
Written By: <a href="http://www.vbulletin.com/forum/member.php?s=&action=getinfo&userid=22303">removed on request</a><br>
<a href="http://www.noxmedia.net">http://www.noXmedia.net</a>
</normalfont>
</center>
</td></tr>
</table>
</td></tr></table>
<br>
<br>
$footer
</body>
</html>

if the above works, tell me, and I will give you the fixes for the rest of the templates.

-

WoodiE 11-09-2002 12:37 AM

DrkFusion,

No that changed more colors...see what I mean here: www.rcnitrotalk.com/forum/links.php

DrkFusion 11-09-2002 01:10 AM

Leave it like that woodie, we are making progress lol...for your case only replace the code in the main template with:

WoodiE 11-09-2002 01:17 AM

LoL - better, but not quite there.

Do you have AIM? If so IM me at: WoodiE55

-WoodiE

David_McPherson 11-09-2002 01:20 AM

Ok... There are new additions since I installed yesterday?

If so... How do I install the "upgrades"?

DrkFusion 11-09-2002 01:26 AM

No there isn't, just minor little bug fixes.

-Arunan

David_McPherson 11-09-2002 01:58 AM

And an upload of the links.php will fix those??

DrkFusion 11-09-2002 02:02 AM

Yup :)

-Arunan

Dark_Wizard 11-09-2002 02:03 AM

Quote:

Originally posted by DrkFusion
I will start to work on Sub Catagories right now, I will release this as an 'official' addon to this hack, and make a new zip that has this included.

Dark_Wizard, please read a pm I had sent.

Thanks
-Arunan

Just checked my PM's and don't see one from you.... :ermm:

David_McPherson 11-09-2002 02:05 AM

Thanks alot.. -Arunan

DrkFusion 11-09-2002 02:06 AM

Oh...umm can you PM me your aim screen name?

Also can everyone in there spare time go to https://vborg.vbsupport.ru/showthrea...threadid=45514 and please show your appreciation, please and thank you

-Arunan

Dark_Wizard 11-09-2002 02:16 AM

DarkWizard44

David_McPherson 11-09-2002 03:20 AM

Not sure if this has been mentioned.. But something that might be a good thing to have is.... # of links in each category that has been added??? On the Links Main page??

JakeC 11-09-2002 04:01 AM

Ok, the hack seems to be installed ok, but one question. Where is the links category supposed to show up? Do I need to do anything special to enable this hack to be viewed in the forum? I've created one category and one link to test the functionality and in the admin cp it looks likes it's working, however I went to try and add one in the forum and it's nowhere to be seen. Forgive my complete ignorance. Thanks in advance.

JakeC

David_McPherson 11-09-2002 04:04 AM

Jake...

You will need to setup a link from your forum index page that connects to your links. ?? I hope that helps..

My plans are to have a "button" similar to the "usercp/register" buttons that are on top of the forum.. and have one that says "links" that 'links' to the links.php page...

JakeC 11-09-2002 04:10 AM

Well, I’m in luck because I made a button in anticipation. I guess I was hoping to have it imbedded in my other categories as well. Any ideas on doing that? Thanks.

JakeC


All times are GMT. The time now is 02:25 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.01870 seconds
  • Memory Usage 1,861KB
  • 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_code_printable
  • (8)bbcode_php_printable
  • (10)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