![]() |
To get the flash-sites plugin to work, do I need to enable allow_remote_downloads in LDM Settings? Also, do I need to enable the swf filetype in VB Attachment Manager?
|
Quote:
Quote:
|
Quote:
Quote:
because i would really need something for a product that is nearly finished. i.e. 3 extra hooks. The product is nearly finished. What it does it allows you to have translated category titles and descriptions. (I read in the FAQs that you dont plan to support that.. but i really wanted it) It uses for the moment 3 plugins and 3 fileedits (that what i need the hooks for) and one template edit. It uses the same translation system as the custom profile fields in vbulletin profile. what it does: creates custom phrases when adding or modifying category deletes custom phrases when deleting category. (this is done with plugins as there are nice hooks implemented) When editing a category there is a link called "translations" besides the title and the description that opens the phrase editor with the phrase to translate. what i'm still working on is the replacement of title and descriptions (still need one dropdown and wol) If there is interest i will post the beta product here.. probably on sunday (cant work on it till then) (you can then check it out and decide if you think it would be worth it to add the hooks) Felix |
Quote:
|
Am I missing it? Is there a way to show all of the links on the main page? We don't have that many links and I want to display them all at once, yet still have them split into categories.
Thanks for any and all advice. |
Quote:
I've re-tried the test file provided with the release, and found a couple of problems with the 2.2.9 releases. - If you have the LDM setting local_file_root set, the addon does not work properly. There's a bug, fixed in the attached includes/local_links-players.php - DailyMotion doesn't work any longer. I think the site has changed the url format. |
Quote:
|
Thanks for that, Andrew.
That looks ok, but I really want to see the complete Link entries listed on the main page. I think my real problem is I have not yet explored the Category Display Settings properly. I had better get with it. ;) |
Icons dependent of styles would be great... if possible :p
|
ok.. as promised.. here are the 2 hacks..
ATTENTION.. this is very beta... and straight forward.. only apply if you know what you are doing!!! 1. the styledependent category icons.. (its a file edit and the category icons ONLY!!) open includes/local_links_include.php find: PHP Code:
PHP Code:
then create a "ldm" directory in the misc image directory of your style... (in every style) into that directory copy "category_new.png" and "category.png" corresponding to the style.. that was all i needed.. ------------------ 2. multi language category titles and descriptions.. Ok this is more complicated.. 1 product (see attachment) what the product does: every time you create a category or you modify a category title or description, it creates a 2 custom phrase. it inserts your title (the one you created or modified the "normal" way as custom phrase in masterlanguage. the name of the title-phrase will be $vbphrase[ll_cat_catid_title] in the vbulletin phrasemanager you can then add translations to that phrase.. IF you modify the title (as u usually do) the phrase gets overwritten in masterlanguage IF you delete the category the phrase gets deleted. It also adds a "Translations" link below "Category name" and "Category description" and the phrase: Translations --------- ok thats the product... the hooks where there in the ideal places. Now the fileedits... (they are in locations where i did not find any hooks) open includes/local_links_include.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
then open: includes/local_links_profile.php find: PHP Code:
PHP Code:
and finally open the main local_links.php in the vbulletin directory find: PHP Code:
PHP Code:
Don't forget to import the product... ATTENTION: This will only work if you have more than 1 language installed in vbulletin. At least 2 languages must exist!!!! if you have only 1 language installed.. it will do nothing!!! AND .. you will only see the translations after you actually translated the phrases ;) IF you have existing categories.. clicking the "translations" link will give: phrase does not exist. In that case.. just hit the submit button on the Add/Edit Category page. Then only the phrase is created and then you will get the phrase when clicking the translations link. This has to be done once for every existing category. When creating a new category you also have to save it. Then only the translations link gets you to the phrase. Todo: verify if the phrase replacements are needed in other places.. for the moment it works in main page, category pages ( the dropdown is also translated) and in the search page.. (I did not test the profile page but added the translation) thats it.. I hope this is usefull for someone.. and if there were hooks.. that would save the file edits.. ------------- PS @ andrew Just got a great fright... when editing a template i somehow seen that there were no sessionurls in the links.. (in the office.. they have disabled cookies on our browsers :( ) which meens that i get logged out each link i click.. i meen if for example i go to page 2.. i get logged out :( I didnt have the time to check all the templates and all the files. |
All times are GMT. The time now is 02:56 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|