vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

ConKien 12-05-2005 05:22 AM

If I want to add a right/left colum just to display the category, how should I modify to do so? Would someone please give me a head start?

AndrewD 12-05-2005 05:26 AM

Quote:

Originally Posted by ConKien
If I want to add a right/left colum just to display the category, how should I modify to do so? Would someone please give me a head start?

Where do you want the column to appear? On all pages on your board or just inside LDM? And do you want to move the information that is currently in the category table at the top of the LDM display to the side, or are you wanting to display something else, e.g. the top-level category index?

agiacosa 12-05-2005 02:16 PM

I've changed the Links and Downloads Manager phrase to something else. However, in WOL, it still shows as Links and Downloads Manager. I can't seem to find the phrase that handles that. Is this hardcoded somewhere?

Thanks.

AndrewD 12-05-2005 03:35 PM

Quote:

Originally Posted by agiacosa
I've changed the Links and Downloads Manager phrase to something else. However, in WOL, it still shows as Links and Downloads Manager. I can't seem to find the phrase that handles that. Is this hardcoded somewhere?

Thanks.

Unfortunately, in 2.1.0, this is hard coded in a plugin - I need to figure out how to grab uncached phrases from the database. You can change it either by editing the main product installer and then reinstalling or by going to your VB admin/Plugin system/Plugin Manager. In either case, you need to edit the plugin called Links and Downloads Manager - Handle Who's Online which is hooked into online_location_unknown.

You will find three lines in this plugin which look like this:
Code:

$userinfo['action'] = "Viewing Links and Downloads Manager";
...
$userinfo['action'] = "Listening to Content from Links and Downloads Manager";
...
$userinfo['action'] = "Viewing Links and Downloads Manager";

Change the text as you wish. I'll try to fix this in the next release.

agiacosa 12-06-2005 08:34 AM

Quote:

Originally Posted by AndrewD
Unfortunately, in 2.1.0, this is hard coded in a plugin - I need to figure out how to grab uncached phrases from the database. You can change it either by editing the main product installer and then reinstalling or by going to your VB admin/Plugin system/Plugin Manager. In either case, you need to edit the plugin called Links and Downloads Manager - Handle Who's Online which is hooked into online_location_unknown.

You will find three lines in this plugin which look like this:
Code:

$userinfo['action'] = "Viewing Links and Downloads Manager";
...
$userinfo['action'] = "Listening to Content from Links and Downloads Manager";
...
$userinfo['action'] = "Viewing Links and Downloads Manager";

Change the text as you wish. I'll try to fix this in the next release.

Thanks.

I'll wait rather than dive into the code.

Dsyn11 12-06-2005 11:42 PM

Hey Andrew, me again. :D

I set link_imagesize to 300, but I want that to be resize WIDTH. I want HEIGHT to be resized to 75. Any way to restrict both vertical and horizontal? Thanks!


David

ConKien 12-07-2005 03:03 AM

Quote:

Originally Posted by AndrewD
Where do you want the column to appear? On all pages on your board or just inside LDM? And do you want to move the information that is currently in the category table at the top of the LDM display to the side, or are you wanting to display something else, e.g. the top-level category index?

I want to make the category itself to be one column and the rest of LDM just like it is. I just want this column to appear inside LDM, not on every page of my website.

Thanks,
ConKien

AndrewD 12-07-2005 04:08 AM

Quote:

Originally Posted by Dsyn11
Hey Andrew, me again. :D

I set link_imagesize to 300, but I want that to be resize WIDTH. I want HEIGHT to be resized to 75. Any way to restrict both vertical and horizontal? Thanks!


David

Not in the current version, unless you edit the file local_resize.php:

around line 148, these two lines:
Code:

$thumb = ImageCreateTrueColor($thumb_w,$thumb_h);
imagecopyresized($thumb,$im,0,0,0,0,$thumb_w,$thumb_h,$old_x,$old_y);

You need to set thumb_x and thumb_h to the width and height you require. This of course will be a semi-permanent change. Will think about this for 2.1.1 - the reason for having only one parameter was so that images maintain their aspect ratios.

EasyTarget 12-07-2005 06:20 AM

just a small spelling bug in the administer settings page under upload_filetypes
change:Filetypes that can uploaded
to:
Filetypes that can be uploaded

Annie^.^ 12-08-2005 11:33 AM

Problem with your hack. When users are adding banners to the links after a while when you click on the banner it won't take you to the website it will just open the banner in a new window. Any idea what causes this?


All times are GMT. The time now is 01:08 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.04316 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (5)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