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 04-06-2008 10:30 AM

Quote:

Originally Posted by djpassion (Post 1484218)
Hmm I cant seem to add files either. Think I'll leave it for now. Will let you take a look AndrewD

Weird. It works fine on your site with Firefox and Safari but not with IE, yet IE fetches all the items on the page correctly from your site - just fails to display and gives that message about 'unable to display page'. I haven't changed anything in this part of the code, as far as I know.

The bug is within IE, see http://support.microsoft.com/default.aspx/kb/927917. I don't know whether it's being triggered by my code or your patches or a combination.

AndrewD 04-06-2008 10:40 AM

Quote:

Originally Posted by djpassion (Post 1484218)
Hmm I cant seem to add files either. Think I'll leave it for now. Will let you take a look AndrewD

It's linked to the swfupload extra. When I disable this on your site, add/edit link works ok. I'll try to sort out why. Doesn't affect me on any of my test sites.

webgeek247 04-06-2008 10:56 AM

Ok. When I used firefox, the page loaded up but asked me to install a missing plugin, which was adobe flash player. I wonder if it’s connected. Like IE7 isn’t using adobe flash player properly or something

AndrewD 04-06-2008 11:14 AM

Quote:

Originally Posted by djpassion (Post 1484270)
Ok. When I used firefox, the page loaded up but asked me to install a missing plugin, which was adobe flash player. I wonder if it’s connected. Like IE7 isn’t using adobe flash player properly or something

Yes to part 2 - you have to have the flash player plugin installed to use the swfuploader, and the first time you run this, it will check for it and install it if necessary.

For part 1, I think you are stuck with a variant on the same problem you had before. You've wrapped the vbulletin page in a series of extra divs. As a result, all the vbulletin javascript initiatialisations are happening inside these divs, and not immediately within the body tag, which is where they are supposed to happen. IE doesn't like this, so croaks.

The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.

webgeek247 04-06-2008 11:28 AM

Yes you're right. I unskinned the forumskin.php in subdreamer admin panel and can now add entries to dlm using IE7 again

webgeek247 04-06-2008 11:36 AM

Ok.

Andrew, when making template changes to vb etc you normally have to reskin the forum. So just thought id let you know in case you need to change things etc

Admin panel > subdreamer settings > forum integration > skin integration


Quote:

Originally Posted by AndrewD (Post 1484284)
The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.

Im not sure how to do that

AndrewD 04-06-2008 11:47 AM

Quote:

Originally Posted by djpassion (Post 1484291)
Ok.

Andrew, when making template changes to vb etc you normally have to reskin the forum. So just thought id let you know in case you need to change things etc

Admin panel > subdreamer settings > forum integration > skin integration




Im not sure how to do that

The standard vb footer template ends with these lines:

Code:

<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>

and the links_footer template normally ends with the sequence:

Code:

$footer
</body>
</html>

Take a look at these to see if you've changed anything.

webgeek247 04-06-2008 11:59 AM

Well in the vb footer I see the same as above and when I skin the forum using subdreamer the vb footer is still the same

I guess it must be something to do with

/public_html/skins/passion

images ** folder **
catergories.php
footer.php
forummenu.php
forumskin.php
install.php
menu.css
passion_1.php
styles.css

but not sure what exatcly

webgeek247 04-06-2008 12:33 PM

I'll have a better look when i get home later.

macc 04-06-2008 12:48 PM

Hello!

i just upgraded from alfa4 to beta 1 and when i will go to my cmps portal i get this error

"Warning: require_once([path]/includes/local_links_flashsites.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/local_links_players.php(106) : eval()'d code on line 6

Fatal error: require_once() [function.require]: Failed opening required '/home2/belapla/public_html/vb/libar/includes/local_links_flashsites.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/belapla/public_html/vb/libar/includes/local_links_players.php(106) : eval()'d code on line 6"

have vbulletin 3.7 rc -2

andrewd you have admin count on my site - www.belaplay.com/vb/libar

some help or solution?

regards

macc

AndrewD 04-06-2008 12:53 PM

Quote:

Originally Posted by macc (Post 1484332)
Hello!

i just upgraded from alfa4 to beta 1 and when i will go to my cmps portal i get this error

"Warning: require_once([path]/includes/local_links_flashsites.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/local_links_players.php(106) : eval()'d code on line 6

Fatal error: require_once() [function.require]: Failed opening required '/home2/belapla/public_html/vb/libar/includes/local_links_flashsites.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/belapla/public_html/vb/libar/includes/local_links_players.php(106) : eval()'d code on line 6"

have vbulletin 3.7 rc -2

andrewd you have admin count on my site - www.belaplay.com/vb/libar

some help or solution?

regards

macc

It's telling you it can't find the file includes/local_links_flashsite.php, which is in the includes subdirectory of the flash-sites extra. Check that you have uploaded this file - perhaps it's been put in the wrong directory?

Rouzbeh1 04-06-2008 04:56 PM

upgrade worked perfect.
thanks for the update

when are you planning to add the JW WMV Player (Powered By Silverlight)?

thanks in advance

AndrewD 04-06-2008 05:02 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1484501)
upgrade worked perfect.
thanks for the update

when are you planning to add the JW WMV Player (Powered By Silverlight)?

thanks in advance

It's there.

Take a look in the extras. JW-player-extensions.

RikiB 04-06-2008 05:13 PM

man this is exciting, so many new amazing features. I will have to wait a few days to make sure its clear of any major problems, I decided to go live with Alpha4 out of desperation and so far its worked like a dream. I plan on making another donation in the near future, this addon is simply amazing.
Thanks Andrew!

Rouzbeh1 04-07-2008 08:06 AM

Quote:

Originally Posted by AndrewD (Post 1484508)
It's there.

Take a look in the extras. JW-player-extensions.

thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....

AndrewD 04-07-2008 08:47 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1485058)
thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....

interesting - it was working fine a couple of days ago. I must have missed something. Will check this evening and get back to you

AndrewD 04-07-2008 04:18 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1485058)
thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....

Several points.

I'm gradually adding controls for all addins in the main LDM settings section, so after installing this extra, you have to decide which bits of it to enable in the JW MediaPlayer Addons section of that page.

The 'inline' player version (inlineJWplayer_active set to yes) was working fine, but the standard pop up player (wmpJWplayer_active set to yes) was not working because of a couple of coding bugs.

Can you try replacing the attached includes/local_links_players.php file and then install the replacement playlist-JWPlayer-plugin.xml, and let me know if this fixes the problem.

Finally, I don't think Silverlight works yet with Firefox 3.

macc 04-07-2008 04:58 PM

Hello Andewd ... thanks for help!

can we also use those code above or it is just for that user?

regards

macc

AndrewD 04-07-2008 05:55 PM

Quote:

Originally Posted by macc (Post 1485352)
Hello Andewd ... thanks for help!

can we also use those code above or it is just for that user?

regards

macc

You can certainly use it if you need it - it provides a fix for the jw player silverlight player, nothing else.

Rouzbeh1 04-07-2008 08:56 PM

thanks andrew
it worked perfect in inline mode, but it doesn't display a player in popup mode

PS: i use FF 2.0.0.13

AndrewD 04-08-2008 12:30 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1485493)
thanks andrew
it worked perfect in inline mode, but it doesn't display a player in popup mode

PS: i use FF 2.0.0.13

May I take a look, please.

Just to confirm, the new code I posted yesterday works fine for me with FF 2.0.0.13 in both inline and popup modes. The bugs I fixed were with the popup mode, so worth checking that you have actually uploaded the includes file.

MikeGK 04-08-2008 06:41 PM

Thank you for the beta 1 release, it is great!

Rouzbeh1 04-08-2008 06:44 PM

Quote:

Originally Posted by AndrewD (Post 1485597)
May I take a look, please.

Just to confirm, the new code I posted yesterday works fine for me with FF 2.0.0.13 in both inline and popup modes. The bugs I fixed were with the popup mode, so worth checking that you have actually uploaded the includes file.

of course
will send a PM in an hour or less

IR15H 04-08-2008 09:44 PM

Just downloaded it to my test board, haven't got my head around it all yet, but it looks absolutely amazing so far.

MikeGK 04-09-2008 12:02 AM

*allow_http_ranges* option added to enable site to disable partial range requests, e.g. to limit server load caused by download managers

Hi Andrew, could you tell me where to enable or disable in LDM? I can't seem to find the option on or off. Thank you

Regards,

Mike

AndrewD 04-09-2008 03:51 AM

Quote:

Originally Posted by MikeGK (Post 1486340)
*allow_http_ranges* option added to enable site to disable partial range requests, e.g. to limit server load caused by download managers

Hi Andrew, could you tell me where to enable or disable in LDM? I can't seem to find the option on or off. Thank you

Regards,

Mike

LDM/admin/settings/Security and User Access section

MikeGK 04-09-2008 12:42 PM

Quote:

Originally Posted by AndrewD (Post 1486445)
LDM/admin/settings/Security and User Access section

Hi Andrew, under LDM/admin/settings/Security and User Access section
All I see is the following below. Am I missing something? Thank you.

default_forumid
force_accept
force_redirect
force_saveas
mod_rewrite
profile_ldmactivity
prune_downloadtable
robots_meta_tag
timeout_hit_allow
timeout_hit_recording
force_fopen

AndrewD 04-09-2008 12:52 PM

Quote:

Originally Posted by MikeGK (Post 1486662)
Hi Andrew, under LDM/admin/settings/Security and User Access section
All I see is the following below. Am I missing something? Thank you.

default_forumid
force_accept
force_redirect
force_saveas
mod_rewrite
profile_ldmactivity
prune_downloadtable
robots_meta_tag
timeout_hit_allow
timeout_hit_recording
force_fopen

Are you sure you've updated all the code to the latest 2.2.9 and then reinstalled the product xml?

RikiB 04-09-2008 02:03 PM

Oh no, in why who's online I see this:
Guest
/forum/local_links.php?action=jump&id=16&catid=7 Accessing content from Downloads
This is the first time I have seen it but if there is a way someone was able to easily hack into the files that would be a travesty. Is there anyway to figure out how this happened? Im using Alpha4

edit: it may not be so bad, if anyone puts in that direct link it will say that, doesnt mean they can actually download the file, so not a big deal I guess. The hits stats doesnt say that a guest has downloaded anything.

AndrewD 04-09-2008 04:19 PM

Quote:

Originally Posted by RikiB (Post 1486717)
Oh no, in why who's online I see this:
Guest
/forum/local_links.php?action=jump&id=16&catid=7 Accessing content from Downloads
This is the first time I have seen it but if there is a way someone was able to easily hack into the files that would be a travesty. Is there anyway to figure out how this happened? Im using Alpha4

edit: it may not be so bad, if anyone puts in that direct link it will say that, doesnt mean they can actually download the file, so not a big deal I guess. The hits stats doesnt say that a guest has downloaded anything.

I hope that they cannot get past the security that you have set. VBulletin's 'Who's online' simply captures where people are currently looking - as you say, it says nothing about what happens. If the LDM hit logs tell you there have been no accesses by guests, you should be ok. Perhaps worth testing the security by loggin out from vbulletin and clearing cookies, then keying in the 'jump' url and see what happens. I hope you will get a 'no permission' message.

RikiB 04-09-2008 04:28 PM

Yes you are correct, I cannot access it as guest..everything seems ok..Im relieved :)

obmob 04-09-2008 05:50 PM

Hmm... time to start translation? :D
Thanks for the beta, will try to make an online test forum.

IR15H 04-09-2008 05:53 PM

I've found a few minor bugs;
  1. If you put a smiley in your title for an entry, it displays properly everywhere, except in the navigation at the top when I view the entry;
    http://img339.imageshack.us/img339/5742/10881980tv9.png
  2. If you upload a file that isn't a supported attachment by vB and hit submit, I see the following;
    http://img135.imageshack.us/img135/8026/21443936hs2.png
    I'm guessing it should say something along the lines of "This type of file is not allowed to be uploaded".
  3. A browser issue with WMP, so it may not be fixable your end;
    http://img505.imageshack.us/img505/1114/29493758ks7.png

Haven't had that long to play around with it, but still love it :).

MikeGK 04-09-2008 06:17 PM

Quote:

Originally Posted by AndrewD (Post 1486668)
Are you sure you've updated all the code to the latest 2.2.9 and then reinstalled the product xml?

My bad Andrew, it is working awesome now. Thank you! Great Script! Andrew it would be nice to add hostname and ip address of user. It would be a PLUS.

Mike

AndrewD 04-09-2008 06:24 PM

Quote:

Originally Posted by IR15H (Post 1486881)
I've found a few minor bugs;
  1. If you put a smiley in your title for an entry, it displays properly everywhere, except in the navigation at the top when I view the entry;
  2. If you upload a file that isn't a supported attachment by vB and hit submit, I see the following;
    I'm guessing it should say something along the lines of "This type of file is not allowed to be uploaded".
  3. A browser issue with WMP, so it may not be fixable your end;

Haven't had that long to play around with it, but still love it :).

Thanks - the first two are bugs, the third is because I was lazy when I wrote the javascript to resize the video window.

Edited - actually, I can't reproduce the first one - it displays fine for me. Can you give me any hints?

IR15H 04-09-2008 07:19 PM

Quote:

Originally Posted by AndrewD (Post 1486893)
Thanks - the first two are bugs, the third is because I was lazy when I wrote the javascript to resize the video window.

Edited - actually, I can't reproduce the first one - it displays fine for me. Can you give me any hints?

I might know why, do you have HTML enabled (Category and Entry Creation and Editing > allow_html)? I turned it on and it displayed correctly, but I wouldn't enable it on my live board because it enables HTML in the actual entry itself as well. BB code is enabled.

EDIT:

A couple more minor bugs. If an individual comments more than once on an entry, it still states there is only 1 comment/rating. Also, if you set comments to be in-line (inline_comment_and_rate = X), but have X+1 comments then "More..." appears, but doesn't link anywhere.
http://img520.imageshack.us/img520/7796/38236211ik9.png
The link to more comments works with the drop down menu (dropdown_comment_and_rate), but the X comments/ratings thing is the same.


EDIT 2:

A strange browser issue;
http://img356.imageshack.us/img356/6509/28543952ue3.png
The song (mp3) plays in IE 32 bit, but I can't see any of the controls, just the white bar. It doesn't play in the 64 bit version, but I get the link to download flash. It displays perfectly in FireFox. This might just be some strange setting I have on my PC (Vista 64 bit), so if anyone else could check this on theirs that'd be cool.
EDIT (again): The first time I navigate to the entry in IE7 32bit it displays normally, but any subsequent visits to the same entry, or any other mp3 entry results in the white box. Opening a new tab or window makes it display normally again on the first view.

AndrewD 04-10-2008 02:28 AM

Quote:

Originally Posted by IR15H (Post 1486928)
I might know why, do you have HTML enabled (Category and Entry Creation and Editing > allow_html)? I turned it on and it displayed correctly, but I wouldn't enable it on my live board because it enables HTML in the actual entry itself as well. BB code is enabled.

You're right. At that point in the code, I inadvertently included the line of code to catch smilies, etc, in entry names twice, with the effect of escaping the html.

Quote:

Originally Posted by IR15H (Post 1486928)
If an individual comments more than once on an entry, it still states there is only 1 comment/rating. Also, if you set comments to be in-line (inline_comment_and_rate = X), but have X+1 comments then "More..." appears, but doesn't link anywhere.
The link to more comments works with the drop down menu (dropdown_comment_and_rate), but the X comments/ratings thing is the same.

The count is misleading and I should correct it. Only the last rating from each user is counted. Comments were added to LDM after ratings, and I must have taken a short cut with the code.

More.. should link, so will fix.

Quote:

Originally Posted by IR15H (Post 1486928)
A strange browser issue;
The song (mp3) plays in IE 32 bit, but I can't see any of the controls, just the white bar. It doesn't play in the 64 bit version, but I get the link to download flash. It displays perfectly in FireFox. This might just be some strange setting I have on my PC (Vista 64 bit), so if anyone else could check this on theirs that'd be cool.
EDIT (again): The first time I navigate to the entry in IE7 32bit it displays normally, but any subsequent visits to the same entry, or any other mp3 entry results in the white box. Opening a new tab or window makes it display normally again on the first view.

Your problem with the white bar is a bug in Flash with IE (I think) - I spent some time on this a while back and found many reports of similar. I'm currenctly not able to check 64 bit Vista

webgeek247 04-10-2008 01:56 PM

Quote:

Originally Posted by AndrewD (Post 1484284)
The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.


Hi Andrew i had a look but couldnt figure it out

AndrewD 04-10-2008 03:34 PM

Quote:

Originally Posted by djpassion (Post 1487481)
Hi Andrew i had a look but couldnt figure it out

OK, I'll give this some more thought.

It is possible might also have problems in other parts of vBulletin, depending on whether they also expect to be initialising Javascript at the end of the page.

IR15H 04-10-2008 03:49 PM

Quote:

Originally Posted by AndrewD (Post 1487176)
Your problem with the white bar is a bug in Flash with IE (I think) - I spent some time on this a while back and found many reports of similar. I'm currenctly not able to check 64 bit Vista

Okay. When I install this on my live board, if any of my IE users are able to reproduce this (browser) issue I'll simply disable the JW player, and do it via WMP, as that works fine :).

--------------

I've found another comments bug. With settings of dropdown_width_comment_and_rate = 60 and dropdown_rows_comment_and_rate = 5, I get the following result;
http://img340.imageshack.us/img340/1222/74842697gt2.png
The numbers I chose are arbitrary, but the comments do not match the values I set. This is the same for in-line comments, too.

---------

I also found a picture related bug;
http://img88.imageshack.us/img88/8939/37719220vy1.png
The blank space is a picture upload entry.

EDIT:

Oh, and also, a very minor thing when you create a new entry. If you type something in the "Name" field and then press the TAB key on your keyboard it jumps to the "New Keywords" field, missing out the "Description" input area.


All times are GMT. The time now is 08:07 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.02262 seconds
  • Memory Usage 1,867KB
  • 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
  • (2)bbcode_code_printable
  • (26)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