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)

DrkFusion 11-03-2002 12:33 PM

LinksDirectory v2 is almost done, I am thinking if it should have an option to rate the link, without this it is ready to be released.

Please give me your opinions
-Arunan

Ninth Dimension 11-03-2002 12:39 PM

I think that link rating would be a good idea, maybe you can write in some code that will let other sites put your racing html on there site to let there visitors help get higher ranks in the database?

the only thing that I would say about rating is that if you are going to be listing the entries via their rating, make sure that you give new sites at least 15 days at the top so they have a chance of getting a rating too :)

DrkFusion 11-03-2002 01:24 PM

What do you mean by racing html?

The entries will not be listed by rating *if* the rating option is put in.

-Arunan

Dark_Wizard 11-03-2002 01:30 PM

Quote:

Originally posted by DrkFusion
LinksDirectory v2 is almost done, I am thinking if it should have an option to rate the link, without this it is ready to be released.

Please give me your opinions
-Arunan

A rating option would be nice...just use vb's thread rating code...

Ninth Dimension 11-03-2002 01:41 PM

sorry, raTing, not raCing (my bad)

David_McPherson 11-03-2002 03:28 PM

Wouldn't the "number of hits" that is viewable to a user show its "rating"??

DrkFusion 11-03-2002 03:38 PM

Well, the hits is how many times a uer from your board clicks on the link, the rating would probabl be averaged out, and would give the user an insight and basically its a review of the link.

But For sure, this feature would be good, but hopefully people can live without it.
-Arunan

Harley-1 11-06-2002 11:23 AM

Hi DrkFusion

my english isn´t the best because i´m german.
I have seen your hack and have a question.

Do I have that correctly understood that it still another version 2.0 will come or is this the final release from your hack?

THX

kreftt 11-06-2002 01:05 PM

@Harley-1

in den nächsten tagen/wochen wird eine version 2.0 mit allerlei neuen features kommen...

Harley-1 11-06-2002 04:29 PM

Aja danke für die info, dann hab ich das ja richtig verstanden.

Kohhal 11-07-2002 08:21 AM

Can't wait for the next version of this hack to be released, will install immediatly! Hopefully soon?

erdem 11-07-2002 01:41 PM

Quote:

Originally posted by DrkFusion
Well, the hits is how many times a uer from your board clicks on the link, the rating would probabl be averaged out, and would give the user an insight and basically its a review of the link.

But For sure, this feature would be good, but hopefully people can live without it.
-Arunan

i can help on coding and testing if you need ...
cuz i see there is a delay on the new release of hack ;)

also im thinkin on coding a complex hack like yours ..
i really want to contribute to this hack ..

greetz

DrkFusion 11-07-2002 07:07 PM

Hi guys, all main features are done, I will not add a rating option in this version, maybe later, I will release this ASAP.

Erdem, thanks but for now its all covered:) After the release, I am going to start adding een more new features, but will not put out a release date.

-Arunan

DrkFusion 11-07-2002 09:46 PM

vB Links Directory 2.0 has been released, with installer, un-installer, and upgrade script.

Check the Original posts for more information!

-Arunan

David_McPherson 11-07-2002 09:57 PM

Might be me... but I'm getting an error.. Says corrupted.. ?>?

DrkFusion 11-07-2002 09:59 PM

Let me try creating a new zip.

-Arunan

David_McPherson 11-07-2002 09:59 PM

Thanks..

DrkFusion 11-07-2002 10:04 PM

Umm, wierd it works on my harddrive, but not when I download it from there, try "Right-Clicking" and going to Save Target as.

-Arunan

David_McPherson 11-07-2002 10:07 PM

No errors that way...??? Wonder why?

DrkFusion 11-07-2002 10:08 PM

Not sure, but I got an error when I right clicked, but I uploaded a new version in the post under the first one, so now all you guys have to do is click the link that says CLICK HERE TO DOWNLOAD :)

Works ok for now :)

Thanks
-Arunan

David_McPherson 11-07-2002 10:42 PM

New Link works great on the main page.... !!! :)

And MY Directory is installed (Test board for now)!!!!!! Working great on vb 2.2.8 :D:D:D

Thank you very much!!

auz1111 11-07-2002 11:30 PM

Awesome hack! It is working fine on vb 2.2.7 :) Thanks

NuclioN 11-07-2002 11:32 PM

After upgrading i get this error when i click on a category

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT * FROM gportal_weblinkslink WHERE catagoryid=3 AND valid='1' ORDER BY linkname
mysql error: Unknown column 'valid' in 'where clause'

mysql error number: 1054


----oops, problem solved! old links en cats removed, upgrade again, all went well. Great update ;) -----

DrkFusion 11-08-2002 12:24 AM

Thanks, hope you enjoy this!

-Arunan:)

kreftt 11-08-2002 12:42 AM

ouch

03:40 am and ive just seen 2.0 is out

goodbye sleep ;)

thx

kreftt

FleaBag 11-08-2002 12:42 AM

Ditto. Hehe. :D

kreftt 11-08-2002 12:46 AM

works fine on 2.2.8.

one little addition:

in the main view you sort the categories by catname.
in the add new link dialogue the categorie select-list isnt sorted and gets shown by catid because of that.
you might want to change

PHP Code:

// #################### Add Link ####################
if ($action=="addlink") {
  if (
$bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0") {
      eval(
"dooutput(\"".gettemplate('drkslinks_error1')."\");");
      }else{

$result1 $DB_site->query("SELECT * FROM gportal_weblinkscat"); 

to
PHP Code:

// #################### Add Link ####################
if ($action=="addlink") {
  if (
$bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0") {
      eval(
"dooutput(\"".gettemplate('drkslinks_error1')."\");");
      }else{

$result1 $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname"); 

and in browselinks and in main template i think you closed one

PHP Code:

</td></tr></table

too much right above the navigational links. it at least broke my layout...

in doneaddlink template a

PHP Code:

</normalfont></td>
</
tr>
</
table>
</
td>
</
tr>
</
table

right after

PHP Code:

The link you had submitted has been added to the database successfully!! 

thx for this fine hack

kreftt

DrkFusion 11-08-2002 01:29 AM

Hehe, these small little thing ;)

-Arunan

WoodiE 11-08-2002 01:49 AM

My links page is having a problem...

http://www.rcnitrotalk.com/forum/links.php

Notice it uses the white background, then where the text links it uses the sites background, why? and how can i change it?

DrkFusion 11-08-2002 01:50 AM

try replacing the drkslink_main template 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>
</table>
<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>
<br>
<br>
</td></tr></table>
$footer
</body>
</html>


DrkFusion 11-08-2002 01:56 AM

If the above doesn't try replacing 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><td>
<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>
<br>
<br>
</td>
</tr>
</table>
</td></tr></table>
$footer
</body>
</html>

Arunan

DrkFusion 11-08-2002 01:56 AM

If anyone has any questions at all feel free to post it here. Be it how to modify the templates, or how to use the script, and how to integrate the links directory as a main section of your website, I am willing to help when I can.

Thanks
-Arunan

WoodiE 11-08-2002 02:11 AM

That works, but now its using colors that are not even on my site, and a gradient background that i have never even seen before.

-WoodiE

kreftt 11-08-2002 02:24 AM

the problem is that bbcode is parsed here

the gradient is from vb.org

erdem 11-08-2002 03:25 AM

Quote:

Originally posted by DrkFusion
Hi guys, all main features are done, I will not add a rating option in this version, maybe later, I will release this ASAP.

Erdem, thanks but for now its all covered:) After the release, I am going to start adding een more new features, but will not put out a release date.

-Arunan

umm allright ..
can i add sub cats ?
link rating ?
advanced search ?

look my hack which is stated here to see what can i add to this hack ..

waiting ur input .
greetz

Odil 11-08-2002 07:04 AM

Very cool hack and I just had to modify the code a bit to get it to display properly on all my board styles.

I have only one question, where do we look to set this up to validate links first? I don't see this anywhere. I know I have added it to the admin CP but the validate part don't show up. Just the edit, view, etc....

Thanks

Odil

Chris M 11-08-2002 08:43 AM

The Admin Cp;)

Nice hack Arunan;)

Satan

Dark_Wizard 11-08-2002 11:19 AM

Quote:

Originally posted by erdem


umm allright ..
can i add sub cats ?
link rating ?
advanced search ?

look my hack which is stated here to see what can i add to this hack ..

waiting ur input .
greetz

I was counting on this as well and offered my help. If you are going to work on this let me know if not I will do it.

Great hack!

DrkFusion 11-08-2002 11:20 AM

I plan to work with my hack, these features are all one which I plan to release with next big release. Thanks for your help, but this is a hack which I would like to get through my self. Subcats are in the works for my own site for testing, advanced search has been already done, but not released and link rating is in the works, I am trying to get input from everyone for new features, because I would like to make the next big release of this hack full of nice features.

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.

Release date of 3.0 has not yet been given out, but everyone can expect that I will be working with my hacks, and coming hacks to contribute to the community as before.

Please PM me, for more information, or permission.

-Arunan

Dark_Wizard 11-08-2002 11:35 AM

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!


All times are GMT. The time now is 12:49 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.01469 seconds
  • Memory Usage 1,857KB
  • 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_code_printable
  • (5)bbcode_php_printable
  • (4)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