PDA

View Full Version : vB Links Directory 2.0 *NEW VERSION*


Pages : 1 [2] 3 4

Goldknight
11-09-2002, 02:47 PM
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-lightspeed/setup_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
Originally posted by JakeC


Actually, here is an example of what I'm thinking. Links.jpg (http://www.homebuiltairplanes.com/images/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
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,


// 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


<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="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... ??

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

DrkFusion
11-11-2002, 06:37 PM
Originally posted by AndrewD
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
Its not missing any it has too many :p I have this fixed, but didn't think anyone else would have this prob, I will look into the remapp problem, I have tested these out and 2 sorts of servers, but I can never guess how they will work in different conditions :-/

-Arunan

DrkFusion
11-11-2002, 06:38 PM
Originally posted by trilOByte
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
Hi, the solution for this is on couple of pages before, the last instance of </td></tr></table> I believe should be removed off in all templates this problem occurs in.

Visionray
11-11-2002, 09:06 PM
Originally posted by NuclioN
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 ;) -----



Hey guys,

I just upgraded. Im getting the same exact error when I click on a category or when I click on search. I don't understand your explanation to fix it. What is "en cats"? How do I fix this?

Im running 2.2.8


Thanks

trilOByte
11-11-2002, 09:46 PM
Originally posted by DrkFusion

Hi, the solution for this is on couple of pages before, the last instance of </td></tr></table> I believe should be removed off in all templates this problem occurs in.

Bingo! Thanks ;)

Visionray
11-11-2002, 10:15 PM
Ok actually I just uninstalled everything and reinstalled and it seems to be working great now. I have no idea why the upgrade wouldn't work.

There are a couple of questions that I have.


1. Is there any way to arrange the order of category list? Is there a way to move one category down the list etc? This would really be helpful for me because I have about 20 categories I am going to add, and they are all three distinct separate subjects. Right now, my categories are in no coherent order and it would be great if I could organize them into sections...for example,

-----------------------------------------------
1. Film

Category 1
Category 2
Category 3

2. Digital Video

Category 1
Category 2
Category 3

3. Web

Category 1
Category 2
Category 3
--------------------------------------------------

Im not really talking about "sub categories"...just arranging the main categories on the main list. When they are all put in alphabetical order, there is no order to the categories. I know this may be a lot to ask, but I really really think this would increase the usabilty of your hack.



Question 2.

How do you validate the links? THis may be a dumb question, but...I have validation set to "yes". I tried submitting a link on the actual links page. It didn't show up which is correct...and it shows up in my admin cp which is correct...but how do I go about making this link valid? I don't see any option to do that anywhere.


Suggestion.....

You misspelled "category" on a lot of pages that show up not only in the admin PC, but on the links page. You have it as "catagory". Not really a big deal but you might want to fix that just to make it perfect. :D

Thanks for all the help. Great hack indeed!

DrkFusion
11-11-2002, 10:25 PM
For the catagories to be moved up or down, new field has to be added, where the order can be specified, I can work on something like this specifically for you, and other who want it, if you wish.

-Arunan

Visionray
11-11-2002, 10:27 PM
:banana: That would be awesome if you could do that!

DrkFusion
11-11-2002, 10:40 PM
I made a big mistake with the upgrade :-/ it added the new values to the cat table, not the links table, the zip is fixed.

DrkFusion
11-11-2002, 10:47 PM
Ok, if you upgraded latly, and the hack didn't work, please see the updates section on the first post for how to fix this.

Thanks, and sorry
-Arunan

Visionray
11-11-2002, 11:04 PM
oops, I just found the validate link option in the CP...for some reason I missed it. Sorry about that.

DrkFusion
11-12-2002, 10:59 PM
The vB option have to be set, so the change take place, if validation is set in your vB option, then the validate link will appear, if it isn't the Validate Link will not apear :)

ricoche
11-13-2002, 12:42 PM
Great addon. Thanks a lot for this.

I installed it and everything works just fine on vbulletin 2.2.8!

Thanks again,

Ricoche

DrkFusion
11-13-2002, 08:13 PM
Your welcome Ricoche, have fun, and report any problems in this thread.

ricoche
11-14-2002, 02:54 AM
I'm not sure if this is a problem or not and this also could be just my system.

After clicking a few links to try this out I notice it kept reloading my site. For a while there I thought the script wasn't working and then while sitting there for a moment longer I noticed it kind of redirected itself to the actual link.

My minor concern here is that my users will think the link is broken because it's reloading my site. There is a message there that says "one moment please..." but it kind of fooled me because it was very small and the link wouldn't load until after my site finished reloading.

Is this normal or might there be some system problem I'm having.

I love this script because it looks much nicer than my vbportal version but I wish it would load the new site first and not reload my site.

Oh well, I'll keep toying with it.

Thanks again,

Ricoche

Kohhal
11-14-2002, 07:19 AM
Originally posted by ricoche
... There is a message there that says "one moment please..." but it kind of fooled me because it was very small and the link wouldn't load until after my site finished reloading....
You are supposed to get this intermediate page, I suspect it's because the database is being updated with no. of hits the link has received. It's the same reason there are intermediate pages after posting in vbulletin etc. to give the database a chance to be written to.

HTH, G :rambo:

JakeC
11-14-2002, 01:08 PM
After clicking a few links to try this out I notice it kept reloading my site. For a while there I thought the script wasn't working and then while sitting there for a moment longer I noticed it kind of redirected itself to the actual link.



Is there any way around this? I see this as being a real annoyance to my users, especially ones on dial-up. On broadband you can't even see what the page is even supposed to say it sort of just blinks on then off when the new page loads. Which is sort of annoying as well. Great hack by the way. Thanks.

JakeC

DrkFusion
11-14-2002, 07:15 PM
You could always give up tracking hits :)

MonsterDK
11-14-2002, 07:29 PM
I have installed the hack. appears in admin controll fine and displays fine in admin. But on the main board I don't see a sign of it.....ummmm help me please

Please note that i'm new to all this, so I am a learner! :surprised:

I have VB 2.2.8

here is what I did..... edited all the files adminfunctions, index, template. deleted and updated the files with the newly edited ones.
did the vbldir_install which went fine. Deleted the vbldir_install file as per instructions.
uploaded templates what come with the .zip for the hack, into the vbulletin root. Copied links.php into vbulletin root.
Copied weblinksadmin.php into admin folder

Thanks, MonsterDK

x8oz
11-15-2002, 06:33 AM
does vb links support a user permission (user masks) or can you enable a password on a vblinks forum? basically to restrict access to a certain weblink forum?

CtrlAltDel
11-15-2002, 08:19 AM
good stuff man, nick hack
you just saved me a lot of time

Kohhal
11-15-2002, 10:22 AM
Originally posted by MonsterDK
I have installed the hack. appears in admin controll fine and displays fine in admin. But on the main board I don't see a sign of it.....ummmm help me please...

You need to create a link to it yourself and put it somewhere on your main index or homepage. The link to the directory should be something like http://www.yoursite.com/forum/links.php

HTH,

G :rambo:

MonsterDK
11-15-2002, 03:25 PM
Sorry but i'm new at this.
Do I edit the index.php in the root on vB or do you mean link it into a index.htm page that links to the board itself?

With it saying..
iii.) To view ALL the Links in the Database, click 'View ALL Links'
link under the Vb Link Directory Nav.
I'm confused how linking to an index.htm will ensure its appearance there.

Help me please.

DrkFusion
11-15-2002, 08:43 PM
Originally posted by MonsterDK
I have installed the hack. appears in admin controll fine and displays fine in admin. But on the main board I don't see a sign of it.....ummmm help me please

Please note that i'm new to all this, so I am a learner! :surprised:

I have VB 2.2.8

here is what I did..... edited all the files adminfunctions, index, template. deleted and updated the files with the newly edited ones.
did the vbldir_install which went fine. Deleted the vbldir_install file as per instructions.
uploaded templates what come with the .zip for the hack, into the vbulletin root. Copied links.php into vbulletin root.
Copied weblinksadmin.php into admin folder


Thanks, MonsterDK
You do not upload the templates that came with the zip, they are only there for refrence if you want to edit.

go to your admin panel, and add new catagories.

DrkFusion
11-15-2002, 08:45 PM
Originally posted by x8oz
does vb links support a user permission (user masks) or can you enable a password on a vblinks forum? basically to restrict access to a certain weblink forum?
The only permission I have bothered to put is you have to be registered, activated and not a COPPA user. Password protection and other sorts will not come in use to the majority of the people who use this hack, so it will not be made a default addon, unless 51% of the people who installed want it.

DrkFusion
11-15-2002, 08:46 PM
Originally posted by CtrlAltDel
good stuff man, nick hack
you just saved me a lot of time
Thanks CTRLALTDEL

DrkFusion
11-17-2002, 02:05 AM
SubForums are done, I will get people to beta it, and post screenshots, and release it soon!

Cyberhouse
11-17-2002, 08:30 AM
Installed :D

Very nice hack DrkFusion!

DrkFusion
11-17-2002, 02:35 PM
Thank You Cyberhouse

Kohhal
11-18-2002, 10:28 AM
This is a great hack, there's just a couple of small things outstanding that I think it needs:

- When validating a link, the category should be shown with the option of changing it if it's in the wrong place, same thing for edit link

- hits still increment by 2 each time

- no. of links shown beside each category would be nice

With these options added/fixed this hack would be complete for me, I don't really have a need for what's coming in the next upgrade.

Thanks again and if you can help with the above that would be great,

G :rambo:

DrkFusion
11-18-2002, 10:26 PM
There should be a problem for incrementing my 2, my other sites have not had this problem, and no one else has had this problem, if you have not upgraded, I would suggest trying to upgrade.

Dark_Wizard
11-19-2002, 11:57 AM
Originally posted by DrkFusion
SubForums are done, I will get people to beta it, and post screenshots, and release it soon!

I'm ready for the beta test...I will be on AIM today...

cklaszlo
11-19-2002, 04:32 PM
Trying to Download and Install but the link to the .ZIP is broken from the first post.

Actually there is a problem with the .ZIP link. If you link via the IP and not the URL it downloads fine. Might be on my end.

This is a great hack. Installed really well. One thing. In the READ ME it never says to upload link.php to the board dir and to link to that for the actual web link directory.

Are you going to add sub catagories to this? Or is this what this is (lol) :

"SubForums are done, I will get people to beta it, and post screenshots, and release it soon!"

Cause if thats the case I would like to test it too.

Thanks!!!

DrkFusion
11-19-2002, 08:20 PM
Upload Links.php to the forum root, and weblinksadmin.php to ur admin.

Subforums will be added soon.

DrkFusion
11-19-2002, 09:14 PM
ATTENTION ALL VBHOME(LITE) USERS
If you use vBHome(lite) (by:TECK) check out http://www.teckwizards.com for more information on how to integrate this Links Directory into your vBHome!
You must be liscensed vb user, so you will get access to the addons forum at TeckWizards.

See Below for Screenshot

Goldknight
11-19-2002, 09:26 PM
lol @ Drfusion, not bad but I already do that with myvbindex, it aint that hard. Good one :)

Crinos
11-19-2002, 09:29 PM
Originally posted by TheMasterG
- When validating a link, the category should be shown with the option of changing it if it's in the wrong place, same thing for edit linkYeah, this is what's preventing me from making the "submit link" feature available to the public (I have it commented out) ;) Is this already addressed in the recent update, Drk?

Great hack, nevertheless...

DrkFusion
11-19-2002, 09:31 PM
Yes It is, I will be re coding the validate option fully, as the current version is really unappropriate for huge links that are added.

DrkFusion
11-19-2002, 09:32 PM
Originally posted by Goldknight
lol @ Drfusion, not bad but I already do that with myvbindex, it aint that hard. Good one :)
Yes very :-D

Kohhal
11-21-2002, 08:59 AM
Originally posted by DrkFusion
There should be a problem for incrementing my 2, my other sites have not had this problem, and no one else has had this problem, if you have not upgraded, I would suggest trying to upgrade.

-Arunan
I've compared my links.php to your latest one from vblinksdir2012.zip and the only difference is the chdir I added as I have my links.php outside my forums directory ( chdir("./forum"); )

Is it possible that this is causing my hits counter to increment by 2 each time? If so, have you any idea how I could fix this????

TIA,

G :smoke:

Edit: I also got this database error today? :

Database error in vBulletin 2.2.8:

Invalid SQL: SELECT * FROM gportal_weblinkslink WHERE catagoryid= AND valid='1' ORDER BY linkname
mysql error: You have an error in your SQL syntax near 'AND valid='1' ORDER BY linkname' at line 1

mysql error number: 1064

Date: Thursday 21st of November 2002 07:43:45 AM
Script: http://www.-------------/forum/links.php?action=viewlinks&amp;catid=1
Referer: http://aolsearch.aol.co.uk/web.adp?query=Database%20Manufacturers&cat=0&query_mod=&w=1&adquery=Database%20Manufacturers...

Any idea what caused that, the hack is working well but obviously one of my users triggered something the database didn't like?

cklaszlo
11-21-2002, 04:12 PM
Is it possible to add a "New" image next to new links and also next to the main catagories if there are new links in the respective cats?

DrkFusion
11-21-2002, 09:14 PM
It seems as the catagoryid was not passed through, so then catagoryid was blank.

I am not really sure how to fix your hit problem, but try doing this, in links.php
fnd:
if ($noshutdownfunc) {
$DB_site->query("UPDATE gportal_weblinkslink SET hits=hits+1 WHERE linkid='$id'");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY gportal_weblinkslink SET hits=hits+1 WHERE linkid='$id'";
}

replace with
$DB_site->query("UPDATE gportal_weblinkslink SET hits=hits+1 WHERE linkid='$id'");

Also can you please PM me your site url.

Thanks

DrkFusion
11-21-2002, 09:15 PM
Originally posted by cklaszlo
Is it possible to add a "New" image next to new links and also next to the main catagories if there are new links in the respective cats?
Do you mean add an image beside a link if it is new since the last time they visited?

cklaszlo
11-21-2002, 10:36 PM
No I mean when a new image has been added to the directory. Say it stays "New" for like 5 days (or length is set by the admin).

Banana
11-22-2002, 06:26 AM
The "Top 10 Visited Links" doesn't sort properly. The problem is that the db column is text and not a number. Therefore "9" comes above "11" etc. My top ten list reads: 9,9,6,5,4,36,29,17,15,14.

Will a simple alteration of the column type work or will that muck up the PHP? Thanks

DrkFusion
11-22-2002, 06:53 PM
Umm...Yea I noticed that, I thought I had fixed that and updated it all, I had changed alot of the tables from the first release...I will check it out.

ForYou
11-24-2002, 06:29 AM
Hello ,

When i need to do first install there is message for me like this ..
---------------------------------------

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: CREATE TABLE `gportal_weblinkscat` (
`webcatid` INT(11) NOT NULL AUTO_INCREMENT,
`catname` VARCHAR(255) NOT NULL,
`catdesc` TEXT NOT NULL,
PRIMARY KEY (`webcatid`)) TYPE = MYISAM
mysql error: You have an error in your SQL syntax near '`gportal_weblinkscat` (
`webcatid` INT(11) NOT NULL AUTO_INCREMENT,
`catname` V' at line 1

mysql error number: 1064
----------------------------------------------

what can i do please to solve it ..

regards

DrkFusion
11-24-2002, 11:58 AM
Run this manually through phpmyadmin
CREATE TABLE gportal_weblinkscat (
webcatid INT(11) NOT NULL AUTO_INCREMENT,
catname VARCHAR(255) NOT NULL,
catdesc TEXT NOT NULL,
PRIMARY KEY (`webcatid`)) TYPE = MYISAM

Highlander
11-26-2002, 02:40 AM
hi there.. is there a ability to user this linkdatabase with yours.. i mean i needed it merged.. some option yours and some option of mine would be a GREAT hack ..

direkt link
http://www.spieleplanet.org/forum/download/index.php?dominator=2

would be cool if i get an answer on
admin@spieleplanet.net

(i just user the quick reply box for this answer so i did not get notifivation by email.. )

Legacy
11-30-2002, 03:44 PM
Admin CP Error

Fatal error: Cannot redeclare maketableheaderview() in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 132


EDITED...NEVER MIND..FOUND PROBLEM

You do not need to edit the adminfunctions.php file if your upgrading :( doh


But the Validation doesnt work...also glad to see the serch function working with ensim now

great Job...any solution on validation

Banana
11-30-2002, 03:50 PM
Originally posted by Banana
The "Top 10 Visited Links" doesn't sort properly. The problem is that the db column is text and not a number. Therefore "9" comes above "11" etc. My top ten list reads: 9,9,6,5,4,36,29,17,15,14.

Will a simple alteration of the column type work or will that muck up the PHP? Thanks Hi, is there a fix for this yet? Thanks

ArunanS
11-30-2002, 09:47 PM
Try
ALTER TABLE `gportal_weblinkslink` CHANGE `hits` `quantity` INT(99) DEFAULT '0'

GMeadows
12-01-2002, 10:52 AM
There must be a simple way to include the links box on the front page of the forum....? Down under the forums.

Got me beat right now.

ArunanS
12-01-2002, 12:27 PM
Well if you check out http://www.noxmedia.net/links.php

I have done it for that site.

Martin64
12-01-2002, 02:26 PM
Great hack, installed. :)

DrkFusion
12-04-2002, 12:55 AM
Well can we please move this to pm.

Thanks

DrkFusion
12-04-2002, 02:12 AM
Many of you may be wondering why the stuff I have promised is not out yet, its because I have been busy with my personal life, and thanks to alot of people here at vB.org i have learned alot of new stuff in php and Mysql, and will be releasing yet a new big release, with great new features, and a full code revamp.

Also I will be making a new one for vB3 when that comes out.
Here are some features on the TODO
- Sub Categories
- Link Editing (By user who added the link and admin on the site itself)
- Revamped Admin Panel with more control in vB options
- New Style
- Link Rating
- Mini Topsites
- Advanced Toggle Options in AdminCP for all features
- UserGroup Permissions (Allow certan usergoups to view/add links)
- Built-In Banner/Button rotator (Maybe)
- Banner/Button Engine (Allows the user to display a button or banner, can be toggled on or off)
- Adding Rules (make it so only 1 user can add 1 link etc)
- Easy Integration Instructions (vBhome, main site etc)
and many other features, this will be a full re-write of the code, and the best part about all this is, the goal is no more than 11 queires per major function. The Currect Directory potentially only has 6-7 queries, but with all the extra addons less than 11, 10, and if all features are turned off less than 8, I will be giving you more information soon.

supreemball
12-04-2002, 10:52 PM
great hack..

only one problem.. seems that when users add some links with ' or commas or other special characters in the description field, they don't show up on validation, even though it says they added the link successfully.

any solutions? tia :)

DrkFusion
12-05-2002, 01:20 AM
I believe this problem was fixed...hmm well the Validation Feature isn't really something that appeals to me, but I have to say Mark has done an excellent job with it, I will look into it, if you are willing to wait, I will get out a new update as soon as I am not full of work.

Xer
12-06-2002, 11:56 AM
thx DrkFusion !!
working on 2.2.9

this hack very nice..
waiting your vb3 Power edition!!

cessna140
12-06-2002, 04:42 PM
Not sure if it has been requested or not but how about a "suggest a category" link.

Perhaps it could be set up similar to posting a link but would be moderated. The admin could approve it and have the new category added or disapprove and it would be deleted.

Another option would be to allow users to suggest a new category when posting a link. The admin could add the category or change the category to an existing one when moderating the link?

Would be a nice touch.
Installed on 2.2.8 and working like a champ! Thanks for a great hack!

Visionray
12-06-2002, 05:06 PM
Originally posted by supreemball
great hack..

only one problem.. seems that when users add some links with ' or commas or other special characters in the description field, they don't show up on validation, even though it says they added the link successfully.

any solutions? tia :)


Yup, that was a bug fix I suggested awhile back that obviously didn't get fixed. MarkB solved it though.

You can find the fix for that in this post.

https://vborg.vbsupport.ru/showthread.php?postid=317002#post317002

Littlebit
12-06-2002, 05:14 PM
Drkfusion,
I haven't got to your hack yet, but as I was reinstalling my hacks after upgrading to 2.2.9, I got an idea...I'll PM you
:smoke:

DrkFusion
12-06-2002, 07:48 PM
Visionray, I am sure the v2 had the fixes in them. Sorry

FlyBoy73
12-07-2002, 11:28 PM
Wow, this is a great hack. I just spent $195.00 for In-Link's directory and this one looks more appealing to me! lol Think I will sell the In-Link.
Great job, DrkFusion

Littlebit
12-08-2002, 05:59 AM
Hi Drk,
I installed and all works great! I love it :cool:
I am wondering if you have already written this part yet or not:
UserGroup Permissions (Allow certan usergoups to view/add links)
I guess, would it be similar to the hack used to give the option of what usergroups can see the Calendar?
Anyway, thanks for the very precise instructions too
-littlebit

arracing
12-09-2002, 01:56 AM
You should make it so people cannont submit duplicate links if their is already that same link address already submitted.

coolsurfin
12-09-2002, 08:55 PM
Hi,
Getting this error when installing
Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: CREATE TABLE `gportal_weblinkscat` (
`webcatid` INT(11) NOT NULL AUTO_INCREMENT,
`catname` VARCHAR(255) NOT NULL,
`catdesc` TEXT NOT NULL,
PRIMARY KEY (`webcatid`)) TYPE = MYISAM
mysql error: You have an error in your SQL syntax near '`gportal_weblinkscat` (
`webcatid` INT(11) NOT NULL AUTO_INCREMENT,
`catname` V' at line 1

mysql error number: 1064

Date: Monday 09th of December 2002 05:04:24 PM
Script: http://www.coolsurfin.com/forum/forum/admin/vbldir_install.php?install=3
Referer: http://www.coolsurfin.com/forum/admin/vbldir_install.php?install=2

DrkFusion
12-11-2002, 08:18 PM
coolsurfin, run the following manually
CREATE TABLE gportal_weblinkscat (
webcatid INT(11) NOT NULL AUTO_INCREMENT,
catname VARCHAR(255) NOT NULL,
catdesc TEXT NOT NULL,
PRIMARY KEY (`webcatid`)) TYPE = MYISAM

buss2002
12-18-2002, 07:40 PM
Hi,

1.The hack seems cool...i installed but dont know about the folder with templates in the zip...dont know what to do with them....no instruction for those?

2.Is that link directory suppose to be added to the forum home somehow?I can pull it up tru the url to links.php but isent it supose to be implemented into the forum home page?

3.how do i add a extra field for site owners to put in information
about ther return link?

4. were can i display a rule for adding lnks to the directory?

hope for some help to a newbie -:)

JakeC
12-20-2002, 09:40 PM
I'm having a slight difficulty. I have changed around some of my styles tweaking things hear and there and now all of my links and links directories have disappeared. They still show in the forum admin under the links directory section but nothing shows up on the site. also, how many templates are supposed to show up in the custom templates portion of the template set? I only count three in mine. drkslinks_addnewlink, drkslinks_browselink, and drkslinks_main. Here are a couple of screenshots:

Links Directory in the CP (http://www.homebuiltairplanes.com/images/linkscp.gif)

Links directory in the site (http://www.homebuiltairplanes.com/images/linksdir.gif)

My templates (http://www.homebuiltairplanes.com/images/linkstemplates.gif)

Any help would be very much appreciated.

JakeC

P.S. I'm not completely sure that tweaking my styles had anything to do with the links error. I just happened to notice it after messing with my styles.

JakeC
12-20-2002, 10:22 PM
Never mind, I got it. I guess for some reason I lost all but three of my templates. I went ahead and created them by hand and everything is good to go. Thanks.

JakeC

buss2002
12-20-2002, 11:01 PM
somebody out there?

Smoothie
12-21-2002, 02:43 AM
Hey! Finally got around to installing. Nice Job!
* Smoothie clicks that darn install button. ;)

Smoothie
12-21-2002, 02:45 AM
BTW, it's "category", not catagory. ;)

Dean C
12-21-2002, 05:50 AM
Hehe awesome... you installed after all ;) !

Regards

- miSt

arracing
12-21-2002, 02:49 PM
if you excluded a domain and you want to bring it back, how do you do that?

DrkFusion
12-21-2002, 03:39 PM
Originally posted by buss2002
somebody out there?
Some of your questions have been answered in the support forum.

:)

DrkFusion
12-21-2002, 03:41 PM
Originally posted by Smoothie
BTW, it's "category", not catagory. ;)
I can't start teo tell you how many people told me, lol I keep forgetting when I update, also some people might have problems with html while viewing the Links Directory, there should be a solution to this in this thread, I will look for it, and fix it.

I have started to code the major update of 2.5, on my site I am running 2.5a :) It has major security fixes, and some new features, that have been coded in but not used yet.

DrkFusion
12-21-2002, 03:42 PM
Originally posted by arracing
if you excluded a domain and you want to bring it back, how do you do that?
Can you please rephrase your question, sorry I do not understand

Regards

Dean C
12-21-2002, 04:48 PM
Have you included ratings because this is the only thing thats stopping me from installing?

- miSt

DrkFusion
12-21-2002, 05:47 PM
Originally posted by Mist
Have you included ratings because this is the only thing thats stopping me from installing?

- miSt
Yes, its on the to do, its actually in the code, I am doing the math functions for it right now.

Smoothie
12-21-2002, 05:53 PM
One small request, heh, maybe not too small. How about allowing banners. Uploaded, or linked.

Dean C
12-21-2002, 06:50 PM
Lil one's tho :)

arracing
12-21-2002, 07:15 PM
you know how you can exlude domains from the site referrer list. Well I want to know how I can bring back those domains I excluded?

Smoothie
12-22-2002, 08:19 AM
DrkFusion-

I need to replace "catagory" with "category", but its not so easy. I have way too many styles to do this manually. Any suggestions?
I tried the find and replace, but its only listing one template, and I know there are more.

DrkFusion
12-22-2002, 01:47 PM
Smoothie, there should be 2 ways you can do this, one way is set your board to debug (be careful) and edit the global template, which will affect all styles. (I would say this is the most effective way) but be careful

or

you can go into a database administration software like phpmyadmin, first go to your admin, find out the template ids for the global templates, and then run
SELECT * FROM `template` WHERE templateid=globaltemplateidonly

I would really suggest the first one, because you have so many styles, you might want to look into closing yourboard while doing these jobs to be on the safe side, we really do not know how many stuff debug mode opens to the public if any, so be safe, but it is the easier way, the 2.X update will have this.

Sorry, and good luck Smoothie

DrkFusion
12-22-2002, 01:53 PM
Originally posted by Smoothie
One small request, heh, maybe not too small. How about allowing banners. Uploaded, or linked.
I am sure you wouldn't want to allow viewing of other sites banners off of yours, I think it would be wise if the user who adds links have the banner uploaded and link to it :)

Also the standard banner (468x60) will not fit in any of the current tables, so if you want those sorts of banners then for the mod, I can add a new <tr> if you want buttons thats ok, but to benifit all, I will include instructions for both :)

Smoothie
12-22-2002, 08:03 PM
DrkFusion,

You say the next release will fix the spelling errors? Ok, I just checked, out of the 13 templates, 3 of them have the word catagory, with a total of 5 instances. So, 9 styles x 5=45 changes I have to make. :(

DrkFusion
12-22-2002, 09:01 PM
Did you try the first way above?

:)

Smoothie
12-22-2002, 10:57 PM
What I did was find and replace in the templates with a text editor. Then debug mode on, edited the vblinks global templates. Replaced drkslinks_main, drkslinks_error and drkslinks_addnewlink templates.

DrkFusion
12-22-2002, 11:04 PM
So everything is fixed?
I see the html problem was fixed too.
Note, the same html problem is on browselinks, Top 10 visisted, and top 10 last added
Sorry about the template errors, I focused alot on the code for the release, and really did not revise the templates.

Smoothie
12-23-2002, 12:15 AM
Originally posted by DrkFusion
So everything is fixed?
I see the html problem was fixed too.
Note, the same html problem is on browselinks, Top 10 visisted, and top 10 last added
Sorry about the template errors, I focused alot on the code for the release, and really did not revise the templates. Yep!

JakeC
12-27-2002, 02:51 AM
I’m not sure if this has been covered yet but for some reason whenever I try to admin the links directory in the admin panel I must submit my username and password each step of the way. Sometimes to do one function such as remove a link, it asks me for my username and password 3 times. Any ideas? Great hack by the way. Are you planning to add a deeper directory structure and the ability to move links? Just wondering. Thanks in advance.

JakeC

Axe
12-27-2002, 03:31 AM
All copyright notices must stay intact, all links, and messages in templates must be included in order for legal use of this modification.

Bummer, such a shame we're under restriction not to advertise other hosting companies on the site.

Ahhh well, never mind.

XrayHead
12-27-2002, 02:18 PM
OK, after some messing around and forgetting to upload the links.php (i was a bit merry on boxing day) file i got the hack working on 2.8.

Nice hack, thanks.

DrkFusion
12-28-2002, 01:01 AM
@Axe, we do not do hosting anymore, the site will go up soon, no hosting :-/ (plans changed) we lost one of the business locations.

DrkFusion
12-28-2002, 01:01 AM
@Axe, we do not do hosting anymore, the site will go up soon, no hosting :-/ (plans changed) we lost one of the business locations.

Units
12-29-2002, 12:51 AM
No vb codes?
I want to bold something.. <b> and [b] doesnt work :(

DrkFusion
12-29-2002, 03:23 AM
Units, currently no, but if its something you would like to see in the 3.0 version (which by the way is nearing completion) you are welcome to confirm a suggestion.

ethics
12-29-2002, 04:48 AM
Great hack! Installed and rolling with it. Works really nice. :)

Units
12-29-2002, 06:38 AM
Originally posted by DrkFusion
Units, currently no, but if its something you would like to see in the 3.0 version (which by the way is nearing completion) you are welcome to confirm a suggestion.

Also, I was wondering.. My designer is trying to make it so that, for each category it displays how many links are inside.. Any hints/tips for him?

Dean C
12-29-2002, 12:04 PM
Ratings for version 3.0 drk!

DrkFusion
12-29-2002, 05:36 PM
Mist, its in

Units, the number of links is not done through design, but through coding, it is in vB links 3

Units
12-29-2002, 08:59 PM
I understand that.
But thats one feature all my members are requesting at the moment.

Chris M
12-29-2002, 10:01 PM
Version 3.0 is very near to completion...

Satan

SS9267547
12-29-2002, 10:48 PM
Look forward to the release of Version 3.0, so going to be released in this year or next year? :)

DrkFusion
12-30-2002, 01:06 PM
Originally posted by Units
I understand that.
But thats one feature all my members are requesting at the moment.
Sorry, its something I can't do right now.
Please don't think I am not supporting this hack, hopefully you can look at it my way, alot of unhappy clients...alot of them, design, code, network, server building and stuff.

Sorry Again, you are welcome to add it manually, but it is standard in vB Links 3.0 and I will provide full upgrade information, so you won't have to worry about loosing data.

DrkFusion
12-30-2002, 01:07 PM
Originally posted by SS9267547
Look forward to the release of Version 3.0, so going to be released in this year or next year? :)
Hopefully next year.

I am planning to make 2 versions of vB Links Directory 3.0
[One for vBulletin 3.0 and another for the vBulletin 2.2.x]

kastle
12-30-2002, 11:15 PM
For those who are interested in catagory counts, this might help some...

1. Edit your vB Links Directory Templates > drkslinks_catbit file as such (for example) -- I've added a [$linkcounted] to mine, more on what it is ....

<tr valign="top">
<td bgcolor="#F1F1F1"><normalfont><b><a href="links.php?action=viewlinks&catid=$catid">$catname</a></b> [$linkcounted] </smallfont></normalfont></td>
<td bgcolor="#DFDFDF"><normalfont>$catdesc</normalfont></td>
</tr>


2. In the links.php, change
// #################### Links Home ####################
if ($action=="main") {
$ebg = $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}

TO

// #################### Links Home ####################
if ($action=="main") {
$ebg = $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
$linkcount=$DB_site->query_first("select count(*)
as linkcounted from `gportal_weblinkslink`
where catagoryid=$catid[webcatid]");
$linkcounted=$linkcount[linkcounted];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}

JakeC
12-31-2002, 04:53 AM
I'm running into the apostrophe problem like Visionray was on page 10. Basically when I try to add a link with a ' in it, it will not upload. There was a fix given but it appears it was for an earlier version or something because the code looks different. Any help you could give would be very much appreciated. Thanks.

JakeC

DrkFusion
12-31-2002, 06:08 AM
Here are some basic information about vB Links Directory 3.0
vB Links Directory 3.0 Features
Administration:
? Better Category Management
? Better Link Management
? Full Management of settings (Name, fields, extras)
? --->You can set the name of your links directory, and fields, for example, instead of showing the word hits: you can put visits, or views, and instead of having a standard name of "Site Links Directory" you can set it in the vB options to be "Site Link Database" or "Site Links" or "Site Plugin", you can disable and enable features such as ratings, add links, user editing, user viewing.
? Advanced Link Validation System (better then current)
? Button/Banner Management
? New Sub Category Management
...(Will list more as finish date nears)

Links Directory (Public):
Main::
? Categories
? Sub Categories
? Number of Links in each Category
? Descriptions
? Search
Category View::
? Sub Categories
? Link Name
? Link Description
? Link Rating (Average)
? Admin Options (Viewable to admins, and others you specify)
? Search
? Link Hits
Extras::
? Built in Mini-Topsites (Can be disabled)
? Top 10 Visited Links (Can be disabled)
? Last 10 Added Links (Can be disabled)
? Banner Rotator (Can be disabled)
? Full Mas view (Can be disabled)

These are just some features of 3.0, which will be released with it:)

Dean C
12-31-2002, 09:03 AM
Yes but it's not released yet :p

nighteyes
01-01-2003, 01:49 PM
Originally posted by DrkFusion

Hopefully next year.


Any idea when 3.0 might be released at all? :)

Units
01-02-2003, 01:31 AM
Originally posted by kastle
For those who are interested in catagory counts, this might help some...

1. Edit your vB Links Directory Templates > drkslinks_catbit file as such (for example) -- I've added a [$linkcounted] to mine, more on what it is ....

<tr valign="top">
<td bgcolor="#F1F1F1"><normalfont><b><a href="links.php?action=viewlinks&catid=$catid">$catname</a></b> [$linkcounted] </smallfont></normalfont></td>
<td bgcolor="#DFDFDF"><normalfont>$catdesc</normalfont></td>
</tr>


2. In the links.php, change
// #################### Links Home ####################
if ($action=="main") {
$ebg = $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}

TO

// #################### Links Home ####################
if ($action=="main") {
$ebg = $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
$linkcount=$DB_site->query_first("select count(*)
as linkcounted from `gportal_weblinkslink`
where catagoryid=$catid[webcatid]");
$linkcounted=$linkcount[linkcounted];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}

Thanks alot dude

Units
01-02-2003, 05:24 PM
Dude.. My members are saying that they add there link, and it doesnt show up. I checked the link validation thing, and it said its off..

Im an admin, so i could see the link.. But they cant, any suggestions?

Elvis
01-03-2003, 10:57 PM
Hi,

This is a very cool hack.... but lacks a couple things, namely in the category functionality.

Does anyone know how to add the category into the form when validating or editing a link?

Any help would be appreciated.

Thanks,

Elvis

Elvis
01-04-2003, 05:53 PM
Well,

This isn't anything fancy... but it's my first hack (and of a hack), so go easy on me. ;)

Replace weblinksadmin.php with the one attached here (weblinksadmin.php.txt), and you'll be able to change categories in both the Link Edit and when you Validate New Links. I also sorted View ALL Links by linkid.

Again, it's quick and dirty, but it works. All my changes are commented... just search the file for ' Elvis '.

Lemme know what you think... perhaps someone else can clean it up, and make it more efficient.

Elvis

JakeC
01-04-2003, 07:30 PM
I gave it a try and I got an error when I tried to validate a link. Here is the error:

Fatal error: Call to undefined function: phprequire() in /home/jakec/public_html/forums/admin/weblinksadmin.php on line 1

I really would like this addition. All I did was rename the file to weblinksadmin.php and uploaded it to the admin folder, overwriting the old weblinksadmin.php file. Did I miss a step? Thanks in advance.

JakeC

Elvis
01-04-2003, 07:35 PM
Originally posted by JakeC
I gave it a try and I got an error when I tried to validate a link. Here is the error:



I really would like this addition. All I did was rename the file to weblinksadmin.php and uploaded it to the admin folder, overwriting the old weblinksadmin.php file. Did I miss a step? Thanks in advance.

JakeC

Make sure the first 2 lines look like:
<?php
require("./global.php");

JakeC
01-04-2003, 07:52 PM
Ok, I got it. For some reason when I saved the file everything was run together and not in any structure of any kind. So, I just copied and pasted into a php file and it works great. I haven’t been able to test it thoroughly but it works great so far. Thanks for a great update. I really like it.

JakeC

Elvis
01-04-2003, 07:54 PM
Originally posted by JakeC
Ok, I got it. For some reason when I saved the file everything was run together and not in any structure of any kind. So, I just copied and pasted into a php file and it works great. I haven?t been able to test it thoroughly but it works great so far. Thanks for a great update. I really like it.

JakeC


My pleasure... I figured I 'borrow' enough hacks from this place, I may as well contribute the only thing I've really done so far :D

JakeC
01-07-2003, 05:59 PM
I'm running into the apostrophe problem like Visionray was on page 10. Basically when I try to add a link with a ' in it, it will not upload. There was a fix given but it appears it was for an earlier version or something because the code looks different. Any help you could give would be very much appreciated. Thanks.

JakeC


Has anyone smarter than me come up with a fix for this problem? DrkFusion?? My users are beginning to wonder what is going on. Please let me know. Thanks.

JakeC

NTLDR
01-07-2003, 06:38 PM
You need to use addslashes before it attempts to insert the data into the DB. I don't however use this hack so I can't say where to add this ;)

ChurchMedia
01-07-2003, 07:07 PM
Is HTML supported in the link description?

DrkFusion
01-07-2003, 07:41 PM
NTLDR, it does use addslashes, thats why I am seeing atleast, but the code is jumbled it, I will check again.

@ChurchMedia, no.

Regards

JulianD
01-07-2003, 07:49 PM
Hi DrkFusion. I was reading the feature list for vB Links Directory 3.0 and I was quite impressed. When can we expect it? It's going to be free? I don't want to buy in-link or sidelinks if you're going to release such a hack!

Ok, good luck!

DrkFusion
01-07-2003, 10:04 PM
It is indeed free, as it is not standalone, and pulls power from vB, I may be releasing a retail version, as one of my clients that my dads company got for me, wants a more advanced version of it, with member system, and content management, so I am not sure. But this one will be free.

Also please keep in mind, some of those features are not yet within, but will be coming.

I have got a list of beta testers that I will be contacting soon.

Hell Satan
Dark_Wizard
Smoothie *
* Still need to confirm.

JulianD
01-08-2003, 01:38 AM
If you need another one, count with me. I like to betatest new software :)

thedvs
01-10-2003, 07:50 AM
I have a problem now, I added muliple categories and if I publicly add a new link it doesn't show up in the display! Yet it is shown in the Admin section? What could be the problem?

Carsten
01-10-2003, 04:47 PM
Great hack!

2 questions:
- Is it possible to receive mail if there is a new link to validate (with username)?
- Is it possible to show the username in the admin CP?

JakeC
01-10-2003, 11:21 PM
DrkFusion,

Any idea on my apostrophe problem? Look forward to hearing somthing. Thanks.

JakeC

SVTBlackLight01
01-19-2003, 12:50 PM
I'm having a problem. When I click on the link, it just opens a blank page. Here's the link: http://www.modernengineuity.com/forums/links.php?action=main

This also happens when I try to use the top 10 and last 10 links.

?:confused:?

SVTBlackLight01
01-21-2003, 08:31 PM
...Anybody?

Ninth Dimension
01-21-2003, 09:12 PM
sounds like missing templates.

JakeC
01-23-2003, 07:38 PM
Does anyone else know anything about the apostrope problem? Is it happening to anyone else or is it just me?

JakeC

Elvis
01-23-2003, 07:45 PM
Originally posted by JakeC
Does anyone else know anything about the apostrope problem? Is it happening to anyone else or is it just me?

JakeC

yah... I had the same problem... but i hacked it... i think you just have to add special characters... if i recall. i dont have my file at hand right now.

SVTBlackLight01
01-27-2003, 11:44 PM
Originally posted by Ninth Dimension
sounds like missing templates.

All the templates are there. I was hoping someone could pinpoint the problem to avoid reinstalling the entire hack.

JakeC
01-29-2003, 02:47 PM
I noticed that when a user follows a link from the links database when I go to the currently active user area to see where everyone is at I get the error in the screenshot I have attached. Any ideas how to fix this?

Jake

smestas
01-31-2003, 08:11 PM
Hey guys,

I just finished installing vBlinks to my vBulletin site running 2.2.8 and did all of the steps required. When I went to finally add a forum I'm getting the following error from my admin controll pannel.

========================
Fatal error: Call to undefined function: makedescription() in /home/mtmdesig/public_html/bb/forums/admin/forum.php on line 85
========================

and this error when tring to access the vblinksadmin.php file

========================
Fatal error: Call to undefined function: makedescription() in /home/mtmdesig/public_html/bb/forums/admin/weblinksadmin.php on line 43
========================

Can someone give me a clue on where to look to fix this. I don't recall editing my forum.php file?

Thanks in advance.

smestas
02-05-2003, 05:32 AM
Anyone?

AndrewD
02-06-2003, 10:34 AM
Originally posted by smestas
Hey guys,

I just finished installing vBlinks to my vBulletin site running 2.2.8 and did all of the steps required. When I went to finally add a forum I'm getting the following error from my admin controll pannel.

========================
Fatal error: Call to undefined function: makedescription() in /home/mtmdesig/public_html/bb/forums/admin/forum.php on line 85
========================

and this error when tring to access the vblinksadmin.php file

========================
Fatal error: Call to undefined function: makedescription() in /home/mtmdesig/public_html/bb/forums/admin/weblinksadmin.php on line 43
========================

Can someone give me a clue on where to look to fix this. I don't recall editing my forum.php file?

Thanks in advance.

Makedescription is defined in forum/adminfunctions.php immediately after maketableheader function, which is where you edited when you installed vblinks, I suspect you've accidentally deleted this function definition.

SVTBlackLight01
02-07-2003, 09:36 PM
Originally posted by SVTBlackLight01
I'm having a problem. When I click on the link, it just opens a blank page. Here's the link: http://www.modernengineuity.com/forums/links.php?action=main

This also happens when I try to use the top 10 and last 10 links.

?:confused:?

Anybody have any ideas?

smestas
02-07-2003, 09:51 PM
Thanks AndrewD!

You hit the nail on the head. All fixed and up and running.

Thanks again!

Littlebit
02-11-2003, 09:06 PM
DrkFusion-

Let me know if you need a Mac beta tester.

Anitah
02-13-2003, 03:11 AM
Originally posted by DrkFusion
vB Links Directory 2.0
- AdminCP : View Catagory and Options

I've done the installation, but I don't show a Links Directory in the admin cpanel. The Links Directory Templates seem to have installed correctly and Vb Links Directory appears in the Options.

I've recently installed a "skin" for the vbhome. Could that be the problem?

Anitah
02-13-2003, 03:12 AM
Hmm ok, I reloaded my browser and now the Links Directory appears in the cpanel, however, when I click "Add category" I get a browser error "Page Not Found."

What have I missed?

Anitah
02-13-2003, 03:21 AM
Doh.

Forgot to upload webslinksadmin.php

Nevermind :)

Anitah
02-13-2003, 03:23 AM
Great hack!

Thanks :)

JakeC
02-13-2003, 03:44 AM
Ok, it might have been covered but I cannot find anything on it. Has anyone been able to get the links to be listed alphabetically? This would be extremely handy for what I am using it for. Thanks in advance.

Jake

Anitah
02-13-2003, 04:56 AM
One minor glitch.

Can someone tell me how to fix the footer so that it does not extend the length of the screen?

msimplay
02-23-2003, 04:19 PM
Everything seems to be ok
But i am getting these errors in Admin cp

Drk's Links Directory
View/Edit
Fatal error: Call to undefined function: maketableheaderview() in /home/wambam/public_html/Vbulletin/admin/weblinksadmin.php on line 12

Add Catagory


Add new Link
Fatal error: Call to undefined function: maketableheaderview() in /home/wambam/public_html/Vbulletin/admin/weblinksadmin.php on line 12


View ALL Links
Fatal error: Call to undefined function: maketableheaderview() in /home/wambam/public_html/Vbulletin/admin/weblinksadmin.php on line 255

Validate New


Those are the errors i'm getting for those options the others seem to be working ok
please help
and i'm running version 2.30

msimplay
02-23-2003, 07:25 PM
oops doesn;t matter i missed one Command out from the file that i was meant to make
it all works great now :D

msimplay
02-23-2003, 08:12 PM
What about a new Apostrophe's fix anyone gonna do anything about this ?
cuz i post around 3 posts in this forum already and no ones replied what u lot doin :ermm:

jacobi
02-28-2003, 11:07 AM
Hi msimplay,

I visited an earlier post (linked below) on page 10 of this thread and figured out how to hand-code "links.php" to allow special characters.

In the current release (2.2.8), the "linkname" code already has the modification needed to allow these special characters, but you still need to change the "linkdesc" (link description) code.

Find this:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '$linkdesc', $vd)");
And Change to:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '" .addslashes (htmlspecialchars ($linkdesc )). "', $vd)");

Here's the post I referenced above that needed to be changed (post #142 on page 10 of this thread) (https://vborg.vbsupport.ru/showthread.php?postid=317002#post317002).

DTC
02-28-2003, 11:10 AM
Any word on 3.0 yet? :)

msimplay
02-28-2003, 11:37 AM
Originally posted by jacobi
Hi msimplay,

I visited an earlier post (linked below) on page 10 of this thread and figured out how to hand-code "links.php" to allow special characters.

In the current release (2.2.8), the "linkname" code already has the modification needed to allow these special characters, but you still need to change the "linkdesc" (link description) code.

Find this:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '$linkdesc', $vd)");
And Change to:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '" .addslashes (htmlspecialchars ($linkdesc )). "', $vd)");

Here's the post I referenced above that needed to be changed (post #142 on page 10 of this thread) (https://vborg.vbsupport.ru/showthread.php?postid=317002#post317002).


thanks for that i would have used what it said on that page
but when i came to check the links.php first time around i noticed that the code refrenced was different to the code in the second version of links.php which is what i downloaded
anyway thanks for that :D

SVTBlackLight01
02-28-2003, 09:47 PM
Originally posted by DTC
Any word on 3.0 yet? :)

I was wondering the same thing. ?

insanctus
03-02-2003, 12:49 AM
Will def install as soon as 3.0 is out .... this sounds like exactly what I been looking for.... ~ crosses fingures and hopes.

somerfeld
03-05-2003, 10:29 AM
3.0 est time?

John
03-06-2003, 09:02 PM
Great hack. :)

I don't know if anyone has pointed this out, and I don't have the time to read through this entire thread - but category is spelt wrong throughout the entire hack... :(

refertech
03-08-2003, 01:13 PM
Everything seems to work well except when I call the link from the database it call the link as follows.

Example: hxxp://www.mysite.com/forum/www.msn.com

Anyone got a clue why it would put my board url infront of every link I make?

Edit:

This problem only happens when I add the link thru the admin CP, but I can add the link thru the board then validate it and the link is correct. But if anyone knows the fix for this I will be eternally in your debt.

I'm using my links to download files and I'm also having a problem when viewing PDF files. It opens in a new window as it should but then when I close the window with the PDF file in it, my browser freezes and then finally the page displaying the links just closes. I could really use someones helps here.
I'm using IE6

Thanks,

Mark

Edit: The problem with PDF files is a IE problem and not a hack problem.

stark427
03-09-2003, 08:41 PM
That's a great hack!

Still I have two questions.

- Is there any Uninstaller? I mean, how am I gonna uninstall it if something goes wrong, or If I just want to remove it?

- Does it work with 2.3.0?

thanx in advance :)

SVTBlackLight01
03-10-2003, 12:25 AM
"The hacker has agreed to provide support for this hack."

I'm starting to wonder about this. The hacker hasn't replied to this thread in 2 months.

If 3.0 is ever released, I may install it but. For now, due to the lack of support, I have gone another route for my links system.

FleaBag
03-10-2003, 06:58 AM
For some reason the change I make to template.php does not group my Link Directory templates - any idea why?

DrkFusion
03-13-2003, 09:39 PM
From Arunan:
Sorry for the lack of attention and support for this hack, but I have taken my leave from vBulletin, til then Nero aka Jeff will be looking after this hack and will release the brand new version vB links Directory 3.0

Thanks again, and it was great to be a member of this community, and to serve here as well.

I will be taking care of the hacks, for now support will not be provided for 2.0 til vB Links Directory 3.0 is released.

Didn't think it will come out? Well its very close to release, I plan to release it sometime this week. Beta-testing is to start today.

To read up on the progress, and to check out the screenshots visit the Discussion Thread (https://vborg.vbsupport.ru/showthread.php?s=&threadid=49998)

Thank You
-Nero "Keptic" Placilo

monstergamer
03-16-2003, 04:30 AM
i can not wait for the new one to come out
i just install this one and had to fix some of the code
but it works now
i like it

Fi_InCogNiTo
03-17-2003, 01:13 PM
03-08-03 at 10:13 AM refertech said this in Post #441 (https://vborg.vbsupport.ru/showthread.php?postid=362782#post362782)
Everything seems to work well except when I call the link from the database it call the link as follows.

Example: hxxp://www.mysite.com/forum/www.msn.com

Anyone got a clue why it would put my board url infront of every link I make?

Yes, when submitting a link, be sure to use this format:

http://www.thesite.com

If you do not include http:// your site will also be added before the submitted site ;)

refertech
03-18-2003, 10:20 AM
Actually this only happens when i create a link from the CP, but when i submit one from the board then validate it in the CP it works fine? humm. :)

CRego3D
03-26-2003, 01:57 AM
I have installed this hack, and whiel everythign is workign GREAT .. I have a small problem

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

when a user try to "submit a link" .. it tells him he is NOT logged in and needs to login or register in the board

anybody seen this problem ?

caislander
03-30-2003, 07:24 AM
I have a small problem with this hack, I think I know how to fix it but can't find where.. Where is the html, specificaly the form action, stored for the form to add catagories from the admin control panel?

As always any help is appreciated

Imprezer
04-02-2003, 10:50 PM
Hello,

I installed the hack. Worked great. But, I am not sure how, but I accidently deleted all the templates. How can I re-install them and not loose all the links I have already added?

Thanks!

- Alex

papa
04-24-2003, 04:31 PM
Quick question for you guys.
my links are getting lots of hits and I have notices once they pass 99 hits they don't carry on in the top ten but move to the bottom of the list. back to 1 or 2. So how can I make it count past 99 and into a thousand?

Thanks in advance.

brianstevz
05-16-2003, 05:41 PM
I uploaded it on my site and it works great! And the first time! Great job.

Brian

http://www.pro-american.com/forums

gmarik
05-24-2003, 06:51 AM
I would want to make the vB links file as an index.php file in a folder called /links, but it did not worked for me, even thou I changed the path to global.php. Is there something else I shuould know?

Intex
05-24-2003, 10:22 AM
Keptic - any news on v3.0 yet?

* Intex clicked install for v2 :).


03-14-03 at 12:39 AM Keptic said this in Post #445 (https://vborg.vbsupport.ru/showthread.php?postid=365855#post365855)
Hi Guys, my name is Nero, I will be taking care of the hacks, for now support will not be provided for 2.0 til vB Links Directory 3.0 is released.

Didn't think it will come out? Well its very close to release, I plan to release it sometime this week. Beta-testing is to start today.

To read up on the progress, and to check out the screenshots visit the Discussion Thread (https://vborg.vbsupport.ru/showthread.php?s=&threadid=49998)

Thank You
-Nero "Keptic" Placilo

MarkL
05-25-2003, 11:04 PM
Installed - worked great ;)

BaBa2002
05-31-2003, 12:19 PM
hello
nice hack dude
but i got a problem
when i want to open a link
i get this always
http://www.xxxxxxxxxxxx.com/board/www.xxxxxxxx.com
how can i fix this?

greetings

brianstevz
05-31-2003, 04:32 PM
First off - great hack guys. I installed this one as soon as I saw it. One issue that came up however is that the top ten list. Once a site has 10 hits or more, it moves off the top 10 board. Is there any way to fix this?

Brian

brianstevz
06-03-2003, 08:35 PM
Is anyone still maintaining this hack??? :confused:

brianstevz
06-05-2003, 07:25 PM
bummer...

gmarik
06-06-2003, 05:51 AM
brianstevz,

There was a guy who is developing version 3.0, look in the Lounge.

Rhymology
06-08-2003, 05:53 AM
this didnt work for me...im getting this

Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12

Rhymology
06-08-2003, 07:26 AM
HELP...

brianstevz
06-16-2003, 11:39 PM
<font size="3">And it also should be posted that it is not supported. Keptic claims that he is supporting the hack but if you read postings you'll find their are no responses. Really too bad since this is a great idea in my opinion. Install at your own risk.</font>

cinq
06-17-2003, 01:15 AM
06-08-03 at 03:53 PM Rhymology said this in Post #462 (https://vborg.vbsupport.ru/showthread.php?postid=405979#post405979)
this didnt work for me...im getting this


Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12


Did u do the neccessary code change in your adminfunctions.php file in the admin directory as mentioned in the readme ?

DrkFusion
06-17-2003, 02:34 AM
Sorry about the slow development proccess.

First of all at the top it says The hacker cannot guarantee to provide support for this hack.
Though this will fully change with the release of vB Links Directory 3.0 for vB2.0. I understand this is a very good hack, but the original hacker is not around, and so I will be continuing where he had left off with the new development of vB Links Directory 3.0, and an update to vB Links Directory 2.0. The updated version will come with major code fixes, and I will be taking few days to go through this thread to find all bugs and fix them.

2nd, vB Links Directory is being aimed for a release next week, and may I say, this is one full featured system you will love, especially because of the price for this sort of system. The user interface and onsite administration is fully functional. We will be recoding the admin panel script by the start of June 20th.

I will also take the time to setup a site, as this thread is getting a bit confusing to follow :p, you will be able to submit all bugs there, and get addons etc.

On another note, I have noticed many of you are not reading the instructions fully, many of your problems are a result of this, the maketableheaderview is a function added to adminfunctions so the table is able to spread to allow for the vB Links Directors administration. Please again read carefully and FOLLOW EVERY SINGLE THREAD. With the updated vB Links Directory 2.0 I will provide full support.

Please bare with me, and the others who are looking to see that we release the hacks quickly, we really need your co-operation for this, and will appreciate all your patience.

Now for news about vB3, we may be holding off on a vB3.0 development to move to a retail version in partnership with N!CK, but this is not final, so please do not quote me on this, again NOT FINAL decision, its a 50/50 right now.

That is all regarding this hack for today. Thanks again to all the people who installed this hack, the original author will be very proud of how much this hack as grown in users.

AuthorZone.Com
06-28-2003, 10:23 AM
I installed this cool hack BUT

take a look:
http://www.authorzone.com/forums/links.php?action=main

It is not implementing my template properly.

Can you please help?

Also, how can I make it so only members belonging to a certain group can post links?

Thank you again for this cool hack.

Max

97cobracpe
06-28-2003, 04:24 PM
04-24-03 at 12:31 PM papa said this in Post #452 (https://vborg.vbsupport.ru/showthread.php?postid=386500#post386500)
Quick question for you guys.
my links are getting lots of hits and I have notices once they pass 99 hits they don't carry on in the top ten but move to the bottom of the list. back to 1 or 2. So how can I make it count past 99 and into a thousand?

Thanks in advance.

05-31-03 at 12:32 PM brianstevz said this in Post #458 (https://vborg.vbsupport.ru/showthread.php?postid=402411#post402411)
First off - great hack guys. I installed this one as soon as I saw it. One issue that came up however is that the top ten list. Once a site has 10 hits or more, it moves off the top 10 board. Is there any way to fix this?

Brian


Do you have direct access to you database? If so, do the following:

In the gportal_weblinkslink table, the field named 'hits' has the datatype set to 'text'. Change it to 'int'. I did it on my site, and it worked with no lost information in the hit counters. They all remained intact.

Otherwise, I could modify the install script that when it creates the tables for the database it has the change built it. You would end up having to uninstall the hack, upload the new modifed installer script, and run the new one instead. You would lose all your links this way and have to start over.

97cobracpe
06-28-2003, 04:32 PM
06-08-03 at 01:53 AM Rhymology said this in Post #462 (https://vborg.vbsupport.ru/showthread.php?postid=405979#post405979)
this didnt work for me...im getting this


Fatal error: Call to undefined function: maketableheaderview() in /home/rhymolog/public_html/ forums/admin/weblinksadmin.php on line 12

Try to add a category using the 'add catergory' link first. Then goto 'view/edit' link to manage the categories and what not.

Also, did you remember to go into your 'vbulletin option' area, and click the submit button? You should do this whether or not you need to make changes to it so the hack will work properly.

97cobracpe
06-28-2003, 05:07 PM
Today at 06:23 AM AuthorZone.Com said this in Post #467 (https://vborg.vbsupport.ru/showthread.php?postid=413654#post413654)
Also, how can I make it so only members belonging to a certain group can post links?

Find this code in links.php (around line 51)
// #################### Add Link ####################
if ($action=="addlink") {
if ($bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0") {
eval("dooutput(\"".gettemplate('drkslinks_error1')."\");");
}else{

this part of the code $bbuserinfo[usergroupid]=="1" is what blocks certain user groups from adding links. By default anyone not logged in cannot upload while all other members can. Simply add groups that you do not wish to add new links to the above code. Lets say I don't want the standard members (on my site the groudid for the standard members is 2) to add links, the code would look like this:
// #################### Add Link ####################
if ($action=="addlink") {
if ($bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="0" or $bbuserinfo[usergroudid]=="2") {
eval("dooutput(\"".gettemplate('drkslinks_error1')."\");");
}else{

Noticed the change? I simply added another or statement and put in another group to exclude. Do this for any usergroups you wish to exclude from adding links.

The may want to edit the drkslinks_error1 template as well. It's the template that tell's you that your not logged in. It should also tell you that you might not have permission to add links as well. This way members who are logged in that don't have permission to add links will be aware that they can't.

Hope this helps.

AuthorZone.Com
06-28-2003, 08:50 PM
Please forgive my ignorance but how do I find out which group has which ID number?

Again, thank you so VERY much!

97cobracpe
06-29-2003, 12:27 AM
In your admin cp, goto scroll down to the usergroup area. click on the modify link. This will bring up all your user groups. Now hover over the 'edit' link of 1 of the usergroups. DO NOT click on it. While hovering (using ie) you should see the destination url at the bottom in the status bar. At the end of the link you should see something like ....usergroupid=X. X is the usergroup id for that group.

AuthorZone.Com
06-29-2003, 12:45 AM
Thank you very very much.

All done and working great!

cindyd
06-30-2003, 08:25 PM
I am going to show my ignorance here, but is the zip file on the first page complete? I see there were all sorts of additions to the original hack.

Do I need to also download all those on the various pages?
Thanks for the help.

esfron
07-02-2003, 03:06 PM
06-17-03 at 04:34 AM Keptic said this in Post #466 (https://vborg.vbsupport.ru/showthread.php?postid=409757#post409757)
Sorry about the slow development proccess.

and an update to vB Links Directory 2.0. The updated version will come with major code fixes, and I will be taking few days to go through this thread to find all bugs and fix them.

.



Thanks for this hack.

What about the vB Links Directory 2.0 updated version. Fixed ?

vB Links Directory 3.0 is a release for vB 2.x or for vB 3 ?

Alien
07-03-2003, 07:34 PM
Been real fun playing with this, I can't wait until 3.0! :)

Gutspiller
07-04-2003, 05:47 PM
I'm working on installing this hack and in the instructions I need some help. I can find the following lines in my admin index.php for the following instruction step.


++----------------------------------------------------------
++----------------------------------------------------------
++ Open admin/index.php in your forum admin dir and find:
++----------------------------------------------------------
makenavoption("New Posts","../mod/moderate.php?action=posts","<br>");
makenavoption("New Attachments","../mod/moderate.php?action=attachments");
makenavselect("Moderation","<hr>");
// ***
++----------------------------------------------------------
++ REPLACE the above code with:
++----------------------------------------------------------
makenavoption("New Posts","../mod/moderate.php?action=posts","<br>");
makenavoption("New Attachments","../mod/moderate.php?action=attachments");
makenavselect("Moderation");
// ***
makenavoption("View/Edit","weblinksadmin.php?","<br>");
makenavoption("Add Catagory","weblinksadmin.php?action=addnewcat","<br>");
makenavoption("Add new Link","weblinksadmin.php?","<br>");
makenavoption("View ALL Links","weblinksadmin.php?action=viewbulk","<br>");
if ($valid == '1'){
makenavoption("Validate New","weblinksadmin.php?action=validate");
}
makenavselect("Drk's Links Directory","<hr>");
++----------------------------------------------------------


Can somebody help me? I'm running a slightly older version of VB and I really want this hack. I don't even have any instances of the word "makenavoption" in my admin index. Can somebody please help me get this into my admin index?

Also, does this step just add links? If nothing else, I should be able to visit the links manually, right?

Thanks for any help you can provide!

cindyd
07-05-2003, 04:13 PM
Hi:

I have everything installed, but I have must have missed something, shouldn't this page show up on my forum page?

Here is my forum:

http://www.glassmavenhaven.com/forum/

And here is the link's database, which I can only get to if I type in :

http://www.glassmavenhaven.com/forum/links.php?s

How do I connect them to each other?
Thanks in advance

jacobi
07-06-2003, 12:23 AM
Today at 12:13 PM cindyd said this in Post #478 (https://vborg.vbsupport.ru/showthread.php?postid=415501#post415501)
Hi:
I have everything installed, but I have must have missed something, shouldn't this page show up on my forum page?

Here is my forum:
http://www.glassmavenhaven.com/forum/

And here is the link's database, which I can only get to if I type in:
http://www.glassmavenhaven.com/forum/links.php?s

How do I connect them to each other?

It looks like you figured this out, judging by the button in your header. If not, let us know so we can help!

jacobi
07-06-2003, 12:24 AM
Gutspiller... I seem to remember having this problem myself, initially. I'll look in my archives and try to get you an answer by tomorrow morn.

cindyd
07-06-2003, 03:06 AM
Yup, I am getting the hang of all this stuff. Thanks for the reply.

Gutspiller
07-06-2003, 04:32 PM
Yesterday at 07:24 PM jacobi said this in Post #480 (https://vborg.vbsupport.ru/showthread.php?postid=415585#post415585)
Gutspiller... I seem to remember having this problem myself, initially. I'll look in my archives and try to get you an answer by tomorrow morn.


I fixed it. Thanks though. I have an older VB version.I went poking around and saw how to do it.

Gutspiller
07-06-2003, 04:36 PM
I have two questions:

1. The text that appears under the catagories "[Browse Directory]" and the text that appears under links "[Visit Site] | [Hits:0] Where can I find the code for these? My site is making their font to small and I have to change it so it's slightly a larger font. Can somebody help me out as to where I can change the font size for the above mentioned places?

2. How do I order my link catagories? Doesn't there have to be some way? I looked all over, but couln't seem to find out where it was. I need to specify which catagoies I want from top to bottom. Was this feature excluded from this hack? And if so, can somebody please implement it or give me some instructions on how to set it up.

Thanks a bunch!

DrkFusion
07-06-2003, 10:33 PM
Gutspiller don't worry, I am releasing an updated version for v2.

Also for organizing the categories. You can choose to order it only by name or id.

cindyd
07-07-2003, 03:05 PM
I have just found I cannot Edit a link name. Is this a known problem?

If I edit, I get a screen that says the edit has been successful, but when I look at the actual page, it hasn't changed.

Would Anyone help me out? TIA

In the next version, is there a feature to put the links in an order of your choosing (instead of alpha order), similiar to the smilie hack?

jacobi
07-07-2003, 05:12 PM
Hi cindyd,

I had the same problem, but "cheated" my way out of it by creating another entry with the correct information, and then deleting the wrong one.

Hopefully, the new version will address this issue. Speaking of which, I like your idea to set the order manually. You might want to mention that in this thread, where discussion is taking place regarding the next version:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=49998

cindyd
07-07-2003, 05:18 PM
Hi Jacobi: after trying the same thing over and over expecting different results, that's what I ended up doing. Geesh, it feels good to stop banging my head on the desk. :knockedout:

I will go to that thread and make my suggestion....I am waiting for that other release too!

Gutspiller
07-08-2003, 11:32 PM
Is it possible to get it so that the latest links posted into the directory will appear on my non-vb frontpage? This would be great, because then it would be a self promotion for people to post more links.

Gutspiller
07-08-2003, 11:43 PM
07-06-03 at 05:33 PM Keptic said this in Post #484 (https://vborg.vbsupport.ru/showthread.php?postid=415791#post415791)
Gutspiller don't worry, I am releasing an updated version for v2.

Also for organizing the categories. You can choose to order it only by name or id.


What about the updated version you are working on? Will it be able to organize them better? Or do I need to create the catagories that I want them to appear in? :(

mbowers
07-09-2003, 04:58 AM
It might benefit future users of this hack if you went through and corrected the spelling of "category". It's "catAgory" in a bunch of places. I think I got them all, but I'm sure my users will let me know if I didn't... :paranoid:

Gutspiller
07-09-2003, 05:05 AM
Yesterday at 11:58 PM mbowers said this in Post #490 (https://vborg.vbsupport.ru/showthread.php?postid=416336#post416336)
It might benefit future users of this hack if you went through and corrected the spelling of "category". It's "catAgory" in a bunch of places. I think I got them all, but I'm sure my users will let me know if I didn't... :paranoid:


Yeah I want mine spelled right too. :p

cindyd
07-10-2003, 10:02 PM
I installed this hack and everything is running great, except, I put a border around the table and it is gray.

DOes anyone know how to change the color on this?

Here is the URL:

Board (http://www.glassmavenhaven.com/forum/links.php?)

And I also attached a screen shot showing the border.

I had to hack the template to make it different than the rest of the board.

DrkFusion
07-10-2003, 10:07 PM
First of all, yes the new version has the spelling fixes. The categories are still ordered by catname or catid ONLY in this version. I am actually going through this thread finding all the errors and fixing them. There is also a new look to it ;)

brianstevz
07-10-2003, 11:19 PM
06-28-03 at 06:24 PM 97cobracpe said this in Post #468 (https://vborg.vbsupport.ru/showthread.php?postid=413714#post413714)
Do you have direct access to you database? If so, do the following:

In the gportal_weblinkslink table, the field named 'hits' has the datatype set to 'text'. Change it to 'int'. I did it on my site, and it worked with no lost information in the hit counters. They all remained intact.

Otherwise, I could modify the install script that when it creates the tables for the database it has the change built it. You would end up having to uninstall the hack, upload the new modifed installer script, and run the new one instead. You would lose all your links this way and have to start over.

This worked like a champ. Thanks for the suggestion!!!


:D

DrkFusion
07-11-2003, 02:47 AM
DATABASE FIX
? This is a required update, if you have installed vB Links Directory before July 10,2003, you must execute this script.

THIS MUST BE RUN AFTER THE INSTALLATION!

Instructions
1. Download the script
2. Upload to admin cp
3. Execute script
4. If all goes well delete it from admin cp

Kohhal
07-11-2003, 06:50 AM
Thanks for the update, never realised that problem!

AuthorZone.Com
07-11-2003, 08:30 AM
Ok, I installed this script and when I click on add link I get:

Call to undefined function: maketableheaderview() in /home/authorz/public_html/forums/admin/weblinksadmin.php on line 12

Russ_T
07-11-2003, 08:43 AM
Hi,

This hack is very useful thank you, can be viewed at


Anyway I made a little mod, I don't know how this will be affected by the update.

Original code
if ($action=="main") {
$ebg = $DB_site->query("SELECT * FROM gportal_weblinkscat ORDER BY catname");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}


Modified code
if ($action=="main") {
$ebg = $DB_site->query("SELECT a.webcatid, a.catname, a.catdesc, COUNT(b.categoryid) AS catcount FROM gportal_weblinkscat a LEFT OUTER JOIN $gportal_weblinkslink b ON a.webcatid = b.categoryid GROUP BY a.webcatid, a.catname, a.catdesc ORDER BY a.catname ASC;");
if ($DB_site->num_rows($ebg)) {
while ($myrow=$DB_site->fetch_array($ebg)) {
$hasattach=1;
$catid=$myrow["webcatid"];
$catname=$myrow["catname"];
$catdesc=$myrow["catdesc"];
$catcount=$myrow[catcount];
eval("\$catlistbit .= \"".gettemplate('drkslinks_catbit')."\";");
}
}
eval("dooutput(\"".gettemplate('drkslinks_main')."\");");
}

Basically I can now count the number of items in each category so if you see I get a total links in category.

If you haven't already done this thought it would make a nice addition, can you let me know if your db update php will affect my mod please?

Regards

Russ

AuthorZone.Com
07-11-2003, 09:47 AM
Can someone help please?

I have registered members and Premium (Group) members.

I only want to allow the Premium group members to be able to submit links.

How can I get this done?

Somebody please help?

Max

AuthorZone.Com
07-11-2003, 09:55 AM
I still get:
Fatal error: Call to undefined function: maketableheaderview() in /home/authorz/public_html/forums/admin/weblinksadmin.php on line 12
whe I click View all Links in the cp.