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)

Imperial Fritz 05-07-2005 10:48 PM

You are doing an amazing job :D

(still I must do my job and report a forgotten non-phrased word - in linkbit new links are marked with "*New*" instead of something like "*$vbphrase[ll_new]*"

;)

Thanks for all your work so far :)

AndrewD 05-08-2005 03:42 AM

Quote:

Originally Posted by calorie

These are my notes on how to install AndrewD's LFDB in a directory outside the main forum directory. I cannot guarantee completeness, accuracy, or support, but I give these instructions to you should you wish to install AndrewD's LFDB outside of your forum directory. The main thing with doing this is that you really need to take care about paths and links. Chances are good that if you have a problem, then there is a path or link that needs to be changed to something else. This is a tedious process, be sure, but once done you can call http://www.your-domain.com/links/index.php and get a warm and fuzzy feeling.

Hey man, I appreciate all the help - especially the facility to add comments - but is there a long string of these changes to come? If so, we need to think about how these will be supported as and when the main code evolves.

AndrewD 05-08-2005 04:00 AM

Quote:

Originally Posted by Imperial Fritz
You are doing an amazing job :D

(still I must do my job and report a forgotten non-phrased word - in linkbit new links are marked with "*New*" instead of something like "*$vbphrase[ll_new]*"

;)

Thanks for all your work so far :)

Thanks for spotting this. Patched version uploaded - there's a one line change in the template file and an extra phrase.

AndrewD 05-08-2005 04:03 AM

Quote:

Originally Posted by skokarl
@AndrewD

excuse my bad english ...

I use your hack..and it is very fine ! Thank you for the hack.

Bur I only need the downloads ...not the links.

Can you in the future make a hack only for downloads ?
I doesn't know about a good download hack...so I use your hack for my downloads....

but many of the queries and menus and tables are not necessary ..

greetings from germany ..

Skokarl, do you want to change the wording of the menus or do you want to make bigger changes - maybe you could explain?

skokarl 05-08-2005 04:52 AM

I want a smaller programm ... ;)

a very small and simple file database ..., ( in the future )

there are a lot of things which i don't understand ...import, export, Scan site for new files, ...all the things for the LINKS feature ....

sorry for the wish ...like this ??
but I know you can do this .. ;)

may be in the future.

AndrewD 05-08-2005 05:07 AM

Quote:

Originally Posted by skokarl
I want a smaller programm ... ;)

a very small and simple file database ..., ( in the future )

there are a lot of things which i don't understand ...import, export, Scan site for new files, ...all the things for the LINKS feature ....

sorry for the wish ...like this ??
but I know you can do this .. ;)

may be in the future.

Indeed, maybe in the future, but I'm not sure why this change would make the database any smaller? There is (I think) only one feature that causes the database to grow - this is keeping track of who has accessed a link/download. You can turn that off on the admin page.

The points you mention though - import, export, scan - make life easier for the admin. Import and export provide a simple text file format for backing up and re-installing your links/downloads. Scan provides an easy way to pre-load your database with your downloads - you can upload a whole set into one of your website directories, then use the scan feature to read these all into the database at once.

CSS59 05-08-2005 05:09 AM

is there "Top Rated" from all the rated links option?

AndrewD 05-08-2005 05:29 AM

Quote:

Originally Posted by CSS59
is there "Top Rated" from all the rated links option?

Not at present - 'Show What's Hot' sorts by number of hits. Not hard to add, if this is an important feature.

calorie 05-08-2005 01:56 PM

Sorry, but I don't guarantee support for any of my mods. Perhaps this may make some people unhappy, but I have time constraints. There are other ideas that I have about the comments extension. Maybe I should start a thread in the Add-On forum, or maybe you are planning on integrating some of the things I posted? Anyway, you might want to make the following changes to your LFDB system. The first change prevents a search on "<h1>foobar</h1>" from interpreting the HTML, and the second change encodes the partial URL though it looks like it doesn't get used.

Code:

//===================================================================================================================
In the 'if ($_REQUEST['action'] == "show")' statement of local_links.php find:
//===================================================================================================================

        if ($sstring <> "") $message .= ' '.$vbphrase['ll_matching'].' '.$sstring;

//===================================================================================================================
And replace with:
//===================================================================================================================

        if ($sstring <> "") $message .= ' '.$vbphrase['ll_matching'].' '.htmlspecialchars($sstring,ENT_QUOTES);

//===================================================================================================================
In the 'if ($_REQUEST['action'] == "show")' statement of local_links.php find:
//===================================================================================================================

        if ($sstring <> "") $action = "&amp;search=$sstring";
        if ($sforum <> "") $action .= "&amp;forum=$sforum";

//===================================================================================================================
And replace with:
//===================================================================================================================

        if ($sstring <> "") $action = "&amp;search=".urlencode($sstring);
        if ($sforum <> "") $action .= "&amp;forum=".urlencode($sforum);

Quote:

Originally Posted by AndrewD
Hey man, I appreciate all the help - especially the facility to add comments - but is there a long string of these changes to come? If so, we need to think about how these will be supported as and when the main code evolves.


AndrewD 05-08-2005 05:00 PM

Quote:

Originally Posted by calorie
Sorry, but I don't guarantee support for any of my mods. Perhaps this may make some people unhappy, but I have time constraints.

.. as do we all ...

Actually, I'm quite happy to integrate some of these ideas into the main code - this is has been happening all along for this hack.


All times are GMT. The time now is 09:53 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.02346 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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