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)

AndrewD 12-24-2004 04:30 AM

Quote:

Originally Posted by GiJoe
I'm having a VERY strange problem. No errors during install nor upgrade.

We had to change servers. Now that we have changed downloads (we use it for download links) will start but about half way through will just stop/pause. If we download directly from the server it works fine. It is only when downloading through Links 1.41 that this occurs.

PHP v 4.3.10
vBulletin 3.0.3

I looked through this thread alittle but with it being 50+ pages long it would take me days to look at all of them.

Your symptoms look like exceeding the cpu time for a php script.

Have a look at the CPU and memory limits set for php scripts in php.ini. Also consider if you really need the facility of this script to "hide" the location of downloads. There's a setting on the admin page which forces the script to use browser redirects rather than server based read/writes. It will significantly reduce cpu overhead, but at the cost of making the location of your downloads visible at the time the redirect is executed.

CSS59 12-24-2004 04:51 AM

who has a live demo of the new version?

Sadie Frost 12-24-2004 05:28 AM

Quote:

Originally Posted by JonelZ
who has a live demo of the new version?

I do: http://www.buffy-boards.com/local_links.php?

GiJoe 12-24-2004 01:37 PM

Quote:

Originally Posted by AndrewD
Your symptoms look like exceeding the cpu time for a php script.

Have a look at the CPU and memory limits set for php scripts in php.ini. Also consider if you really need the facility of this script to "hide" the location of downloads. There's a setting on the admin page which forces the script to use browser redirects rather than server based read/writes. It will significantly reduce cpu overhead, but at the cost of making the location of your downloads visible at the time the redirect is executed.


That seems to have been it... Thank you! :D Merry Christmas everyone!

AndrewD 12-27-2004 07:29 AM

Version 1.45 is now the supported release, see first post in thread.

NB: slight changes in installation procedure (a couple of new files added).

aussiev8 12-27-2004 09:58 AM

good work andrew! i respect the speed you got the newer more secure version out by.
i think everyone should update due to security issues in earlier versions.

Spinball 12-27-2004 11:50 AM

Awesome, Andrew, thanks very much for your efforts.
I think I have found a bug, however.
Click on the 'What's Hot' and What's New' drop-down links and the [-Fav] option appears against all the links instead of [+Fav].

norvo 12-27-2004 11:54 AM

Cheers! Great work!

N.

AndrewD 12-27-2004 02:10 PM

Quote:

Originally Posted by Spinball
Awesome, Andrew, thanks very much for your efforts.
I think I have found a bug, however.
Click on the 'What's Hot' and What's New' drop-down links and the [-Fav] option appears against all the links instead of [+Fav].

You're right of course - and what's more I'd already spotted it but forgotten...

Please can you unzip and upload the attached file and then re-run step 2 of the installation process (templates). When you confirm, then I'll update the zip file.

I'm not happy with the page sequence as one moves between what's hot/mark favourite/back to base category, but the full fix requires more work and will have to be in the next release.

Spinball 12-27-2004 08:49 PM

Hi Andrew,
I did as instructed and it now displays [+Fav] against them all. Even against those already in your favourites list.
A minor point, I guess, but as a programmer, something I would notice :)
It's a great hack.

achtungbaby 01-01-2005 05:46 PM

Great friggen hack! I just installed it two days ago and have been keeping it busy, using it as a resource list for tsunami relief & aid organizations.

http://forums.yellowworld.org/local_links.php

Thanks a bunch.

Russ_T 01-03-2005 07:54 AM

The mod works fine for me and I changed the version in the vbLinks 2 importer and that worked a treat as well :)

One question, I have a moderator who used to look after links but to have full control of the links pages it appears he needs to be an administrator (i.e. add new categories etc).

Is this true or have I configured it wrongly? I have set moderators to have all permissions. In fact I can't even see how to add a new category so I probably haven't finished the install, doh!

AndrewD 01-03-2005 07:59 AM

Quote:

Originally Posted by Russ_T
The mod works fine for me and I changed the version in the vbLinks 2 importer and that worked a treat as well :)

One question, I have a moderator who used to look after links but to have full control of the links pages it appears he needs to be an administrator (i.e. add new categories etc).

Is this true or have I configured it wrongly? I have set moderators to have all permissions. In fact I can't even see how to add a new category so I probably haven't finished the install, doh!

As you see on the admin page, there are a large number of permissions settings (add category, add link, delete link, etc). These are all based on VBulletin usergroups, so you must indicate which groups can cary out which actions. The only "fixed point" is that only members of the VB admin group can get at the admin page.

"Add category" is part of the drop down menu under "Categories" on the hack's toolbar. It is only visible to user groups that have permission to add categories, so if you can't see it, you've probably not given yourself permission!

Let me know if you still have difficulties, and I'll take a look.

Russ_T 01-03-2005 11:34 AM

Hi,

Yes you're absolutely right and it's all fine. Theres no reason I suppose for my moderators to see the admin page so thats fine as well.

Thanks for your help!

Curzon564 01-03-2005 08:50 PM

Great Hack. Everything works fine so far.

However, I'd like to add IRC Links.
They have the following format:
irc://irc.eu.gamesurge.net/channel

I already altered the local_links_include.php and added the Protocol:
Code:

// Protocols supported
$schemes = array( "http", "https", "ftp", "irc" );

Adding IRC Links works so far, but if I click on such a link a page with this url is opening:
http://www.empty123.inet01.de/local_...tion=jump&id=9

As result of this mIRC doesn't recognise the link.
Is there a possibility to open the Link directly so that it isn't hidden behind the php? link?

Changing the force redirect setting has no effects.

I'm grateful for every kind of assistance.

AndrewD 01-04-2005 04:00 AM

Quote:

Originally Posted by Curzon564
Great Hack. Everything works fine so far.

However, I'd like to add IRC Links.
They have the following format:
irc://irc.eu.gamesurge.net/channel

I already altered the local_links_include.php and added the Protocol:
Code:

// Protocols supported
$schemes = array( "http", "https", "ftp", "irc" );

Adding IRC Links works so far, but if I click on such a link a page with this url is opening:
http://www.empty123.inet01.de/local_...tion=jump&id=9

As result of this mIRC doesn't recognise the link.
Is there a possibility to open the Link directly so that it isn't hidden behind the php? link?

Changing the force redirect setting has no effects.

I'm grateful for every kind of assistance.

OK, I'm not familiar with the IRC protocol - the problem is perhaps that php's fopen() routine does not work with it, so a more direct approach will be needed. Give me a few days - there's a tidy up release in preparation and I'll try to fit this in.

AndrewD 01-08-2005 04:26 PM

Withdrawn, see beta 1.51 in later post

eva01_ 01-08-2005 05:18 PM

*will upgrade when gets home from work*

joeychgo 01-10-2005 05:36 PM

You are great andrew - thanks!

Dontom 01-11-2005 11:00 AM

Hi Andrew,
i upgraded an old (vb3) installation of links - now if someone (regular user or admin) tries to add a new link nothing happens (new page loads but link is not added) -same (nothing) happens whe trying to edit links as an admin (change entry, save it, page reloads and old entry is there again)
Moderation is set to no. I used the last zip provided by you - any idea? PHP is 4.3.10
thx
Thomas

AndrewD 01-11-2005 11:05 AM

Quote:

Originally Posted by Dontom
Hi Andrew,
i upgraded an old (vb3) installation of links - now if someone (regular user or admin) tries to add a new link nothing happens (link is not added)
Moderation is set to no. I used the last zip provided by you - any idea?

Not without more information, sorry!

Adding links works fine for me on my live and test board, both of which were upgraded to the code you say you've used. a) are you sure that you've uploaded all the five files; b) that you've run all stages of the upgrade script. I'm happy to have a look at your site, except that I see that it's in German!

Dontom 01-11-2005 11:09 AM

thank you for your quick response :) I just edited my post above to include some more information.
the installation is here: http://www.rennrad-news.de/forum/loc...p?action=links

yes, all files were uploaded and the install script went through without any errors.
Merci beaucoup :)
If you want to try use test/test to login
Thomas

AndrewD 01-11-2005 11:31 AM

Quote:

Originally Posted by Dontom
thank you for your quick response :) I just edited my post above to include some more information.
the installation is here: http://www.rennrad-news.de/forum/loc...p?action=links

yes, all files were uploaded and the install script went through without any errors.
Merci beaucoup :)
If you want to try use test/test to login
Thomas

I took a look and see what you mean. Even if there is an error, there should be an intervening screen between trying to create the link and getting back to the category display. You've translated everything into German but as far as I can see from the page source, the form submission is still correct. Can you email me your uploaded version of local_links.php, just so that I can do a comparison with my master version ad_rodin (at) noos.fr?

AndrewD 01-11-2005 04:13 PM

Quote:

Originally Posted by AndrewD
I took a look and see what you mean. Even if there is an error, there should be an intervening screen between trying to create the link and getting back to the category display. You've translated everything into German but as far as I can see from the page source, the form submission is still correct. Can you email me your uploaded version of local_links.php, just so that I can do a comparison with my master version ad_rodin (at) noos.fr?

Fix sent by email - bug was a result of the translation. Apologies.

Slave 01-12-2005 06:17 AM

Just installed 1.45a and then noticed 1.50Beta .. so I upgraded :)

Here's a few comments ..

Code:

instructions.txt:
still mentions 1.45 (3.1.b)
irc needs to be added to list of files (3.1.f)

On the link listings you seem to have changed [edit] to [E] .. can you change it back as I much prefer the look of [edit] .. if not, let me know how I can do it and I'll sort it just for my version.

Any chance you can make it a </ br> between the name of the link/file and its size instead of a space? Just makes it look neater IMO.

On the show menu you click "Available Links" but get to a page called "Accessible Links"? Shouldn't it be the same name?

Also .. on the Accessible Links page, when a link is linked to more than one cat it shows all of the cat links. This isn't a problem when it is just 2 cat's but if it is linked with 3 or more cats the links to these cats get repeated. (hmm hard to explain that one, I'll point you towards mine if you like so you can see what I mean) - Edit - This also happens on the Also .. on the Accessible Links page, when a link is linked to more than one cat it shows all of the cat links. This isn't a problem when it is just 2 cat's but if it is linked with 3 or more cats the links to these cats get repeated. (Edit - This also happens on the My Favourites page too) (hmm hard to explain that one, I'll point you towards mine if you like so you can see what I mean)

Ok .. that's it I think ..

Very very cool Hack .. thank you for sharing :)

Slave 01-12-2005 06:44 AM

A couple of suggestions/additions come to mind .. (Only if you find the time)

The ability for users to report a link which would send a PM to the admin .. with permissions so admin can decide what user groups can report.

In the Show drop down a "Random Link" option.

In the Description of a Category have a "Sub Categories:" list .. similar to how the forums show "Sub Forums:" on the forums front page. With an on/off switch in the admin area.

:)

Curzon564 01-12-2005 04:05 PM

Just upgraded from 1.45 to 1.50.

I started the upgrade script and it seemed to work.

After upgrading there was an error message:
Quote:

Critical error: software version 1.50, database version 1.45
Cannot continue - ask administrator to install correct verson
So i went to the DB and changed the version manually to 1.50. Now it seems to work so far. Perhaps a small error in the installation script?

Anyway, the new IRC Feature... it works perfectly!
Just as I hoped.

Thanks for your work.

Slave 01-12-2005 04:21 PM

hmm .. I didn't get that when I updated ..

Were you using 1.45 or 1.45a? I was using 1.45a .. Perhaps it's something to do with 1.45?

Curzon564 01-12-2005 04:35 PM

According to my database it was 1.45.

Even started the install script 2 times. No effect.

AndrewD 01-12-2005 05:05 PM

Quote:

Originally Posted by Curzon564
According to my database it was 1.45.

Even started the install script 2 times. No effect.

There were no significant changes to the install script between 1.45 to 1.50, so I suspect that you either didn't upload the new install script or missed one of the steps of the script. Step 1 checks the database tables and record the new version number; step 2 upgrades the templates. AS you say, simply resetting the version number on the admin page works (for this upgrade at least) because there were no database changes.

Have a look on the admin page - if the text describing the force_redirect setting reads "1: redirect regardless of filetype (quicker/less bandwidth but file location visible and no header control).');" then you didn't run the latest script. It should read "1: use browser redirect regardless of filetype (quicker/less bandwidth but file location visible and no header control); 2: standard html hyperlink (file location visible, no checking, no hit counting).');"

OK?

AndrewD 01-12-2005 05:09 PM

Quote:

Originally Posted by Slave
A couple of suggestions/additions come to mind .. (Only if you find the time)

The ability for users to report a link which would send a PM to the admin .. with permissions so admin can decide what user groups can report.

In the Show drop down a "Random Link" option.

In the Description of a Category have a "Sub Categories:" list .. similar to how the forums show "Sub Forums:" on the forums front page. With an on/off switch in the admin area.

:)

Thanks - will note these and your comments in the last post. Either for the final 1.50 or the next release. Definitely agree with the subcategory point - had dealt with this by a pop-over box on the category name on the menu list, but not fully satisfactory - will think further

Slave 01-12-2005 05:47 PM

Quote:

Originally Posted by AndrewD
Thanks - will note these and your comments in the last post. Either for the final 1.50 or the next release. Definitely agree with the subcategory point - had dealt with this by a pop-over box on the category name on the menu list, but not fully satisfactory - will think further

Lovely .. cheers .. :)

Curzon564 01-12-2005 07:45 PM

Quote:

Originally Posted by AndrewD
There were no significant changes to the install script between 1.45 to 1.50, so I suspect that you either didn't upload the new install script or missed one of the steps of the script. Step 1 checks the database tables and record the new version number; step 2 upgrades the templates. AS you say, simply resetting the version number on the admin page works (for this upgrade at least) because there were no database changes.

Have a look on the admin page - if the text describing the force_redirect setting reads "1: redirect regardless of filetype (quicker/less bandwidth but file location visible and no header control).');" then you didn't run the latest script. It should read "1: use browser redirect regardless of filetype (quicker/less bandwidth but file location visible and no header control); 2: standard html hyperlink (file location visible, no checking, no hit counting).');"

OK?


It's the first one. So it seems that the install script didn't run correctly.

The install script is the newest one, I checked it at least 3 times.

Code:

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'local_links_install');
define('THAT_SCRIPT', '../local_links');
define('ADMIN_SCRIPT', '../local_links_admin');

define('THIS_VERSION', '1.50');

There is also the right Version but it seems as if nothing gets assumed. Don't know why.

aussiev8 01-13-2005 12:57 AM

i use this script for movie clip downloads, i was just wondering if we could find some way to get an addon made that has a points system attached? so the user has to post (and by posting earns points) and then gets to download the movies and stuff at a cost of 1 credit per movie (or admin defined) how hard would this be to make? i'm aware it'd be a great deal of hacking up one of the files, i have no idea where to start

aussiev8 01-13-2005 09:29 AM

or maybe an integration with ucash?

AndrewD 01-13-2005 09:38 AM

Quote:

Originally Posted by aussiev8
or maybe an integration with ucash?

Thinking about it...

AndrewD 01-15-2005 01:52 PM

Withdrawn - 1.51 is now the official release, see first post

ogetbilo 01-16-2005 02:10 AM

Andrew just a quick question. Both in 1.45 and 1.41 i cannot find the correct monitor dir :)
I tried http://download.ayyas.com - /home/xxxx/public_html/download - /public_html/download but none of them worked. Can you just give an example for that ?

AndrewD 01-16-2005 04:15 AM

Quote:

Originally Posted by ogetbilo
Andrew just a quick question. Both in 1.45 and 1.41 i cannot find the correct monitor dir :)
I tried http://download.ayyas.com - /home/xxxx/public_html/download - /public_html/download but none of them worked. Can you just give an example for that ?

The feature is not available in 1.41.

In 1.45 and beyond, *monitor_dir* depends on *local_file_root*.
With local_file_root=0, monitor_dir is relative to the website root, e.g. /members/docs/ should sweep docs. (With 1.50 and above, /members/docs/* will also sweep all subdirs. ) I've tried this on both my Windows test box and our main webserver which is a Sun box, running a rather old version of Solaris.

With local_file_root=1, the setting is relative to the file root, e.g. d:/websites/thissite/members/docs/ on Windows. Not sure about this setting on a unix m/c - that's not something I know l much about.

OK?

Slave 01-16-2005 07:20 AM

Just upgraded 1.50Beta to 1.51Beta .. No problems to report.

The things you've added are superb .. :) .. and the "Show Anything" is much better than a single random link feature ..

If I were to be picky ..

In the "Show Anything" page you get links showing more than once ..

When you turn on Sub-categories to show in the catbit .. shouldn't it be "Sub-categories:" and not just "Sub-categories" .. (I did say picky :))

Can you split up the normal settings and the "portal" setting .. I take it the portal settings are only if you have some extra portal hack? If not can you tell me what "categories_seen_on_portal" does as I've just spent 10 mins trying to see what it does without success .. heh :p


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