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)

Xelation 07-20-2003 08:54 PM

Is the build confirmed working yet?

cindyd 07-20-2003 09:08 PM

That does it!

The other problem I have seen is that this does not relate well to other browsers. I use Opera most of the time and back a few pages I have a screen shot of one of the pages that shows a big empty column, where on IE, it looks great.

jacobi 07-21-2003 12:13 AM

Quote:

Xelation said this in Post #601
Is the build confirmed working yet?
After I apply Bob's fixes, I'll let ya know! :D

jacobi 07-21-2003 01:35 AM

Everything works like a charm ;) Thanks, Bob/Dark_Wizard!! :D

DrkFusion 07-21-2003 02:44 AM

I will actually be recoding the administration for build 250. I did not even touch the admin script for the upgrade. When Dark_Wizard helps me finalize the upgrade script it will include all fixes.

By the way, if many do not know Dark_Wizard is one of the people who have been helping out with vB Links Directory 3.0!

DrkFusion 07-21-2003 03:28 AM

[high]vB Links Directory 2.0 Build 2.5.0 Upgrade[/high]
This upgrade is a manual upgrade, it contains template fixes, new templates, and new links.php file. Follow the instructions in the files.

This new version has query load decrease, better template integration, and a much better integration with vB.

Note that this will be the version that we will provide an upgrade to v3.0 when we release it.

If anyone gets any errors, please forward them to my Private Message Box immediatly

If you install the hack, please click the install button, as constant upgrades, and patches will be provided. Also we will provide news of vBulletin Links Directory 3.0 to only users who have installed, because its easier to manage. You can also receive better support.

Regard,

DrkFusion 07-21-2003 03:30 AM

The upgrade files were updated with a new links.php file and a new weblinksadmin.php file.

Both contain changes, which include structure, and minor bug fixes. If anyone runs into any problems, please Private Message me immediatly.

The new post above contains a RAR upgrade script, and the one on page 35 there is a zip version.

Regards

DiscussAnything 07-21-2003 12:41 PM

after the update the link and description are not inserted into the database, when I add a new link. Everything looks alright though, and I didnt change any of the code/templates :confused:

Dark_Wizard 07-21-2003 01:13 PM

Quote:

Today at 09:41 AM DiscussAnything said this in Post #608
after the update the link and description are not inserted into the database, when I add a new link. Everything looks alright though, and I didnt change any of the code/templates :confused:

Apply my fixes and let me know if it works then...

DiscussAnything 07-21-2003 01:49 PM

I've done all 3 of your fixes, but with the same results. The admin panel is also giving dbase errors left and right.

for View all links:

PHP Code:

Invalid query id  specified
mysql error


mysql error number

For edit link in admin panel:

PHP Code:

Invalid SQL
SELECT 
FROM gportal_weblinkscat 
WHERE webcatid 
'2' 
ORDER BY linkid 

mysql error
Unknown column 'linkid' in 'order clause' 

mysql error number1054 

and for add new link, after selecting the category:

PHP Code:

Invalid SQL
SELECT 
FROM gportal_weblinkscat 
WHERE webcatid 
'2' 
ORDER BY linkid 

mysql error
Unknown column 'linkid' in 'order clause' 

mysql error number1054 

If i'm the only one dealing with this, I can redo the hack, but if its something in the hack, I'll help to try hunting it down. So just let me know. Is anyone else getting strange behavior after the update?

Dark_Wizard 07-21-2003 02:25 PM

Quote:

Today at 10:49 AM DiscussAnything said this in Post #610
I've done all 3 of your fixes, but with the same results. The admin panel is also giving dbase errors left and right.

for View all links:

PHP Code:

Invalid query id  specified
mysql error


mysql error number

For edit link in admin panel:

PHP Code:

Invalid SQL
SELECT 
FROM gportal_weblinkscat 
WHERE webcatid 
'2' 
ORDER BY linkid 

mysql error
Unknown column 'linkid' in 'order clause' 

mysql error number1054 

and for add new link, after selecting the category:

PHP Code:

Invalid SQL
SELECT 
FROM gportal_weblinkscat 
WHERE webcatid 
'2' 
ORDER BY linkid 

mysql error
Unknown column 'linkid' in 'order clause' 

mysql error number1054 

If i'm the only one dealing with this, I can redo the hack, but if its something in the hack, I'll help to try hunting it down. So just let me know. Is anyone else getting strange behavior after the update?


Reapply the hack as my fixes worked for others...

DrkFusion 07-21-2003 03:13 PM

Sorry...as I said before I do not have a place to test all these fixes do to server upgrades, I will look at it as soon as I find someone to give me ftp access and admin cp access.

DiscussAnything 07-21-2003 04:05 PM

Shame I'm not at home right now (travelling this week) otherwise I'll let you play around as much as you want on my local installation. I'm not too comfortable with testing things on a live database though..

If you give me pointers where to look I can look into it myself. Right now it all looks fine though, and yet it doesnt work, for me. I'll redo the hack from scratch though and apply DW's fixes. I'll let you know..

Thanks

jacobi 07-21-2003 04:11 PM

I noticed, that for some odd reason (I'm only a novice at PHP), when you copy and paste the PHP code off these posts, it doesn't quite transfer correctly. So, the workaround I figured out is to click "quote," whereby it will take the code and quote it for a new reply post, and then copy that text (minus the bbCode, of course). Does that make sense?

cindyd 07-21-2003 05:46 PM

How odd AJ, I haven't had that problem. I C&P into my HTML editor and it is fine.

DiscussAnything 07-21-2003 05:49 PM

just a note, i just redid the hack + update + fixes from scratch and I still have the same problems.... weird

TheJANG 07-21-2003 05:56 PM

Quote:

Today at 06:41 AM DiscussAnything said this in Post #608
after the update the link and description are not inserted into the database, when I add a new link. Everything looks alright though, and I didnt change any of the code/templates :confused:

I'm experiencing this same problem. I started with the build attached to the original post, then applied the 250 upgrade and did the Dark_Wizard edits (at least one of which was already in the latest 250 build). I'm running vB 2.2.8.

Adding links from the admin_cp works fine. Adding from links.php does not pass in the URL or description.

Also, not that this is anything big, but the misspelling "catagory" is used many places in the admin pages.

Dark_Wizard 07-21-2003 06:35 PM

I'm going to rewrite the admin piece for Keptic....give me a little time to complete it.

cindyd 07-21-2003 06:37 PM

Quote:

[i]Adding from links.php does not pass in the URL or description.
The links you added aren't waiting for validation by any chance?

Dark_Wizard 07-21-2003 06:42 PM

Quote:

Today at 02:56 PM TheJANG said this in Post #617
Adding links from the admin_cp works fine. Adding from links.php does not pass in the URL or description.

in links.php

find:
PHP Code:

$DB_site->query("
    INSERT INTO gportal_weblinkslink
    (catagoryid, linkname, linkurl, linkdesc, valid)
    VALUES 
    ('
$catid', '".addslashes(htmlspecialchars($linkname))."', '".addslashes($linkurl)."', '".addslashes(htmlspecialchars($$linkdesc))."', $vd)
"
); 

change to this:
PHP Code:

$DB_site->query("
    INSERT INTO gportal_weblinkslink
    (catagoryid, linkname, linkurl, linkdesc, valid)
    VALUES 
    ('
$catid', '".addslashes(htmlspecialchars($linkname))."', '".addslashes($linkurl)."', '".addslashes(htmlspecialchars($linkdesc))."', '$vd')
"
); 

There was an extra $ in $linkdesc

TheJANG 07-21-2003 06:48 PM

Quote:

Today at 12:37 PM cindyd said this in Post #619
The links you added aren't waiting for validation by any chance?
Yes, they are awaiting validation. The link submissions go through and enter the validation queue, but the URL & description are gone by then. Also, when I turn off validation, the link gets added to the category, but again, the URL & desc. are missing.


Edit: Spoke to soon, let me go try those fixes right now!

Edit 2: Applied the new fix. Now the description comes through, but the URL still doesn't :confused:

DiscussAnything 07-21-2003 07:03 PM

I went back to the v2 b250 before upgrade, and everything works fine. I'll just wait I guess

Do appreciate the work though, it's a very neat hack, extremely useful :)

TheJANG 07-21-2003 07:08 PM

Woohoo! I found the fix to the last problem.

In links.php, find this:

PHP Code:

if ($catid=="0" OR $catid=="" OR $linkname=="" OR $linkurl=""){
    
$errormessage 'You have missed one or more of the required fields. Please press you back button and fill them in. You are missing:<blockquote>';
    if (
$catid=="0" or $catid=="") { $errormessage.= '<b>? Category</b><br>'; }
    if (
$linkname=="") { $errormessage.= '<b>? Link Name</b><br>'; }
    if (
$linkurl="" or $linkurl="http://") { $errormessage.= '<b>? Link URL</b> - Make sure it is in proper format of <i>[url]http://url-to-domain.com[/url]</i>'; }
    
$errormessage .= '</blockquote>';
    eval(
"dooutput(\"".gettemplate('standarderror')."\");"); 

Replace with this:

PHP Code:

if ($catid=="0" OR $catid=="" OR $linkname=="" OR $linkurl==""){
    
$errormessage 'You have missed one or more of the required fields. Please press you back button and fill them in. You are missing:<blockquote>';
    if (
$catid=="0" or $catid=="") { $errormessage.= '<b>? Category</b><br>'; }
    if (
$linkname=="") { $errormessage.= '<b>? Link Name</b><br>'; }
    if (
$linkurl="" or $linkurl="http://") { $errormessage.= '<b>? Link URL</b> - Make sure it is in proper format of <i>[url]http://url-to-domain.com[/url]</i>'; }
    
$errormessage .= '</blockquote>';
    eval(
"dooutput(\"".gettemplate('standarderror')."\");"); 

In the if() condition, it had $linkurl="" and that had to be changed to $linkurl=="" with two equal signs.

It's working!

Great hack, and lots of work by a number of people it seems. Thanks to you all.

Gutspiller 07-22-2003 02:25 AM

I get the following messages at the top of my link directory whe I'm viewing any page within the link directory:

Notice: Undefined index: HTTP_POST_VARS in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 64

Notice: Undefined index: action in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 64

Notice: Undefined index: action in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 67

Any ideas on how to remove them or what's causing the problem? I have a slightly older version of VB, could that be causing it?

Can somebody please help me?

Alien 07-22-2003 03:26 AM

Before I upgrade to the new version, I'd like it all packed up with the latest fixes that are confirmed working whenever you get the chance. :)

DrkFusion 07-22-2003 03:38 AM

Yes we will, we will not make it final til it is :)

daFish 07-22-2003 07:33 AM

After installing the upgrade from keptic, i got this problem.
A gray box.
I think is a template problem.

-Fish

DiscussAnything 07-22-2003 11:02 AM

Fish, read post 620 and 623, they fix your grey box problem.

Dark_Wizard 07-22-2003 01:34 PM

I've created an install/upgrade script for those of you who are lazy... j/k. This will do a new install, upgrade from version 2.0 or do a complete uninstall of vblinks...

Let me know if you have any issues.

Update (July 28th): Fixed sql error in weblinksadmin.php.

Xyphen 07-22-2003 02:43 PM

nice work Dark_Wizard, keep up the good work!

DrkFusion 07-22-2003 06:55 PM

Quote:

Today at 10:34 AM Dark_Wizard said this in Post #629
I've created an install/upgrade script for those of you who are lazy... j/k. This will do a new install, upgrade from version 2.0 or do a complete uninstall of vblinks...

Let me know if you have any issues.

Thanks man! Really appreciate it!

Gutspiller 07-22-2003 08:04 PM

Quote:

Yesterday at 09:25 PM Gutspiller said this in Post #624
I get the following messages at the top of my link directory whe I'm viewing any page within the link directory:

Notice: Undefined index: HTTP_POST_VARS in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 64

Notice: Undefined index: action in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 64

Notice: Undefined index: action in /home/virtual/site1/fst/var/www/html/forumz/global.php on line 67

Any ideas on how to remove them or what's causing the problem? I have a slightly older version of VB, could that be causing it?

Can somebody please help me?

^^^^
bump / help

DrkFusion 07-22-2003 08:25 PM

Maybe due to the old version could be the problem, it depends really what versionis it?

Gutspiller 07-22-2003 08:45 PM

Quote:

Today at 03:25 PM Keptic said this in Post #633
Maybe due to the old version could be the problem, it depends really what versionis it?


2.0.x :ermm:

DrkFusion 07-22-2003 09:02 PM

Woa...I do not have a copy of 2.0.xx so I really cannot review the code, else I would try to fix this for you.

Dark_Wizard 07-22-2003 09:41 PM

Quote:

Today at 05:45 PM Gutspiller said this in Post #634
2.0.x :ermm:


Are you serious? You shouldn't be installing any hacks on that board as there will be no support for that version....why aren't you up to date?

DrkFusion 07-22-2003 09:58 PM

Also visit Dark_Wizards site for a live preview of v3 :) Keep in mind its the old one build :)

Xelation 07-22-2003 10:01 PM

release version 3 now biatch :)

DrkFusion 07-22-2003 10:04 PM

I would if I could. We want to get v2 stable and out. We also ahve to recode the administration panel for v3. Its pretty awesome :)

Dark_Wizard 07-22-2003 10:47 PM

Quote:

Today at 06:58 PM Keptic said this in Post #637
Also visit Dark_Wizards site for a live preview of v3 :) Keep in mind its the old one build :)
Actually it was running on an old site which no longer exists...send me the updated 3.0 so I can help finish it...


All times are GMT. The time now is 04:45 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.02150 seconds
  • Memory Usage 1,866KB
  • 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
  • (10)bbcode_php_printable
  • (12)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