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)

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!


All times are GMT. The time now is 03:55 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.02863 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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