vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

tamborinegal 06-28-2007 06:26 AM

Quote:

Originally Posted by AndrewD (Post 1278211)
Clancy, I took another look at the code that does the thread creation. I can't see the reason why it should work for an admin but not for a registered user, provided the forum is ok.

I'm sorry Andrew, it was my fault that this was happening. :o I was using a link that I had manually put in my template ?action=addlink - without the category id at the end... this was allowing the link to be submitted but it didn't autocreate the thread - your code works perfectly. Again, sorry.

Clancy

PitchouneN64ngc 06-28-2007 11:05 AM

AndrewD, thanks for 2.2.8 alpha release, I'm going to check phrases added or modified for translate again in French ;)

Rouzbeh1 06-28-2007 09:22 PM

thanks for 2.2.8 Andrew
installed without any problems.
would it be possible to update to 2.2.8 official release from 2.2.8-alpha?

awesome job

AndrewD 06-29-2007 05:53 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1278741)
thanks for 2.2.8 Andrew
installed without any problems.
would it be possible to update to 2.2.8 official release from 2.2.8-alpha?

awesome job

That's good. There will be no problems in updating to 2.2.8 official - it will work the same way as any upgrade. Let me know of any problems you encounter.

I have, by the way, already found one bug in the alpha code, which messes up attempts to change certain settings on the LDM/admin/settings page. If you hit an php error concerning a call to ldm_can_accesdir, just redownload the zip file and upload the new includes/local_links_misc.php in it.

Slave 06-29-2007 03:13 PM

Quote:

Originally Posted by AndrewD (Post 1277532)
Re-uploaded 29/7/07 - fixed bug on admin/settings page

I think it's time to post the first alpha release of LDM 2.2.8. All the usual warnings apply - this is alpha, back everything up, don't use it on a live board, particularly if you want to provide gigabytes of downloads every day. However, I've been using it/developing it for some time and nothing has gone too badly wrong.

These are the main changes - there may be others which I've forgotten to list:

Lots of wonderful stuff :)

I welcome early remarks! - am taking a week's vacation next week, so please be patient for my reply.

Play play play!

I'll install 2.2.8 alpha and let you know if I find any bugs Andrew :)

Rouzbeh1 06-29-2007 07:45 PM

i have found a problem with one of extras. when i install Tag Cloud, table structure of admin settings gets messed....
and after i uninstalled it, it didn't remove it from admin settings....

mirror sites works PERFECT

about setting manual file size (to be able to manually add file size, if force_redirect is set to 1), will it be too much work to implement it into LDM? or make it available as an extra?

thanks for everything

PlymWS 06-29-2007 10:53 PM

Excellent product !

The only thing I can't see how you do is upload more than one image to a new thread.

I have only just installed the product so forgive me if I'm missing the obvious.:)

Alfa1 06-30-2007 01:39 AM

I have these forum tabs on my site. I apply conditionals to them, so that the tab that corresponds to the section of the site you are on gets highlighted.
To do this for LDM, I need to define what the cat id variables of LDM are.

I tried this, but this didn't work:
PHP Code:

<if condition="in_array($foruminfo[catid], array(126,39, 43))"><li id="active"><a href="http://www.mysite.com/forum/local_links.php?catid=126" id="active">Videos</a></li><else /><li><a href="http://www.mysite.com/forum/local_links.php?catid=126">Video</a></li></if> 

Andrew, could you please inform me of the cat id variables?

Eccentricity 06-30-2007 07:56 PM

Will 2.2.8 fix my fast forwarding issues?

Eccentricity 06-30-2007 09:28 PM

OK I upgraded and now I have an issue I didn't have before:

This shows up when I enter the admin area:

Possible inconsistencies between LDM and its environment
- Parameter upload_dir points to a non-existent or inaccessible directory /attachments (maybe check open_basedir?)
- Parameter file_icons_dir points to a non-existent or inaccessible directory images/ldm_icons/ (maybe check open_basedir?)
- Parameter thumbs_dir points to a non-existent or inaccessible directory /images/thumbs (maybe check open_basedir?)

When I try to save my settings changes I get this:

The following setting(s) are invalid
upload_dir : /attachments
Unable to find/create subdirectories in /attachments (trying /var/www/vhosts/my-domain.com/httpdocs/attachments) - check permissions

I went to php.ini and set open_basedir to: /var/www/vhosts/my-domain.com/httpdocs/

I did the same in httpd.conf:

<Directory /var/www/vhosts/my-domain.com/httpdocs/>
php_admin_value open_basedir /var/www/vhosts/my-domain.com/httpdocs/
</Directory>

I then restarted apache and after all this...it still gives me this error message when trying to save my settings.

Oddly enough, it still allows me to upload files and images and creates the thumbnails exactly as before. The front end seems to be working fine. I just can't alter and save my settings because of the error.

On a side note, the lack of fast forwarding in Windows Media persists.

neopet001 07-02-2007 12:01 AM

Although I 've read the topic carefully, I still don't know how to use the Media Player!

I just saw the blank box to enter the media url , can't see anywhere a function to turn media player on (I've already turned can_play_media on for all users). And when view the links&download section, I clicked on the items' titles and it just download, no media player appear! (my computer can view most of online films easily)

Thanks for your support!

Eccentricity 07-02-2007 02:33 AM

Have you also configured it under media players? Make sure the "enabled" box is checked at the top right of each player you want to use. I can't remember if these are checked by default.

CamJM 07-02-2007 05:40 AM

Hi Andrew, was wondering if it's possible to set up links categories as rss feeds?

Gwendolin 07-02-2007 07:57 AM

Quote:

Originally Posted by AndrewD (Post 1277450)
If this is the case, edit includes/local_links_init.php and change
Code:

define('ADMIN_USER_GROUP', 6); // Assume usergroup 6 is admin - apparently safe?

And how can I change it, if I want 2 usergroups give access to administer LDM?

obmob 07-02-2007 03:35 PM

Hmm... i'm testing vbadvanced 3.0... have you been able to install the modules on this? .

So far no luck x.x

Rouzbeh1 07-02-2007 11:11 PM

i have installed ldm_new_thumb without any problems ;)

TheHeartSmasher 07-03-2007 01:58 AM

AndrewD Best Mod Support of the Year Award

EDIT

This is really good work AndrewD

TheHeartSmasher 07-03-2007 02:52 AM

I am trying to use the mirror function of 2.8.8
Let's say I don't host any files on http://www.website.com
But all files are hosted at these external mirros instead:
east1.website.com
central1.website.com
west1.website.com

I would like to give the users a choice of which one to download from.

how would I properly set this up as I put the location of the file as east1.website.com/file

Would I put http://website.com/file instead?

Rouzbeh1 07-03-2007 12:55 PM

Quote:

Originally Posted by TheHeartSmasher (Post 1281676)
I am trying to use the mirror function of 2.8.8
Let's say I don't host any files on http://www.website.com
But all files are hosted at these external mirros instead:
east1.website.com
central1.website.com
west1.website.com

I would like to give the users a choice of which one to download from.

how would I properly set this up as I put the location of the file as east1.website.com/file

Would I put http://website.com/file instead?

any entry gets a primary link as always.
to use mirror sites feature you MUST have the same directory structure on your other servers.
example:
main server base url: http://server1.com/some_folder/your/directory/structure/file.name
the part "your/directory/structure/file.name" should always remain. the only thing which changes, is: http://server1.com/some_folder/
you can rewrite it with http://server2.com/some_other_folder/your/directory/structure/file.name
to have the primary link in the list, you should rewrite it with itself....
i hope it would help you ;)

obmob 07-03-2007 03:56 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1281578)
i have installed ldm_new_thumb without any problems ;)

With vbA 3.0? :eek:

Any instructions to make it work? :D
Thanks!

Rouzbeh1 07-03-2007 05:45 PM

i use vba 3.0 RC1
i have simply imported the module and it began to work...

maybe it will help to delete the older one before you import the new module

add: if it still doesn't work, delete the templates added by the older module and import will add them again ;)

obmob 07-03-2007 10:03 PM

Hmm... i've done that... it's strange, all my styles send me a blank page trying to show a vbulleting message, but nothing else is displayed.

Doesn't matter if the style has or nor the new templates. :(

Edit: added the error page i got. it's still ldm 2.2.7

Rouzbeh1 07-04-2007 12:46 AM

and did you also delete the .php file in modules directory? i mean php file related to the old module. i can now remember that i have had something like this as i tried to update, because the php file didn't get overwritten ....

TheHeartSmasher 07-04-2007 01:22 PM

Can you paste a screenshot of you mirror setup?

Rouzbeh1 07-04-2007 04:17 PM

i have replaced my domain name.
the first line replaces the URL you have entered as you have added the entry.
second line: to avoid forwarding traffic ONLY to neptune, i have replaced Pluto's URL with itself

this way you can have separate mirrors for different file types like music, movies, etc...

https://vborg.vbsupport.ru/external/2007/07/45.jpg

obmob 07-04-2007 08:24 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1282319)
and did you also delete the .php file in modules directory? i mean php file related to the old module. i can now remember that i have had something like this as i tried to update, because the php file didn't get overwritten ....

Yeah, i did, it, i even tried a fresh install on my test server... no luck so far. :mad:

Eccentricity 07-04-2007 09:34 PM

I guess I'm going to have to try to go back down to 2.2.7. Not being able to change my settings because of this error is annoying.

tamborinegal 07-05-2007 07:11 AM

Hi again Andrew,

I was just wondering if there is a way to have the members avatars appear in the comments or is it only available for the linkbit?

Thanks

Clancy

jluerken 07-05-2007 11:11 AM

I have an area where uploads are moderated. Now I checked the new uploads and marked one for deletion. I used the drop down field to select DELETE and got this:

Fatal error: Call to undefined function: delete_ldm_entry() in /path/local_links_actions.php on line 584

btw. Andrew, you should request a Premium Modification Board here. This thread is much to long to read it or to find anything.

digitalJE5U5 07-05-2007 03:33 PM

Great mod but a quick question? How do I "moderate" posts/links/uploads etc? For instance, someone added a link to the inappropriate folder. How can I move it to another folder?

When I click on the "moderate" button, I get

[There are no entries to moderate.]

Also, where (besides database) would I go to delete a file?

Thanks and great product! [installed]

Rouzbeh1 07-05-2007 05:41 PM

Quote:

Originally Posted by obmob (Post 1282918)
Yeah, i did, it, i even tried a fresh install on my test server... no luck so far. :mad:

then i think you should wait until Andrew is back. ;)

Rouzbeh1 07-05-2007 05:45 PM

Quote:

Originally Posted by digitalJE5U5 (Post 1283556)
Great mod but a quick question? How do I "moderate" posts/links/uploads etc? For instance, someone added a link to the inappropriate folder. How can I move it to another folder?

When I click on the "moderate" button, I get

[There are no entries to moderate.]

Also, where (besides database) would I go to delete a file?

Thanks and great product! [installed]

right near each entry, there is a link to edit it. just change it's category....
to delete it, go to edit entry again and make a checkmark near delete, then submit

obmob 07-05-2007 07:51 PM

Quote:

Originally Posted by Eccentricity (Post 1282967)
I guess I'm going to have to try to go back down to 2.2.7. Not being able to change my settings because of this error is annoying.

2.2.8 is alpha... so, there might be a lot of buggies around! :eek:

Quote:

Originally Posted by Rouzbeh1 (Post 1283669)
then i think you should wait until Andrew is back. ;)

:( I know... thanks Rouzbeh1.

Eccentricity 07-05-2007 08:45 PM

I haven't downgraded yet because 1.) I'm not sure how it will affect the database and 2.) The front end still works ok. I'm hoping Andrew will show up soon with a fix.

TheHeartSmasher 07-06-2007 01:46 PM

Thank You Rouzbeh1 I will have to try this out
What do the download links look like when there are multiple mirrors available?

TheHeartSmasher 07-06-2007 05:55 PM

Just tested everything out after having a dns change for one of the mirrors and everything works great. Thank you for helping me get it setup correctly.

Rouzbeh1 07-06-2007 10:43 PM

you're welcome :)

obmob 07-08-2007 03:31 AM

Don't rush installing 2.2.8... and don't forget to make a good back-up of your database. :D

AndrewD 07-08-2007 07:41 AM

Quote:

Originally Posted by Eccentricity (Post 1280160)
OK I upgraded and now I have an issue I didn't have before:

This shows up when I enter the admin area:

Possible inconsistencies between LDM and its environment
- Parameter upload_dir points to a non-existent or inaccessible directory /attachments (maybe check open_basedir?)
- Parameter file_icons_dir points to a non-existent or inaccessible directory images/ldm_icons/ (maybe check open_basedir?)
- Parameter thumbs_dir points to a non-existent or inaccessible directory /images/thumbs (maybe check open_basedir?)

When I try to save my settings changes I get this:

The following setting(s) are invalid
upload_dir : /attachments
Unable to find/create subdirectories in /attachments (trying /var/www/vhosts/my-domain.com/httpdocs/attachments) - check permissions

I went to php.ini and set open_basedir to: /var/www/vhosts/my-domain.com/httpdocs/

I did the same in httpd.conf:

<Directory /var/www/vhosts/my-domain.com/httpdocs/>
php_admin_value open_basedir /var/www/vhosts/my-domain.com/httpdocs/
</Directory>

I then restarted apache and after all this...it still gives me this error message when trying to save my settings.

Oddly enough, it still allows me to upload files and images and creates the thumbnails exactly as before. The front end seems to be working fine. I just can't alter and save my settings because of the error.

On a side note, the lack of fast forwarding in Windows Media persists.

Back from holiday....

Sorry about this - there had been a spate of reports from people who were receiving 'difficult' error messages, which were related to their setting of open_basedir, so I tried to improve the error checking. Obviously I got something wrong.

As you are the only person who has reported this, there must be something in your site configuration that I'm failing to check properly. I think the only way to sort it out is to take a look at your site - for which I will need full admin access to your board. Can you send me a PM with details?

Concerning the windows media player track bar, I had not made any changes in 2.2.8 alpha. I know what is causing the problem, but haven't been able to fix it yet. WMP is (to me at least) a bit of a black hole.

AndrewD 07-08-2007 07:44 AM

Quote:

Originally Posted by neopet001 (Post 1280910)
Although I 've read the topic carefully, I still don't know how to use the Media Player!

I just saw the blank box to enter the media url , can't see anywhere a function to turn media player on (I've already turned can_play_media on for all users). And when view the links&download section, I clicked on the items' titles and it just download, no media player appear! (my computer can view most of online films easily)

Thanks for your support!

Just a simple question - have you added mimetype information for media files to your VBulletin admincp/attachments table? If not, LDM will not recognise media files as being 'playable'.

You can either do this manually, or there is an 'extra' (add_mimetypes) in the LDM extras subdirectory. See the online manual http://www.eirma.org/wikis/index.php...al#The_Jukebox and http://www.eirma.org/wikis/index.php...s_in_vBulletin


All times are GMT. The time now is 03:41 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.03652 seconds
  • Memory Usage 1,848KB
  • 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
  • (1)bbcode_php_printable
  • (13)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