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)

Alfa1 02-14-2007 10:55 PM

Quote:

Originally Posted by AndrewD (Post 1182256)
This is not a small task...

I was afraid so. I hope someone can find the time for it, as I am sure many would use this. Sorry for asking, as you have already done so much. :up:

Dr.NoTime 02-15-2007 02:10 AM

HI, I have everything loaded and working except the jukebox. The window opens but there is no way to play the file. I can download the file fine. I am running 2.2.7 on a Linux server.

Thanks in advance for any help.

AndrewD 02-15-2007 05:48 AM

Quote:

Originally Posted by obmob (Post 1182680)
Welcome back Andrew! :)

Did u have a nice vacation? :D

It was wonderful, thanks. I want to go straight back...

AndrewD 02-15-2007 05:51 AM

Quote:

Originally Posted by Dr.NoTime (Post 1182933)
HI, I have everything loaded and working except the jukebox. The window opens but there is no way to play the file. I can download the file fine. I am running 2.2.7 on a Linux server.

Thanks in advance for any help.

Are you running your web browser on a Windows PC, a Linux box or a Mac? The Jukebox should now work on all three. Am happy to take a look if you send me a PM with your site details.

butty 02-15-2007 05:10 PM

i have a request for help and a offer of help! :D

firstly my request. andrew. as you can see from my first screen grab i have vba wrapped around ldm

what im trying to do is remove the navbar as i dont have it on other cms pages ya see.

so what im doing is removing '$navbar' out of my adv_portal template.

as seen in the second screen capture this gets rid of the navbar but i get a error (as you can see)

if i remove the $navbar out of my link_header template it still stays there

can you tell me how i can get rid of the navbar pls on ldm pages?

many thanks for your time


also onto my offer of help Alfa 1 if you look at my first screengrab i can show you how to wrap vba around ldm like that. when i click on a category it opens that category with my vba site nav to the left etc is that what your after?

AndrewD 02-15-2007 05:32 PM

Quote:

Originally Posted by butty (Post 1183355)
i have a request for help and a offer of help! :D

firstly my request. andrew. as you can see from my first screen grab i have vba wrapped around ldm

what im trying to do is remove the navbar as i dont have it on other cms pages ya see.

so what im doing is removing '$navbar' out of my adv_portal template.

as seen in the second screen capture this gets rid of the navbar but i get a error (as you can see)

if i remove the $navbar out of my link_header template it still stays there

can you tell me how i can get rid of the navbar pls on ldm pages?

many thanks for your time

I just took a look at your site, but I'm not getting the error you've posted - it's a Javascript error, by the way, and from the look of the line number, it's probably in the Javascript you've added at at the bottom of the page. So I wonder if the navbar removal is a bit of a red herring - the problem may be somewhere else.

butty 02-15-2007 06:58 PM

cheers for the reply andrew. when i remove the following code out of my footer then it works with no errors but im not sure what this code is what it does or if its needed or not lol any ideas?

PHP Code:


<if condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

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


AndrewD 02-15-2007 07:12 PM

Quote:

Originally Posted by butty (Post 1183437)
cheers for the reply andrew. when i remove the following code out of my footer then it works with no errors but im not sure what this code is what it does or if its needed or not lol any ideas?

Yes, this is the standard VB page initialisation.

The first bit is used by VB to auto-reset your users' times when daylight saving time/summer time begins.

PHP Code:

<if condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

</if> 

The next bit carries out a whole load of vb initialisation, to make sure that your pop-up menus, etc, work properly. I'll bet that the error is coming from here - you might try just removing these lines. Am not sure how this is interacting with vbadvanced/LDM, though.

PHP Code:

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


bold 02-15-2007 07:17 PM

For those of you having the vBSEO/rewrite 'Page Not Found' error put this in your custom rewrite rules in your vbseocp.

Code:

// Links and Downloads Manager
'local_links\.php\?catid=(\d+)&linkid=(\d+)' => 'local_links/links/$1/$2'
'local_links\.php\?catid=(\d+)' => 'local_links/links/$1'
'local_links\.php\?action=jump&id=(\d+)&catid=(\d+)' => 'local_links/jump/$1/$2'
'local_links\.php\?action=jump&id=(\d+)' => 'local_links/jump/$1'


zajako 02-15-2007 07:28 PM

I'm not sure if you saw my problem so I'll repost it here.
When trying to access the page via IE I get this error:
https://vborg.vbsupport.ru/


All times are GMT. The time now is 06:04 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.02417 seconds
  • Memory Usage 1,773KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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