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 08-15-2007 06:06 PM

Quote:

Originally Posted by Alfa1 (Post 1279562)
Quote:

Originally Posted by Alfa1
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?


Just to clarify: I want to find the category id variables to have the right tab be highlighted when a member is in a certain category of LDM.

Quote:

Originally Posted by AndrewD (Post 1294734)
Give me a couple of days to look at this - I've not see this hack before.

Andrew, do you know the solution to this?

AndrewD 08-15-2007 06:36 PM

Quote:

Originally Posted by Alfa1 (Post 1318297)
Andrew, do you know the solution to this?

I never got this sorted out - I took a quick look at the tabs hack but didn't get beyond the introduction.

Rouzbeh1 08-15-2007 06:53 PM

updated without any problems
will do some tests and report if there were any issues
thanks Andrew

itsblack 08-15-2007 08:13 PM

I've updated without any problem. Also I have updated the chinese translation. Now this time is 100% completed. :D

Phalynx 08-15-2007 08:55 PM

Andrew, thanks for RC2! *installing*

Slave 08-15-2007 08:59 PM

RC2 downloaded .. I'll install later tonight and report any issues I find :)

Alfa1 08-15-2007 09:48 PM

Quote:

Originally Posted by AndrewD (Post 1318314)
I never got this sorted out - I took a quick look at the tabs hack but didn't get beyond the introduction.

Basically it adds tabs to the navbar. To let the right tab to highlight according to the members location, the code needs a conditional.

I think this will quickly show you how it works and what is needed:
https://vborg.vbsupport.ru/showthread.php?p=1276144

Something similar to the last option would be needed.

BTW: what do you need to have translated to Dutch? Please send it to me and I'll try to whip it up before my vacation.

Edit: I just upgraded to 2.2.8 RC2 and got this message:
Quote:

Critical error: different versions of software, templates, phrases and database.
Software: 2.2.8 database: 2.2.7
Cannot continue - ask administrator to correct.

AndrewD 08-16-2007 03:57 AM

Quote:

Originally Posted by Alfa1 (Post 1318456)
Basically it adds tabs to the navbar. To let the right tab to highlight according to the members location, the code needs a conditional.

I think this will quickly show you how it works and what is needed:
https://vborg.vbsupport.ru/showthread.php?p=1276144

Something similar to the last option would be needed.

I'll try to work this out for you.

Quote:

Originally Posted by Alfa1 (Post 1318456)
BTW: what do you need to have translated to Dutch? Please send it to me and I'll try to whip it up before my vacation.

I've attached the Dutch phrases file for LDM. It's easiest to edit the file directly, using notepad or something similar, although you can also do the job inside the VBulletin admin cp. Each line looks something like the following:

Code:

<phrase name="ldm_cp_categories" date="0" username="" version=""><![CDATA[Categorieen]]></phrase>
Its very important only to edit the part between "!CDATA[" and "]]", which contains the phrase. All of these need to be in Dutch - currently, quite a lot are the original English.

Some of the phrases include codes like "{1}" "{2}", etc. These indicate a place where something else will be filled in by LDM. You need to make sure that the word order in Dutch makes sense, so you may need to move the codes around in the phrase. However, they must be in the "right" places - so "{1}" can appear after "{2}".

Quote:

Originally Posted by Alfa1 (Post 1318456)
Edit: I just upgraded to 2.2.8 RC2 and got this message:

I imagine you uploaded the code, but did not rerun the installer. Go to VB/admincp/products and plugins and upload the 2.2.8 LDM product installer.

AndrewD 08-16-2007 04:13 AM

Quote:

Originally Posted by itsblack (Post 1318391)
I've updated without any problem. Also I have updated the chinese translation. Now this time is 100% completed. :D

Hi, and thanks for this work. There's still a few English phrases in the file you uploaded - maybe these got overlooked? I attach just the missing phrases, mainly in the WOL section.

itsblack 08-16-2007 04:30 AM

Quote:

Originally Posted by AndrewD (Post 1318637)
Hi, and thanks for this work. There's still a few English phrases in the file you uploaded - maybe these got overlooked? I attach just the missing phrases, mainly in the WOL section.

oops :p sorry for thouble, obviously I uploaded the wrong file.
PS: Some phrases such as "bytes", "url" or "Mimetypes" are don't need to translate into chinese, cause we use them as normal.


All times are GMT. The time now is 08:14 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.03427 seconds
  • Memory Usage 1,756KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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