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)

Benj 11-03-2005 01:51 AM

Quote:

Originally Posted by AndrewD
I'm not sure that I really like the look yet, but perhaps you can try this variant on the link_listbit template and let me know if that's what you are wanting to achieve. Bear in mind that with the links collapsed by default, you are relying on your users enabling javascript.

i like this template its cool :D

Lovin this product man......

any idea about puttin so called template conditionals in this template to show if any paticualar download has moved up or down the chart. sorry im kinda drunk.

the idea i have is to show like an upward (or downwards) image showin if the paticualar download has moved up or down the hits list regarding its previous position.

for example if download a had 19 hits and b had 17 on day 1
and then
on day to a had 19 and b had 21 then b would have an upward image next to it showing it had gained a place in the hits list


hopes this is reomotly clear as i said im kinda drunk

if its not possible or requires lots more "hard" sql then dw just a drunken idea



cheeers

Benj

AndrewD 11-03-2005 03:02 AM

Quote:

Originally Posted by robihot
Hmmm... My location is Switzerland. But can it be that within VB (as Thumbs if attched to a post) it's working but not in DLM?

I assume, VB is also using GD2 to create the Thumbnail. And the GIF is realy a normal GIF.

VB uses the same library but not the same function. As a first guess, lets assume the problem is inside LDM. As I suggested, email me one of your gifs and I'll try to track down the problem.

EasyTarget 11-03-2005 05:46 AM

how do I use/integrate that xml you made? (sorry I'm a noob)

AndrewD 11-03-2005 06:06 AM

Quote:

Originally Posted by EasyTarget
how do I use/integrate that xml you made? (sorry I'm a noob)

The xml is a single template, a replacement for the link_listbit template. Just use VB admincp to update the template with these new contents. You can always 'revert' it again later

robihot 11-03-2005 06:19 AM

Quote:

Originally Posted by AndrewD
VB uses the same library but not the same function. As a first guess, lets assume the problem is inside LDM. As I suggested, email me one of your gifs and I'll try to track down the problem.

Hello Edward,
I emailed you an example of the GIF I tried to resize.
PS: The URL is fine, I can see it in the HTML page (of course, otherwise the PNG/JPG would be displayed :nervous: )

Thanks and regards, Robi

NuclioN 11-03-2005 10:13 AM

Great hack but i'm confused with the upload permissions. When my upload dir is forum/uploads how must i specify the *local_file_root* and
*local_file_root_prefix* and further in the settings: upload_dir ?

Also i wonder how you can add an image beside the added link. Tnx in advance.

AndrewD 11-03-2005 11:10 AM

Quote:

Originally Posted by NuclioN
Great hack but i'm confused with the upload permissions. When my upload dir is forum/uploads how must i specify the *local_file_root* and
*local_file_root_prefix* and further in the settings: upload_dir ?

local_file_root: indicates whether files are located in terms of their position on your web site ('web space') or the raw server ('server space')
local_file_root_prefix: force files to be in a particular part of 'web space' or 'server space'
upload_dir: the specific directory in which the uploads are stored, relative to the constraints imposed by the above

Example 1: your upload directory, uploads, is a top-level directory in http://yoursite, ie all uploads will be stored inside http://yoursite/uploads -> set local_file_root to 0, leave local_file_root_prefix blank and set upload_dir to /uploads

Example 2: your upload directory, uploads, is to be kept outside your website so that curious users can't get at it. You want it to be a subdirectory of /data on the the computer which is acting as server. All local documents that you will 'serve' to your user community will also be held in subdirectories of /data: set local_file_root to 1, set local_file_root_profix to /data and set upload_dir to /uploads

Quote:

Originally Posted by NuclioN
Also i wonder how you can add an image beside the added link. Tnx in advance.

Two ways: Either use standard BBcodes [img] within the descriptions or title. Or set link_image_size to a non-zero value, in which case the link entry form will extend to include an additional item, which is the image to accompany the entry. In the second case, your web server must have the GD2 library available.

NuclioN 11-03-2005 12:17 PM

Followed your suggestions but i can't upload anything. Also i can't upload a link icon, not by direct upload and not with an url to an image. :(

AndrewD 11-03-2005 12:19 PM

Quote:

Originally Posted by NuclioN
Followed your suggestions but i can't upload anything. Also i can't upload a link icon, not by direct upload and not with an url to an image. :(

Is your web site available to the public - if so, the easiest way to help is if you send me a PM with an admin userid and password and the site's url, so that I can take a look

NuclioN 11-03-2005 12:39 PM

That's ok, check PM. I also see database errors linked to 'image.pm' but this maybe something else


All times are GMT. The time now is 11:05 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.02722 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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