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)

abdelghani68 10-18-2008 08:18 AM

when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

AndrewD 10-18-2008 09:42 AM

Quote:

Originally Posted by abdelghani68 (Post 1647536)
when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

Thanks - will fix in 2.3.0 beta 1 (expect the upload later today :))

webchills 10-18-2008 02:40 PM

First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Sandgrinder 10-18-2008 04:01 PM

Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

AndrewD 10-18-2008 11:52 PM

Quote:

Originally Posted by webchills (Post 1647696)
First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Have you renamed the top level scripts consistently with the way you have edited includes/local_links_init.php?

The navbar is pointing towards downloads_search.php because you've set:
Code:

define('SEARCH_SCRIPT', 'downloads_search');
in includes/local_links_init.php

Script local_links_search.php should have been renamed downloads_script.php, etc, matching these definitions.

The negative category ids are used to specify special searches, i.e. -8 = new entries, etc

Let me know if I'm missing the point

AndrewD 10-19-2008 12:09 AM

Quote:

Originally Posted by Sandgrinder (Post 1647739)
Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission

Quote:

Originally Posted by Sandgrinder (Post 1647739)
The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

I don't understand what you mean - it looks ok to me?

webchills 10-19-2008 06:15 AM

Quote:

Originally Posted by AndrewD (Post 1648003)
The negative category ids are used to specify special searches, i.e. -8 = new entries, etc
Let me know if I'm missing the point

Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

AndrewD 10-19-2008 06:41 AM

Quote:

Originally Posted by webchills (Post 1648143)
Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

Without looking in detail at your site (which I'm happy to do if you send me a pm with details and an admin account), I can only guess.

The code that is executed for script?action=find&catid=-NN carries out a check for valid values of NN, using a set of definitions that are pulled in from includes/local_links_include.php. It gives a 'no permission' error in two situations:

- if someone without "can_moderate_links" permission is trying to execute one of the 'moderator' based 'find' commands (which only show up on the menu if you have those permissions in the first place

- if the value NN is not in the valid range

I would suspect that somehow it is the second condition, but I can't see (without checking your site) how that can be.

Sandgrinder 10-19-2008 07:19 AM

Quote:

Originally Posted by AndrewD (Post 1648009)
Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission



I don't understand what you mean - it looks ok to me?

I'm don't understand to 100% but it looks like this at the moment:
http://img252.imageshack.us/img252/8281/69381540wa8.jpg

About the Downloads index it looks like this:
http://img443.imageshack.us/img443/2000/81952230xp5.jpg

I want it to look like a forum category, not splitted up. =)

Many thanks again!

Simon Lloyd 10-19-2008 08:33 AM

Hi Andrew, i have just looked at my profile (vb3.7.3 PL1) and in the "About me" tab it shows Recent LDM hits & Entries, i have had hits and entries but they dont show (shows N/A), if i click the pencil (edit section) icon a box pops up saying "if you want to keep private then...." theres nothing in it if i then click save i get presented with "The server failed to respond in time. Please try again.", any ideas?

I have the upload folder outside of my forum and root (you helped with this), it is properly referenced as i can view/download files.

AndrewD 10-19-2008 09:38 AM

Quote:

Originally Posted by Simon Lloyd (Post 1648193)
Hi Andrew, i have just looked at my profile (vb3.7.3 PL1) and in the "About me" tab it shows Recent LDM hits & Entries, i have had hits and entries but they dont show (shows N/A), if i click the pencil (edit section) icon a box pops up saying "if you want to keep private then...." theres nothing in it if i then click save i get presented with "The server failed to respond in time. Please try again.", any ideas?

I have the upload folder outside of my forum and root (you helped with this), it is properly referenced as i can view/download files.

The vbulletin folk changed how they handled user profiles between vb 3.6 and 3.7 and this messed up my integration of LDM with this feature. In version 2.2.9, I think it works correctly if you enable the ldm admin setting *profile_ldmactivity*, but if you disable it, you get the N/A box. I think I have fixed that problem in 2.3.0.

AndrewD 10-19-2008 09:47 AM

Here is the first beta release of 2.3.0. It still requires care - please do not install on a live site unless you are willing to deal with bugs. I will appreciate test reports and suggestions.

This code seems basically ok with VB3.8 - user profile integration is temporarily not working, but not because of any serious problem, and will be re-enabled in the next beta

NB: the main zip only contains the English product file. The translations are supplied separately.

There are a few more changes expected before 2.3.0 becomes the new official release (work on vba page load efficiency, integration of vbboarder's 'extras' integrator to smooth upgrades, and perhaps a couple of new extras), as well as updating the wiki.

Compared to version 2.3.0-alpha, these are the changes:

+ Additional attributes

Groups have new 'hidden' and 'collapsed by default' options which can be set on per-category basis
Attribute groups displayed as collapsible boxes on 'Add/Edit Entry' forms
Attribute names that start with * are replaced by the corresponding vb phrase when displayed on user pages

+ Administration
Added information on admin/allowances when usergroups have *can_bypass_XXX* permissions
Added information on admin/showinfo when usergroups with *can_bypass_XXX* permissions

+ Accept agreement
Template/ *ll_agreement* phrase includes username as parameter

+ Forum Announcements
Admin option added to select thread prefix when forum announcements made in forum defined by autocreate_forum setting

+ Media Players
Updated JWplayer to use swfobject 2.1

+ Searches
Improved consistency of Advanced Search interface to saved searches and profile searches
Integrated attributes consistently into searches and search interface
Added option to profile searches to allow any/all/exact matches

+ Starred Nominations
New *Current Nominations* search option on Show menu
New permission *can_view_nominations* gives access to current nominations in linkbits and via Show/Current Nominations

+ vba modules
ldm_tagcloud, ldm_new_reviews, ldm_newly_reviewed and ldm_cats extended to accept optional category list
ldm_hot_thumb module added (thanks, vbboarder)
various bug fixes and template edits to improve integration with inline media players (thanks, vbboarder)

+ Extras
*blockhit-bylasthit* extra extends *timeout_hit_allow* setting to per-usergroup, per-category setting
*flash-sites* extra updated to allows national YouTube urls; handling of other video sites brought back up to date
*id3tag-enhancements* updated to use phrased attribute names
*shadowbox* extra provides lightbox handling of LDM Jukeboxes and images in main linkbit and in attributes
*ffmpeg-utils* updated to allow video transcoding via LDM admin pages
*tagcloud* updated to allow optional list of categories to include in cloud

+ Bug fixes
Filter bar appears correctly when featured entries have been enabled but no featured entries are visible
Retain *prune_downloadtable* setting correctly after visiting admin/hits pages
Fixed highlighting of exact phrase searches
Fixed highlighting with php versions < 4.4.0/5.1.0 which lack utf8 regex extensions
Fixed sql error with some choices of *musicbox_default_sort_order* setting
Fixed IE Javascript bug when *cat_desc_popup* is set
Fixed statistics code/vba module code to correctly select latest entries, hide hidden entries, etc.
Fixed handling of *show category name* option in vba modules
Fixed 'report entry' email to correctly pick up per-category setting of *report_email*
Fixed 'report entry' and 'send to friend' to redirect correctly when selected after search
Fixed bugs in handling some characters in filenames in admin/scans
Fixed display of profile field names in profile searches
Fixed central alignment of all titles on main page
'Sort by name' category listings and category drop down menus apply natural sorts (1,2,10 rather than 1,10,2)

These were the changes in 2.3.0 alpha compared to 2.2.9

+ Add/Edit Entry
Removed 'delete image' option when image has been autocreated from entry
Minor change to autoannounce new entries phrase ldm_thread_create_body to include category name

+ Admin
Keywords page lists keywords horizontally
Linkbits page allows editing of main linkbit and catbit parameters

+ Category Display
Added *category_filter_menu* setting to display/remove keyword filter dropdown
Added *cat_default_sort_order* setting to control sort order of category lists (was *default_sort_order*)

+ Featured entries
Added *featured_usergroupid_favs* setting to select featured entries from entire usergroup(s)

+ Media Players
Removed .swf from filetypes handled by JWplayer and added .m4a

+ Ratings and Comments
Inline comments/ratings changed to be full part of main linkbits
Ajax-enabled ratings/comments available as an option when using inline comments/ratings
Inline comments/ratings also available in Jukebox

+ Starred nominations
Entries can be unnominated
Nominations are no longer stacked, i.e. only user's current nomination is recorded

+ Security
*secure-urls* extra integrated into LDM, allowing download/play urls to be fully locked down
*secure_nullindexfile* setting autocreates empty index.html files to block browing of upload/thumbs directories
vBulletin session ids handled corrrectly throughout

+ User Profiles
No longer shows LDM sections in user profile when turned off
When LDM sections in user profile are empty, 'none' is shown as contents

+ Efficiency changes
Admin and categories tables cached in vBulletin datastore and unnecessary database lookups eliminated

+ Extras
*id3tag-enhancements* extended to create attribute information for wider range of video and audio files
*JWplayer-extensions* inline player extended to play attributes that are media files
*Wimpy* wimpybutton player extended to play attributes that are media files
Test release of *ffmpeg-utils* - uses ffmpeg utility to grab video frame as thumbnail and to transcode video formats

+ Hooks and templates
Added ldm_icons_cached after caching list of icon filenames
Added ldm_catbit_start in ldm_get_categorybits()
Added ldm_construct_catlist in ldm_construct_category_list()
Added ldm_maindisplay_title in main code
Added ldm_customfields_myentries in ldm_member_customfields_myentries()
Added ldm_customfields_myhits in ldm_member_customfields_myhits
Added ldm_create_post and ldm_create_thread in forums interface code
Split links_header template into links_header, links_navbar and links_navbar_popups templates, making it easier for
sites to move the LDM menu bar (move $ldmnavbar variable in links_main)

+ Bug fixes
Various fixes to id3tag-enhancements extra; extra now also works within Edit Entry
Fixed permissions-related null category bug in Edit Entry
Minor changes to code used to highlight search results to deal with UTF-8 special characters
Unnecessary blank line removed from category description in main displays
Fixed byte reporting in limitaccess-by-posts extra
Fixed keyword display/edit bug when display is filtered on keyword
When 'link_imagesize' is left blank, LDM correctly applies VB Message Attachment/Thumbnail Size setting
Sequence 'search->comment->return' returns to entry's category, not the base category

AndrewD 10-19-2008 10:09 AM

Quote:

Originally Posted by Sandgrinder (Post 1648165)
I'm don't understand to 100% but it looks like this at the moment:
http://img252.imageshack.us/img252/8281/69381540wa8.jpg

Check the following:

- ldm/admin/settings - enable *display_entities*
- ldm/admin/permissions - give usergroups *can_view_entities* permission

I realise that I've only enabled this by default for admins, which is probably not the correct approach.

Quote:

Originally Posted by Sandgrinder (Post 1648165)
About the Downloads index it looks like this:
http://img443.imageshack.us/img443/2000/81952230xp5.jpg

I want it to look like a forum category, not splitted up. =)

Many thanks again!

Yes, that's how it is intended to look. It isn't supposed to look exactly the same as the forum layout. However, you can always create regular vb forum links to LDM categories, which will look like vb categories.

abdelghani68 10-19-2008 10:09 AM

Thanks for the new beta product but I have an error when I import the product xml in frensh :

ALTER TABLE local_linksentities ADD FULLTEXT valuedesc (entityvalue, entitydesc);

MySQL Error : Key column 'entitydesc' doesn't exist in table
Error Number : 1072

Sandgrinder 10-19-2008 10:19 AM

Quote:

Originally Posted by AndrewD (Post 1648221)
Check the following:

- ldm/admin/settings - enable *display_entities*
- ldm/admin/permissions - give usergroups *can_view_entities* permission

I realise that I've only enabled this by default for admins, which is probably not the correct approach.

The weird thing is; I've already done that, and it won't work still. :S

AndrewD 10-19-2008 12:00 PM

Quote:

Originally Posted by abdelghani68 (Post 1648222)
Thanks for the new beta product but I have an error when I import the product xml in frensh :

ALTER TABLE local_linksentities ADD FULLTEXT valuedesc (entityvalue, entitydesc);

MySQL Error : Key column 'entitydesc' doesn't exist in table
Error Number : 1072

Sorry about that - forgot which order the table had been created.

I've updated the zip file. Pls can you try again. Only one file has changed - includes/local_links_admininclude.php

abdelghani68 10-19-2008 12:34 PM

Quote:

Originally Posted by AndrewD (Post 1648240)
Sorry about that - forgot which order the table had been created.

I've updated the zip file. Pls can you try again. Only one file has changed - includes/local_links_admininclude.php

Thanks very mush. It works now!

Simon Lloyd 10-19-2008 02:23 PM

Quote:

Originally Posted by AndrewD (Post 1648210)
The vbulletin folk changed how they handled user profiles between vb 3.6 and 3.7 and this messed up my integration of LDM with this feature. In version 2.2.9, I think it works correctly if you enable the ldm admin setting *profile_ldmactivity*, but if you disable it, you get the N/A box. I think I have fixed that problem in 2.3.0.

Andrew thanks for the reply i thought it was something i had done!, I do have it enabled though!

As another side question to your valuable time could you explain how to change which style the system uses?, i have uploaded a style with no parent or merge and find when i use that style and a user clicks the links to the download/uploads the "Force Accept" page is in the old style so is the categories page and Admin, Mods cp, any ideas?

itsblack 10-19-2008 02:39 PM

Thank you Andrew, so exciting to see the new beta.

Here is the new translation of chinese. I've changed some old translations, not just translated the new phrases.

abdelghani68 10-19-2008 02:54 PM

How can I do in LDM 2.3.0 beta for change the names of tags in Idtag3 ?

When I want to delete a tag in only an entrie, it doesn't work.

thanks for your help

AndrewD 10-19-2008 03:04 PM

Quote:

Originally Posted by abdelghani68 (Post 1648302)
How can I do in LDM 2.3.0 beta for change the names of tags in Idtag3 ?

When I want to delete a tag in only an entrie, it doesn't work.

thanks for your help

In the 2.3.0 beta, tag names can start with an asterisk *. When they do, the name is replaced by the corresponding phrase in the current language. So, if you call an attribute *ldm_id3_album, then the user will see the phrase called ldm_id3_album.

Thanks for the bug report on deleting tags from entries - you seem to be right about this.

AndrewD 10-19-2008 03:05 PM

Quote:

Originally Posted by itsblack (Post 1648297)
Thank you Andrew, so exciting to see the new beta.

Here is the new translation of chinese. I've changed some old translations, not just translated the new phrases.

Wow, that's fast. Thanks.

Sandgrinder 10-19-2008 03:33 PM

Quote:

Originally Posted by Sandgrinder (Post 1648223)
The weird thing is; I've already done that, and it won't work still. :S

Got a solution or should I just reinstall it or something like that?

itsblack 10-19-2008 03:42 PM

hi Andrew, after upgrade to 2.3.0 beta.1, I got database error when I want to display the category or item, like this
PHP Code:

Invalid SQL:

                
SELECT link.linkid AS linkid
                FROM local_linkslink 
AS link
                
                    LEFT JOIN local_linksltoc 
AS ltoc
                    ON link
.linkid=ltoc.linkid
                    
                WHERE link
.linkstatus>0
                
AND link.linkhits>0
                
AND link.linkforum NOT IN (0) AND ltoc.catid IN ('9')
                
                    AND 
ltoc.catid IN (9
                    
                ORDER BY linkhits DESC
                LIMIT 20
;

MySQL &#38169;误  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY linkhits DESC
                
LIMIT 20' at line 13
错误号      : 1064
请求日期     : Monday, October 20th 2008 @ 12:36:46 AM
错误日期     : Monday, October 20th 2008 @ 12:36:46 AM
脚本        : http://mysite/forum/local_links.php?catid=9&linkid=3063
来源        : http://mysite/forum/local_links.php
IP 地址     : xxx
用户名      : xxx
类名        : vB_Database_MySQLi
MySQL 版本 : 5.0.51b-community 


AndrewD 10-19-2008 04:04 PM

Quote:

Originally Posted by itsblack (Post 1648326)
hi Andrew, after upgrade to 2.3.0 beta.1, I got database error when I want to display the category or item, like this
PHP Code:

Invalid SQL:

                
SELECT link.linkid AS linkid
                FROM local_linkslink 
AS link
                
                    LEFT JOIN local_linksltoc 
AS ltoc
                    ON link
.linkid=ltoc.linkid
                    
                WHERE link
.linkstatus>0
                
AND link.linkhits>0
                
AND link.linkforum NOT IN (0) AND ltoc.catid IN ('9')
                
                    AND 
ltoc.catid IN (9
                    
                ORDER BY linkhits DESC
                LIMIT 20
;

MySQL &#38169;误  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY linkhits DESC
                
LIMIT 20' at line 13
错误号      : 1064
请求日期     : Monday, October 20th 2008 @ 12:36:46 AM
错误日期     : Monday, October 20th 2008 @ 12:36:46 AM
脚本        : http://mysite/forum/local_links.php?catid=9&linkid=3063
来源        : http://mysite/forum/local_links.php
IP 地址     : xxx
用户名      : xxx
类名        : vB_Database_MySQLi
MySQL 版本 : 5.0.51b-community 


Sorry about that. The immediate solution is to turn off some of the statistics options (topall, newcomment and random), or at least set show_hit_parade to 0 or 1. I'll post a fix when possible.

AndrewD 10-19-2008 04:04 PM

Quote:

Originally Posted by Sandgrinder (Post 1648318)
Got a solution or should I just reinstall it or something like that?

I can't give you solutions just like that, but I'm happy to take a look at your site if your send me a PM with details and an account with full admin access to the vb admincp.

AndrewD 10-19-2008 04:27 PM

I've reuploaded the 2.3.0 beta, with fixes for the two bugs reported so far (deleting attrinbutes and database errors with statistics enabled in all categories).

Only two files have changed, so existing 2.3.0 beta sites only need to reupload these files - includes/local_links_entitites.php and includes/local_links_vbafunc.php

abdelghani68 10-19-2008 04:48 PM

Quote:

Originally Posted by AndrewD (Post 1648306)
In the 2.3.0 beta, tag names can start with an asterisk *. When they do, the name is replaced by the corresponding phrase in the current language. So, if you call an attribute *ldm_id3_album, then the user will see the phrase called ldm_id3_album.

If I have 2 entries and rename '*ldm_id3_playingtime' with 'dur?e' and add after an entrie, I can't rename for the new entrie '*ldm_id3_playingtime' with 'dur?e'. I will have a message of error.

can you help me please

itsblack 10-19-2008 05:00 PM

Quote:

Originally Posted by AndrewD (Post 1648348)
I've reuploaded the 2.3.0 beta, with fixes for the two bugs reported so far (deleting attrinbutes and database errors with statistics enabled in all categories).

Only two files have changed, so existing 2.3.0 beta sites only need to reupload these files - includes/local_links_entitites.php and includes/local_links_vbafunc.php

Thank you for the rapid fix, but it seems there is still a problem.

With the new file, the database error has gone, but I can not get link to LDM, when I setting show_hit_parade to 2.

I use firefox, it shows:
Quote:

The page you are trying to view cannot be shown because it is contained in a file type that may not be safe to open. Please contact the website owners to inform them of this problem.
And with Google Chrome I have the similar problem.

Edit: Now the vba cmp has the same problem.

ShawnV 10-19-2008 05:54 PM

Updated to 2.3.0-beta 1, everything worked fine, after uploading the quick fix, (includes/local_links_entitites.php and includes/local_links_vbafunc.php)

The LDM no longer loads when the link is used...

http://www.koww.net/forum/local_links.php


_V

AndrewD 10-19-2008 05:56 PM

Quote:

Originally Posted by abdelghani68 (Post 1648365)
If I have 2 entries and rename '*ldm_id3_playingtime' with 'dur?e' and add after an entrie, I can't rename for the new entrie '*ldm_id3_playingtime' with 'dur?e'. I will have a message of error.

can you help me please

I'll investigate, but what I tried to explain is that you don't need to change the entity name - you provide a translation for the phrase ldm_id3_playingtime

AndrewD 10-19-2008 06:00 PM

Quote:

Originally Posted by ShawnV (Post 1648412)
Updated to 2.3.0-beta 1, everything worked fine, after uploading the quick fix, (includes/local_links_entitites.php and includes/local_links_vbafunc.php)

The LDM no longer loads when the link is used...

http://www.koww.net/forum/local_links.php


_V

I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.

ShawnV 10-19-2008 06:02 PM

Quote:

Originally Posted by AndrewD (Post 1648418)
I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.

Yes, that fixed it...thank you Andew.

_V

itsblack 10-19-2008 06:35 PM

Quote:

Originally Posted by AndrewD (Post 1648418)
I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.

Yeah, thank you Andrew, the problem is fixed.

Another question, how can I make the attributes display like the old way, I mean this:
Quote:

attribute name: attribute
there are too many <tr> & <td> in the template, I cannot figure it out myself.

K4GAP 10-20-2008 01:54 AM

Getting the following message when trying to upload a WMV file...

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

What up with that?

AndrewD 10-20-2008 02:57 AM

Quote:

Originally Posted by GaryT (Post 1648668)
Getting the following message when trying to upload a WMV file...

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

What up with that?

One possibility is that the wmv file is bigger than the php.ini setting *post_max_size* As a result, the scripts only get to see part of the information that the user has posted. vbulletin gets to give its error message about the security token before lDM gets a chance to warn the user.

Worth checking *post_max_size* and *upload_max_filesize", e.g. on the LDM admin pages or vb/admincp/maintenance/phpinfo

AndrewD 10-20-2008 03:07 AM

Quote:

Originally Posted by itsblack (Post 1648442)
Another question, how can I make the attributes display like the old way, I mean this:

there are too many <tr> & <td> in the template, I cannot figure it out myself.

It's the "links_entitymarkupbit" template. The template actually contains several parts, each handling one type of attribute. These are contained in blocks <if condition="$entitytemplate==N"> ... </ if> Maybe I should break it up some more.

Here are what the blocks do:

N=1 - url/download attributes
2 - images
3 - not used
4 - text and hidden types
5 - yes/no types
6 - media types

So, you can get the layout name: contents for text attributes like this:

Code:

<if condition="$entitytemplate==4">
<table width="100%">
<tr>
        <td>
        <span class="smallfont">$entityname:
<if condition="$links_permissions['can_search_link']">
        <a href="$SEARCH_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=show&amp;entity=$entityvalue" title="$vbphrase[ll_search]">$entitytext</a>
<else />
        $entitytext
</if>
        </span>
        </td>
</tr>
</if>
<if condition="$entitydesc">
<tr>
        <td>
        <span class="smallfont">$entitydesc</span>
        </td>
</tr>
</if>
</table>
</if>


abdelghani68 10-20-2008 01:31 PM

Quote:

Originally Posted by AndrewD (Post 1648414)
I'll investigate, but what I tried to explain is that you don't need to change the entity name - you provide a translation for the phrase ldm_id3_playingtime

I am very sorry. I have understand now.Thanks !

vbboarder 10-20-2008 03:34 PM

Wow, you got A LOT of coding done in 2 months! Thanks for the update Andrew :D I'll install it today and start testing. Special thanks for the upgrades to attributes, shadowbox, ffmpeg, & ID3 tags.

vbboarder 10-20-2008 04:13 PM

Image Resizer Mod’s Shadowbox conflict with LDM causing LDM’s Shadowbox to not play images/ audios/ videos in both IE7 & FF2, or if it does play, then there are other problems like audio only – no video, IE7 error message popups, Close button becomes unresponsive, etc. This problem is expected since the scripts are the same, which results in namespace collisions.

Solution: since LDM’s Shadowbox does much more than the Image Resizer’s Shadowbox and because the Image Resizer supports 10 different image viewers, simply choose another image viewer for the Image Resizer in its settings page.


All times are GMT. The time now is 03:52 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.03260 seconds
  • Memory Usage 1,935KB
  • 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
  • (2)bbcode_php_printable
  • (30)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