vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Links Directory 2.0 *NEW VERSION* (https://vborg.vbsupport.ru/showthread.php?t=44551)

DrkFusion 10-27-2002 12:39 AM

If a user doesn't select a catagory, this will bring an error, and prompt the user to press the back button, and select a catagory.

1. open the drkslinks_addnewlink template in your admin control panel, and replace everything with the attatched files.

2. Open links.php in the forum root, and find:
PHP Code:

// #################### Do Add New ####################
if ($HTTP_POST_VARS['action']=="doaddnew") { 

add under it:
PHP Code:

if ($catid == '0'){
    echo 
"You did not pick a catagory, please hit your browser back button, and choose a catagory from the drop down<br>";
}else{ 

3. still in links.php file, find:
PHP Code:

}

// #################### Search Links ####################
if ($action=="search") { 

and replace with:
PHP Code:

}
}

// #################### Search Links ####################
if ($action=="search") { 

That should do it, now test out by adding a new link, via the website, not the admin*

Enjoy, and good luck
-Arunan

David_McPherson 10-27-2002 05:34 AM

Arunan,

I've been following this hack and I'd just like to know.... Is it 100% or is it continuing to develop? I think this idea is fantastic and cannot wait to install. Are your install directions complete and up to date on the original post? If so, I'm installing. Can you also give us a quick down and dirty update on its status.. ?

Thanks GREAT work.. I wish I had the talent many of you Hackers have.. Great tools and resources you all put out. Thanks.!!

DrkFusion 10-27-2002 04:37 PM

Hi David,
Well, I have been working on v2, taking suggestions for new features, I will be releasing that soon, but a friend of mine (mist) has been suggesting some more great features to add, so I will be looking into that.

Version 2, is at the moment 99% done in my point of view, but for instance in Mist's point of view, its like 75% done, because of the lack of the other feature, I will possibly post new screenshots soon, I would suggest to you to wait for v2, but I will include upgrade instructions in the v2 release.

The instructions for the current release are full, but I believe there is a minor template mistake.

I am sorry if I didn't answer all your questions.
Thanks
-Arunan

Chris M 10-27-2002 04:42 PM

I cant wait:)

Satan

David_McPherson 10-27-2002 05:41 PM

Arunan,
Thats perfect... This is a great hack... :) And I'm sure it will only get better in V2.0. Thanks for what you do.

Legacy 10-28-2002 06:50 PM

DrkFusion

Thanks for the Catgory Fix.
Havent tried it yet but Will tonight but just wanted to thank you for taken the time to make a fix for it. I do appreciate what you have done.

Thank You again.

DrkFusion 10-28-2002 08:23 PM

Your welcome guys:) Don't think anything of it :)

-Arunan

FleaBag 10-28-2002 09:47 PM

Working well on 2.2.8, thanks. It might be a good idea to get all the fixes posted here in the original archive though.

DrkFusion 10-28-2002 10:24 PM

I believe I updated the original zip with the fixes, I will look into it.

JulianD 10-28-2002 11:17 PM

The demo sites looks great!

/me Installs!


All times are GMT. The time now is 12:25 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.01427 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_php_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