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)

David_McPherson 11-09-2002 04:17 AM

Where do you want the button?? Like in the top of the forum similar to the positioning of the Vbulletin default buttons?

JakeC 11-09-2002 04:25 AM

Actually I have the button where it needs to be but I would like to have a link category that blends in with the other categories in my forum.

JakeC

edwardandtubbs1 11-09-2002 05:14 AM

I am getting this database error when I view links:

Database error in vBulletin 2.2.8:

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

mysql error number: 1054

David_McPherson 11-09-2002 05:19 AM

Quote:

Originally posted by JakeC
Actually I have the button where it needs to be but I would like to have a link category that blends in with the other categories in my forum.

JakeC

Are you saying...

You'd like to have a Category IN your forum, which is similar to your other categories... Example Vbulletin.org...

They have categories on their main page (In Grey) which say:

>>>Vbulletin.org<<<
>>>Code Hacks<<<
>>>Graphics and ..<<<
Then you want one that says......
>>>Links<<<

*Of course, using Vbulletin.org as an example?

Dean C 11-09-2002 08:42 AM

Sounding good Dark..

I may just install this with the ratings on :)

Regards

- miSt

DrkFusion 11-09-2002 12:24 PM

Quote:

Originally posted by David_McPherson
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??
I will look into it, I forgot to do this :-/ I will go for it.

JakeC, I did something like this for my friends forum, the links directory appears as a catagory at the end of the forumbits

See screenshot

If its something like that, yes it can be done :)

WoodiE 11-09-2002 01:19 PM

Links that are added by my users are added without me Validating them, even though I have it marked for me to validate them before adding them!

What is wrong?

-WoodiE

DrkFusion 11-09-2002 01:28 PM

Go to your admin cp, then:
vBulletin Options->vB Links Directory (check if it to yes, if it is already then...)-> Save Changes, do it 2 times to make sure you did it right.

Then add a link via the site to make sure.
-Arunan

JakeC 11-09-2002 02:34 PM

Quote:

Are you saying...

You'd like to have a Category IN your forum, which is similar to your other categories... Example Vbulletin.org...

They have categories on their main page (In Grey) which say:

>>>Vbulletin.org<<<
>>>Code Hacks<<<
>>>Graphics and ..<<<
Then you want one that says......
>>>Links<<<

*Of course, using Vbulletin.org as an example?
Actually, here is an example of what I'm thinking. Links.jpg

How was this done? Just manually coding it in? Thanks

JakeC

David_McPherson 11-09-2002 02:38 PM

Has anyone had any reports of someone adding a link and it not "taking" it? Seems that I've entered some 2 and 3 times before it would validate in the admin cp... I've turned off validation for the moment... would a few of you today go and add your link to see if it accepts it?

www.mcpherson-racing.com/Vb/links.php

Goldknight 11-09-2002 02:47 PM

Quote:

Originally posted by Mist
Sounding good Dark..

I may just install this with the ratings on :)

Regards

- miSt

I second. It is very good hack but I prefer to install it whenever Drkfusion add rating feature.

Me like this hack, keep it going :thumbsup:

David_McPherson 11-09-2002 03:02 PM

With further troubleshooting...

Are there requirements for the "URL" is there parameters set that it must look specific??

I've tried to enter this URL http://www.viaarena.com/?PageID=91
and it wouldn't accept it...??? But I can add http://www.viaarena.com with no problems ?

David_McPherson 11-09-2002 03:23 PM

I also tried to enter this link............

http://www.sportplanet.com/team-ligh...up_display.asp

It didn't enter it.

DrkFusion 11-09-2002 03:38 PM

Thanks for giving the head up David, I will look into it, I think its the sign problem, or unless you have validation on.

-Arunan

DrkFusion 11-09-2002 03:39 PM

Quote:

Originally posted by JakeC


Actually, here is an example of what I'm thinking. Links.jpg

How was this done? Just manually coding it in? Thanks

JakeC

I used to own Fusion Central, I gave it to my friend, now I admin, I did that for them:) It was manually done in forum home :)

-Arunan

DrkFusion 11-09-2002 03:42 PM

Hey David, I just tested it, and ?, /, ' all should work, I will sign up on your board and test.

-Arunan

DrkFusion 11-09-2002 03:42 PM

If you are trying to add it via the admin cp, I think I know the problem, I will have it fixed within few seconds

-Arunan

David_McPherson 11-09-2002 04:05 PM

I think it may be something with my database... It might not want to add the info??

It seems fine now...... Maybe I'm clueless... ;)

DrkFusion 11-09-2002 05:58 PM

As long as its all working fine :)

-Arunan

JakeC 11-09-2002 09:26 PM

Quote:

I used to own Fusion Central, I gave it to my friend, now I admin, I did that for them It was manually done in forum home
Ok, thanks. Things seem to be working well with this hack. Of course I am having to troubleshoot the html in my templates to get it just right with my style, but all in all it seems great so far. Thanks.

JakeC

kira 11-09-2002 10:29 PM

Wow, this is awesome! I made a request for a link directory a couple of months ago and was pretty much told that no one needs/wants to create something like this for free. (Which made sense, because it seems like a tremendous amount of work!)

But here you are! I can't believe how robust and attractive this hack looks. I haven't installed it yet, because I do need subcategories and link totals, but you've done an excellent job so far, and I can't wait to try things out once you update. And I bet this directory would be a good match for the "top sites" hack!

Couple o' questions: How flexible is the layout of the link listings template? For example, if I wanted to tweak the HTML into a single-column layout rather than the two columns that exist now, is it possible?

Also ... just something to think about as long as you're doing all this hard work ;) ... when you add ratings, do you think you might add a "top rated sites" link, as you have for most popular and newest links? That would be very helpful, I think.

Thanks for all you've done so far, Arunan!

DrkFusion 11-09-2002 11:33 PM

Yes it is possible to edit the templates, it was organized to be easyily editable.

Of course the Top Rated Hack will replace the Top Visited sites in a Topsite Form, but it won't really be a real topsite, but yes.

Thanks
-Arunan

DrkFusion 11-10-2002 01:11 PM

Sub Cats almost finished!
-Arunan

DrkFusion 11-10-2002 01:20 PM

ANNOUNCEMENT
I have been fooling around with different rating options, and it is been going super!

-Arunan

David_McPherson 11-10-2002 02:52 PM

:)

Dean C 11-10-2002 03:34 PM

Sounds good!

- miSt

DrkFusion 11-10-2002 05:32 PM

It does sound great, hoepfully you Mist will enjoy it!

-Arunan

AndrewD 11-10-2002 06:10 PM

This is a great hack.

For consistency, suggest it needs a navigation bar at the top of each page. So we need to define $navbar in links.php, for example,

PHP Code:

// Make Links Nav Bar
$nav_url="links.php?s=$session[sessionhash]";
$nav_title="Links";
eval(
"\$navbits .= \"".gettemplate('nav_linkoff')."\";");
eval(
"\$navbar = \"".gettemplate("navbar")."\";"); 

right at the start (after require..)

Then most templates need a

PHP Code:

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextraalign="center">
<
tr>
    <
td width="100%">$navbar</td>
</
tr>
</
table

after $header

OK?

DrkFusion 11-10-2002 06:39 PM

So you suggest the navbar be added?

David_McPherson 11-10-2002 11:10 PM

How can I change the colors of the bottom info... ??
Quote:

Link Directory Home | Submit a Link | Search | Top 10 Visited Links | Last 10 Added Links

vB Links Directory 2.0
Written By:
http://www.noXmedia.net

Its missing... because of my black bkg.. I was able to change it in the linkmain.. but how about in the category pages?

lalo landa 11-10-2002 11:49 PM

i have a little problem..
Once an user add a link, i can't change the cat of that link added.

this options isn't aviable in edit link or validate link
That's necesary in case one of the users, or mods add the link in a wrong cat.

Another suggestion is to add a bannner to the links
and.. something realy important is "report bad link"
a buton to click to report a bad link and automatic send a pm or an e-mail to (someone chosed in admin cp or into php file)

the coolest thing would be if the banner acepts gif, jpg and swf files.

It's a cool hack thisone ;)

Sorry about my poor english.

DrkFusion 11-11-2002 12:20 AM

Thanks for the suggestions Lalo landa.
I will look into these features, especially the admin-based ones, as they should of been standard for this hack.

-Arunan

trilOByte 11-11-2002 01:50 AM

Hey Drk fusion, I wonder if you can help? I'm having a little problem with the templates. I've enclose my forum in a border, via the header/footer, but on *some* of the vBlinks pages the footer displays outside of the border and I cant for the life of me figure why.

The search page is fine, but the main page shows the footer outside of the border.

Take a look...

http://www.britishblades.com/forums/links.php

Sadie Frost 11-11-2002 02:09 AM

The validate links part isn't working for me either. I did finally get the link to appear, but then when I clicked on it it only gave me one site to validate (even through there had been several added after that). And I can't get it to show any links there again. Anyone figure this out? :)

esawdust 11-11-2002 04:07 AM

I have installed this twice on vb 228 but I cannot get the vb Links Directory Menu to show up in the Admin Cp :surprised:

I have installed it twice trying to get it to all operate properly but the same occured both times (I did un-install after the first) The toggle shows up in vBulletin Options and the links page is accessable but thats it... no admin controls.

Any ideas???

Suggestion: The directions stated nothing about installing links.php or weblinksadmin.php ... I assume they both go into your forums/admin directory?

Thanks for the help!

trilOByte 11-11-2002 04:24 AM

links.php goes into your /forums dir, weblinksadmin.php goes into your /forums/admin dir.

esawdust 11-11-2002 04:52 AM

Got it...

Here's a hint... don't ever try to do this stuff on 3 hours of sleep :cross-eyed:

Stupid mistake on my part :) as expected.

AndrewD 11-11-2002 02:24 PM

Minor comments/buglets/suggestions for sometime in the future. Sorry if these seem pedantic ;)

A standard navigation bar - yes I do think this is needed - no more than $bburl -> Links - otherwise it's inconsistent

There's a bug when using admin CP View/Edit links to modify category names/descriptions, if some html magic characters appear (e.g. &) - each time through the edit, the character gets remapped, so one ends up with &amp; amp; amp; etc

All the dropdown category lists should be in alphabetical order

The doneaddlink template is missing a couple of closing </table> tags

thanks

FleaBag 11-11-2002 04:38 PM

I got a whole load of SQL errors regarding the validate field not existing. I only had about 12 links already submitted, so I un-installed and then re-installed.

But I'm not getting anything that allows me to validate a link? I have validation turned on in the CP...

Update: I added the link to my CP instead.

DrkFusion 11-11-2002 06:34 PM

You should ubmit the vb options even if you do not edit it, that is when the vb settings will get updated, I have said this in many cases, you MUST submit vb options weather or not you make change.

-Arunan


All times are GMT. The time now is 05:50 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.02683 seconds
  • Memory Usage 1,831KB
  • 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
  • (7)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