vb.org Archive

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

AndrewD 02-19-2008 09:29 AM

Quote:

Originally Posted by seangworld (Post 1446487)
i followed this part:



and am looking right at it, but i dont see how you can download/edit it.

php.ini is a file on your server. The vb admincp/php info usually tells you where to find it. However, if you don't have full access to your server, you will not be able to access and modify it.

As far as I know (e.g. http://www.webmasterworld.com/forum88/9393.htm), you can make these changes in an htaccess file.

seangworld 02-19-2008 09:34 AM

im the admin to my site, and i must be blind...grr.

AndrewD 02-19-2008 09:42 AM

Quote:

Originally Posted by seangworld (Post 1446505)
im the admin to my site, and i must be blind...grr.

does your php info look like this?

seangworld 02-19-2008 09:45 AM

Quote:

Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php5-fcgi/lib
Loaded Configuration File /usr/local/php5-fcgi/lib/php.ini
it looks like that.

AndrewD 02-21-2008 05:57 PM

I've uploaded the next alpha release of 2.2.9, good for both vb 3.6 and 3.7. Will appreciate tests/comments.

There's more work to do on this before we finalise it for vb 3.7 and I hope also you'll bear with me for a while before I get round to updating the wiki.

obmob 02-21-2008 08:29 PM

Sometimes you can drop a new php.ini file inside a particular folder, then this one will overrule the one in the server... at least that's what another webhost did for me one time, i did the same with my current webhost and i have had no problems at all :p

Thanks Andrew, will start testing on vb 3.7 beta5 x.x

NeuroLancer 02-21-2008 10:13 PM

This is great ive been keeping an eye on it waiting for the next release, will let you know how it goes with my beta 5 installation.

Ipuck 02-22-2008 06:30 PM

Thanks Andrew you are the best!!!

I'll test the new release this weekend.

seangworld 02-23-2008 09:49 AM

Quote:

Originally Posted by obmob (Post 1448334)
Sometimes you can drop a new php.ini file inside a particular folder, then this one will overrule the one in the server... at least that's what another webhost did for me one time, i did the same with my current webhost and i have had no problems at all :p

Thanks Andrew, will start testing on vb 3.7 beta5 x.x

when i was using a line to edit the htaccess to recognize the php5 on the server it was conflicting with my forum only, so i took out the line. it was also slowing down my site A LOT.

how do i make a php.ini? and what goes in it?

AndrewD 02-23-2008 02:35 PM

Quote:

Originally Posted by seangworld (Post 1449255)
how do i make a php.ini? and what goes in it?

You need to post that question in another forum, e.g. https://vborg.vbsupport.ru/forumdisplay.php?f=197

stwilson 02-24-2008 03:31 AM

I'm not sure why, but I cannot get thumbnails to ever create/show. I have them enabled on my forum and enabled in the LDM config panel. I view a list of links, click on them, edit them and still not one thumbnail shows. What am I missing?

AndrewD 02-24-2008 04:36 AM

Quote:

Originally Posted by stwilson (Post 1449669)
I'm not sure why, but I cannot get thumbnails to ever create/show. I have them enabled on my forum and enabled in the LDM config panel. I view a list of links, click on them, edit them and still not one thumbnail shows. What am I missing?

Not sure - there are several possible reasons - strangely I had someone else with this problem yesterday.

Things to check

- Have you got the GD graphics library available on your server (go to LDM/admin and take a look at the message about GD2 on the left margin)

- Are the thumbs being displayed as broken images (try IE as Firefox doesn't show them)

- Have you set a non-zero size for thumbs (LDM/admin/settings)

- Do they work non-cached (clear the thumbs directory on LDM/admin/settings, clear any existing thumbs (ldm/admin/statistics)). If so, the problem may be with the cache directory.

If this doesn't help, get back to me and we can investigate further.

Rouzbeh1 02-24-2008 04:44 PM

hi,
i tried to upgrade to ldm-2.2.9-a3 on my test forum. there where 2 Points:
1 - i saw a red phrase about PHP BASE DIR but it was to fast for me to read the complete line.... is this normal?
2 - i can't vire LDM anymore on user-end. error msg: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 72718 bytes) in /home/xxxxx/public_html/local_links.php(272) : eval()'d code on line 39
the second one appeared when i installed explorer-view plugin

thanks

Rouzbeh1 02-24-2008 05:00 PM

one more request or better to say addition to JW Player:D
take a look at here please: http://www.jeroenwijering.com/?item=JW_WMV_Player
if possible, i want this play the WMV files instead of wmp

thanks in advace

AndrewD 02-24-2008 05:11 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1450070)
hi,
i tried to upgrade to ldm-2.2.9-a3 on my test forum. there where 2 Points:
1 - i saw a red phrase about PHP BASE DIR but it was to fast for me to read the complete line.... is this normal?
2 - i can't vire LDM anymore on user-end. error msg: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 72718 bytes) in /home/xxxxx/public_html/local_links.php(272) : eval()'d code on line 39
the second one appeared when i installed explorer-view plugin

thanks

LDM gives a warning if open_basedir is set. There's no problem provided you organise things properly. open_basedir is a security restriction on where you can read/write files on your server.

The second point is dealt with by increasing memory_limit in your php.ini.

On your second post, yes I'd noticed that also.

Rouzbeh1 02-24-2008 05:37 PM

still the same problem with another error:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 30720 bytes) in /home/xxxxx/public_html/includes/local_links_include.php(2594) : eval()'d code on line 14

isn't 50M really too much for an application?

thanks for the fast answer


ADD: got the point.... i have more than 1500 categories and this kills php :D it worked hardly with 70M memory_limit!
just wanted to test how it looks like. it's a perfect feature for databases with less categories and looks very nice ;)

AndrewD 02-24-2008 06:37 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1450116)
still the same problem with another error:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 30720 bytes) in /home/xxxxx/public_html/includes/local_links_include.php(2594) : eval()'d code on line 14

isn't 50M really too much for an application?

thanks for the fast answer


ADD: got the point.... i have more than 1500 categories and this kills php :D it worked hardly with 70M memory_limit!
just wanted to test how it looks like. it's a perfect feature for databases with less categories and looks very nice ;)

The javascript for the explorer view is capable of handling an ajax-like 'expand on demand', which should reduce the memory requirement considerably (assuming that you haven't got a weird category structure). I am thinking about how to make that available. Currentyly, the whole tree is loaded.

Omranic 02-24-2008 10:08 PM

Hello,
How are you sir, i hope you are fine.
Quote:

Originally Posted by AndrewD (Post 1407334)
Quote:

Originally Posted by SolidSnake@GTI (Post 1406863)
Hello,
Thanks for this fantastic mod, it's a great mod really.

I have a question:
I need to: Create a main category called "Backup" & create sub-categories inside it for each customer, each sub-cat for one customer & is synchronized with a directory on the server, each sub-cat also is specified to a specific customer & so he can't (see/access) any (sub-cats/cat's content) except the one specified for him (Customers can't see others sub-cats / Like: users can't see others threads).

Is there any way doing this using LDM or extras supplied with it?
If no, so how can I do it as a custom work, if you can help with some code snippets or as least the coding principal, I would appreciate your effort.

Thanks

The synchronising is straightforward and already built in.

The other part, visibility/access to given user only, is not currently available (I don't think :) - this is getting a bit complex), but not hard to add. I will include it in the next release, which should be available (at least in beta form) quite soon, depending on how much food I eat this week.

Is there any news regarding this?
Also: Is there a way to do the same procedure for items in some categories? i mean "User can't see others items, is it possible?

AndrewD 02-25-2008 05:15 PM

Quote:

Originally Posted by SolidSnake@GTI (Post 1450298)
Hello,
How are you sir, i hope you are fine.


Is there any news regarding this?
Also: Is there a way to do the same procedure for items in some categories? i mean "User can't see others items, is it possible?

Most of it is done in the 2.2.9 alpha. There's a couple of bits I need to finish off regarding teh synchronisation. The basic feature is the *can_view_category* permission, which is new in 2.2.9. Since users can always see their own entries/categories, by removing this permission you can deny users the right to see anything else. This can be applied on a per-category basis.

macc 02-25-2008 09:01 PM

hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/loc...atid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/loc...ks.php?catid=2

Rouzbeh1 02-25-2008 09:26 PM

Quote:

Originally Posted by macc (Post 1450986)
hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/loc...atid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/loc...ks.php?catid=2

when i go to your LDM and click to view ratings, i get to this page http://www.belaplay.com/vb/libar/loc...find&catid=-13
which is different from your first url ....

macc 02-25-2008 10:03 PM

maybe because you were guest .. but try click on some link you will get same page ...blank ...

regards
macc

maybe i miss something ...

Rouzbeh1 02-25-2008 10:28 PM

Hi Andrew,
is it possible that LDM-2.2.9 a bit slower than 2.2.8?
i can see the difference when i try to open the LDM main page
let me know if you need a link

thanks in advance

AndrewD 02-26-2008 02:31 AM

Quote:

Originally Posted by macc (Post 1450986)
hello!

have installed last version alpha3 and get error - blank page when click on rate/coments .. http://www.belaplay.com/vb/libar/loc...atid=2&lpage=1 but another works fine ... some solution or help?

have vbulletin 3. 7. 0. beta 5

regards
macc

http://www.belaplay.com/vb/libar/loc...ks.php?catid=2

Sorry about that - coding bug. If you want to fix it yourself, edit includes/local_links_include.php. Go to line 3356 and change:

Code:

        if ($links_defaults['starred_entries_enabled']) {
for

Code:

        if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {
I will include the fix in the next upload

AndrewD 02-26-2008 02:40 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1451037)
Hi Andrew,
is it possible that LDM-2.2.9 a bit slower than 2.2.8?
i can see the difference when i try to open the LDM main page
let me know if you need a link

thanks in advance

It's quite possible and I'm happy to try to get to the bottom of this if I can. As people ask for more and more features, there is more code to execute.

Ideally, this is the way to test on your site, if you are willing:

- enable debug in vbulletin by editing includes/config.php and adding the following line somewhere near the bottom:
Code:

$config['Misc']['debug'] = 1;
This will add a 'debug information' down the bottom of every vb page, with summary information about time and database accesses. This will give the first hint. If you then click on the hyperlink on the number of database accesses, you will get a very complete summary of where vbulletin is spening its time.

If you can compare the two versions of LDM and send me the details, then I have something to work with. I will try my own tests in the meantime.

Rouzbeh1 02-26-2008 06:42 AM

if you like, i will send you admin information and you take a look yourself.
i have no campare anymore, because i updated my live site to 2.2.9
let me know

macc 02-26-2008 11:25 AM

Quote:

Originally Posted by AndrewD (Post 1451141)
Sorry about that - coding bug. If you want to fix it yourself, edit includes/local_links_include.php. Go to line 3356 and change:

Code:

    if ($links_defaults['starred_entries_enabled']) {
for

Code:

    if ($links_defaults['starred_entries_enabled'] and is_array($links_starred)) {
I will include the fix in the next upload


thanks for help... that is fixed ... now comments and raitings work!
will just ask ..can be possibly that error in code cause problem - errors in some blocks- for cmps ?
get this "
Warning: Division by zero in /modules/ldm_hot_media.php on line 34"

Warning: Division by zero in /modules/ldm_new_media.php on line 22


regards
macc

AndrewD 02-26-2008 01:42 PM

Quote:

Originally Posted by macc (Post 1451334)
thanks for help... that is fixed ... now comments and raitings work!
will just ask ..can be possibly that error in code cause problem - errors in some blocks- for cmps ?
get this "
Warning: Division by zero in /modules/ldm_hot_media.php on line 34"

Warning: Division by zero in /modules/ldm_new_media.php on line 22


regards
macc

That will be a different bug - I'll take a look. I rewrote quite a bit of code for 2.2.9 alpha 3 so this does not surprise me.

macc 02-26-2008 02:33 PM

i just check those php files and those lines ( 22 and 34) are empty??

regards
macc

AndrewD 02-26-2008 06:36 PM

Quote:

Originally Posted by macc (Post 1451468)
i just check those php files and those lines ( 22 and 34) are empty??

regards
macc

Have you installed the LDM extra inlineJWplayer? The bug is that the vba module code is trying to pick up settings from that extra. My mistake. If you install that extra, the errors should go away.

macc 02-26-2008 06:57 PM

no i have not installed extra inline player ...will test do that ... thanks for help!

regards

macc

Rouzbeh1 02-26-2008 09:47 PM

i think there is a bug in 2.2.9-a3
autocreate thread in not working at all....
could you please check if it works for you?
thanks

AndrewD 02-27-2008 03:22 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1451704)
i think there is a bug in 2.2.9-a3
autocreate thread in not working at all....
could you please check if it works for you?
thanks

Thanks for this. As far as I can tell, it works if you enable the (new in 2.2.9) admin option that requires users to confirm thread creation, but not if everything is fully automatic. The bug has been there from alpha-1. Will investgate and fix.

Edited.

If you want, you can patch this bug by editing the links_addnewlink template. Find the lines:
Code:

<else />
<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="linkautocreate" value="0" />
        </td>
</tr>
</if>

and replace by

Code:

<else />
<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="linkautocreate" value="1" />
        </td>
</tr>
</if>

i.e. change the 0 to 1

Be careful if you make this change - if I make further changes to the template before the final version of 2.2.9, vb will not warn you about the need to revert the template.

macc 02-27-2008 05:50 AM

thanks for help...now blocks work with inline player...

regards
macc

bxbigt 02-27-2008 06:31 AM

So heres the big question the mod is really nice but i rather not have people upload to my server is there any way to have them use this hack with whatever host they want to use ie rs , mu mediafire etc etc

Rouzbeh1 02-27-2008 08:40 AM

Thanks Andrew,
it worked! i will revert that template manually when i update to next version.

AndrewD 02-27-2008 04:02 PM

Quote:

Originally Posted by bxbigt (Post 1451907)
So heres the big question the mod is really nice but i rather not have people upload to my server is there any way to have them use this hack with whatever host they want to use ie rs , mu mediafire etc etc

You can use this hack to let people upload files or you can use it to let them provide links to files that are held on other servers. It's up to you. You can disable uploads altogether or on a per-usergroup basis.

bxbigt 02-27-2008 04:26 PM

Quote:

Originally Posted by AndrewD (Post 1452203)
You can use this hack to let people upload files or you can use it to let them provide links to files that are held on other servers. It's up to you. You can disable uploads altogether or on a per-usergroup basis.

Thanks for the reply gonna test it out on the demo board ;)

AndrewD 03-01-2008 09:11 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1451227)
if you like, i will send you admin information and you take a look yourself.
i have no campare anymore, because i updated my live site to 2.2.9
let me know

I did some quick tests on a database with a few dozen categories and a few thousand entries.

With LDM's home page statistics turned off, 2.2.8 and 2.2.9 seem pretty well identical in speed.

However, 2.2.9 has more home page stats options, and these can be quite expensive. I'll take a look at the code to see if they can be speeded up.

choccyclaire 03-01-2008 04:27 PM

Any idea why this works on firefox but when I tested it on IE it gives me a database error?


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