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)

civil78 02-22-2006 12:28 PM

I have a little problem. I go from the vbulletin admin panel into the log file of the statistics of Links and Downloads Manager.

In the table that appears in log of the last downloads, the 1st column that have the URL of the download doesn?t show the complete link. For example show in the image.

https://vborg.vbsupport.ru/

Please if anyone knows where I can change the code of the template of this table. Can I make it to show the complete link in two lines?

P.S. This isn't a problem of the weight of my screen. Between the 1st col and 2nd col the table have a lot of blank space.

AndrewD 02-22-2006 04:07 PM

Quote:

Originally Posted by civil78
I have a little problem. I go from the vbulletin admin panel into the log file of the statistics of Links and Downloads Manager.

In the table that appears in log of the last downloads, the 1st column that have the URL of the download doesn?t show the complete link. For example show in the image.

http://briefcase.pathfinder.gr/downl...ownloadlog.gif

Please if anyone knows where I can change the code of the template of this table. Can I make it to show the complete link in two lines?

P.S. This isn't a problem of the weight of my screen. Between the 1st col and 2nd col the table have a lot of blank space.


Yes, this was deliberate. It's an easy change to the code in local_links_admin.php. Go to the line which reads
Code:

iif(strlen($myrow['linkurl'])<=48,$myrow['linkurl'],substr($myrow['linkurl'],0,45).'...').'
and simply change this to read
Code:

$myrow['linkurl']

sinoeu 02-22-2006 04:41 PM

Quote:

Originally Posted by AndrewD
I'll put this on the list (actually, it's quite a long standing request), but I can't guarantee to do it very quickly. I know that there are several VB hacks around for handling points - is there any particular interface that people use most/prefer?

Seems that the eBux is the most popular in vbb 3.5 now, and i think it can be a priority in your development of LDM to have a hook for the function of point systems - So with the point system the LDM can increase the active members of a furom. :rolleyes:

TosaInu 02-22-2006 05:07 PM

Very nice extension.

Is it possible to direct the upload to another server (site)? Is it possible to monitor a folder on another site? We have the forum and thus LDM at site 1, and the files at site 2 (different servers, different domain).

Langly 02-23-2006 03:04 AM

I was moving my vbulletin to a different host and I installed LDM as normal and then I uploaded the LDM SQL files from my old host to my new host since I have 2000 downloads all with pictures and stuff. When I try to download one of my files I keep getting this error now:

Error - Cannot determine if you can access link: linkid,forumid= 1662, 32767

I have the permissions set right so whats the problem? Any ideas how to fix this?

AndrewD 02-23-2006 06:35 AM

Quote:

Originally Posted by Langly
I was moving my vbulletin to a different host and I installed LDM as normal and then I uploaded the LDM SQL files from my old host to my new host since I have 2000 downloads all with pictures and stuff. When I try to download one of my files I keep getting this error now:

Error - Cannot determine if you can access link: linkid,forumid= 1662, 32767

I have the permissions set right so whats the problem? Any ideas how to fix this?

Yes, on your first board, you applied forum permissions and your new board can't find a forum with the same forumid (maybe you recreated your forums?). Go into LDM/Admin/Categories/mass edit to mass change the forum associations

AndrewD 02-23-2006 06:41 AM

Quote:

Originally Posted by TosaInu
Very nice extension.

Is it possible to direct the upload to another server (site)? Is it possible to monitor a folder on another site? We have the forum and thus LDM at site 1, and the files at site 2 (different servers, different domain).

You can certainly link to files on another server. You cannot use LDM to upload to the other server - I imagine that would be considered a security breach. Monitoring folders on another site is not currently available but I don't think this would be difficulty to add.

TosaInu 02-23-2006 07:49 AM

Quote:

Originally Posted by AndrewD
You can certainly link to files on another server. You cannot use LDM to upload to the other server - I imagine that would be considered a security breach. Monitoring folders on another site is not currently available but I don't think this would be difficulty to add.

Hello AndrewD,

I got it basically running now phew. It looked like a tough nut to crack for me. Your documentation is helpful, but something basic was wrong on the testboard (still had the production board home url set).

It would indeed be a security breach if you uploaded to just a foreign server, and that isn't possible afaik. But it should be possible to install a tiny helper PHP script on the remote server. The LDM makes contact with the helper PHP file when something has to be uploaded to the remote server. Another way to say/look at/implement is to have a 'link' inside LDM to a full remote uploader. Just dirty inserting a link is something even I may pull off, but making it neat and a part of LDM requires a coder.

I once had some sort of PHP FTP script. It was part of a tool running on my PC to FTP files to a server. Different thing, but makes ideas.

Both the forum and the file server are ours and can run PHP/SQL.

Monitoring remote folders will be great. It's very helpful to add all those ancient files at once.

Is it possible to schedule one or more monitorings? We have some community wide play by e-mail campaign and people use a directory to upload zip/rar saved games. It would be neat if a tool scanned that directory a few times a day to insert new links.

pcoskat 02-23-2006 04:01 PM

Nifty.

Can I set this up so members (or nonmembers) have to pay to post in the link directory?

Bhuwan 02-23-2006 06:28 PM

SEOf feature doesnt work for me :(


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