vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

FleaBag 03-18-2004 11:32 AM

Got this installed with ease - an excellent system. Thank you.

JohnXWA 03-21-2004 05:37 PM

Now VB3 is gold, is there a chance of AdminCP intergration?

Thanks!

AndrewD 03-22-2004 04:28 AM

Quote:

Originally Posted by JohnXWA
Now VB3 is gold, is there a chance of AdminCP intergration?

Thanks!

Guys, I keep answering this question! The instructions explain how to integrate with the AdminCp. It's a three line patch.

Is there a reason you want more?

sim 03-22-2004 09:10 PM

BUG: (don't think this specific bug has been reported in the thread - I did search !)

in local_links_install.php, line 217, the line:

ALTER TABLE local_linksltoc ADD INDEX ( linkid )

should read:

ALTER TABLE ".THIS_TABLE."linksltoc ADD INDEX ( linkid )

Most people won't come across this problem since they wouldn't change the table prefix in THIS_TABLE.

sim 03-23-2004 12:07 AM

BUG #2

$bbuserinfo is not defined in the routine get_linklistbit - which means that if you are not using forum permissions to determine who can do what, then the code to check whether the current user is allowed to edit their own post doesn't work.

The line which doesn't work is in the links_linkbit template (line 20):

<if condition="$links_permissions[can_edit_link] or $bbuserinfo[userid] == $linkuserid">

and the problem can be fixed simply by declaring $bbuserinfo as global in the get_linklistbit routine in local_links.php - ie. somewhere around line 385 add the following:

global $bbuserinfo;

Works now :D

AndrewD 03-23-2004 04:12 AM

Quote:

Originally Posted by sim
BUG #2

$bbuserinfo is not defined in the routine get_linklistbit - which means that if you are not using forum permissions to determine who can do what, then the code to check whether the current user is allowed to edit their own post doesn't work.

The line which doesn't work is in the links_linkbit template (line 20):

<if condition="$links_permissions[can_edit_link] or $bbuserinfo[userid] == $linkuserid">

and the problem can be fixed simply by declaring $bbuserinfo as global in the get_linklistbit routine in local_links.php - ie. somewhere around line 385 add the following:

global $bbuserinfo;

Works now :D

Thanks, Sim.

Your first bug was reported a couple of weeks ago and is fixed in my development version - I was waiting on confirmation on the fix to another bug before releasing. Your second report is new to me, so I'll include in release 1.01, probably this weekend.

martinh4 03-23-2004 02:01 PM

Quote:

Originally Posted by FleaBag
Got this installed with ease - an excellent system. Thank you.

I agree, very easy install. :)

Chrissicom 03-24-2004 08:59 AM

Quote:

Originally Posted by gmarik
This is what we needed. Several things:
- not integrated with the admin cp is no good - you need to integrate it, it's the most important part
- we could make the design together - and we could cooperate with other download zone vb2 hackers to unite the code and make it even better.

Is this available for vB 3 Gold ?

AndrewD 03-24-2004 09:01 AM

Quote:

Originally Posted by Chrissicom
Is this available for vB 3 Gold ?

This works fine with vb3 gold

Chrissicom 03-24-2004 09:02 AM

Quote:

Originally Posted by AndrewD
This works fine with vb3 gold

Yes I know the Links Database works but that is not what I need... I was asking about the File Database with all the data given there with screenshots in the 3rd or 4th post of this thread, that doesn't work with this hack apparently


All times are GMT. The time now is 06:47 AM.

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.02403 seconds
  • Memory Usage 1,743KB
  • 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
  • (6)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