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)

AndrewD 06-21-2006 07:29 PM

Quote:

Originally Posted by sydude
And here's another quick template question.. (sorry if this sounds completely dumb or if it's been covered ad nauseum..):

How do I make a new linkbit and have it selectable in the LL settings? For now I've had to delete out Greg's template with the code you gave me.

Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.

sydude 06-21-2006 07:30 PM

Quote:

Originally Posted by AndrewD
Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.

Thank you. Again.

obmob 06-22-2006 03:05 PM

Quote:

Originally Posted by obmob
Here i go again... excuse me Andrew, any chances to allow admin to post html in image description?

I have a postcard software called vCard, i can direct link some images to send them as a postcard... so, i want to add a different sized image and point it to that program...

Also, i have a mobile feature, and also need to point it to it to allow members to send it to their mobile phones...

So, maybe adding html permission would make it easier to you :p

Thank you for the big effort you make!

u.u any comment on this?

AndrewD 06-22-2006 03:33 PM

Quote:

Originally Posted by obmob
u.u any comment on this?

I hadn't given time to this yet - there have been other questions on my mind.

The problem with allowing html is that it is a potential security breech and needs careful handling. Is there a reason why you need to tag the pictures, and not (e.g.) add the tags inside the description field, where html is already allowed if you turn this permission on?

AndrewD 06-23-2006 06:51 PM

is now available in first post of this thread

Main changes from 1st beta - many more hooks to help the integration with vbPlaza

directprint 06-24-2006 06:03 AM

I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

A bit more on this error

Warning: Division by zero in /includes/local_links_include.php on line 238
The following setting(s) are invalid
thumbs_dir : upload_dir
Directory upload_dir (/home/username/public_html/upload_dir) doesn't exist and I can't create it
upload_dir : /upload_dir
I can't find/create subdirectories in /upload_dir (trying /home/username/public_html/upload_dir/2) - check permissions

Both these directories are 777

AndrewD 06-24-2006 06:36 AM

Quote:

Originally Posted by directprint
I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value

directprint 06-24-2006 06:48 AM

Quote:

Originally Posted by AndrewD
Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value

Thank you all fixed with a simple number.

directprint 06-24-2006 10:38 AM

I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

AndrewD 06-24-2006 12:09 PM

Quote:

Originally Posted by directprint
I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

You're too helpful :) This is another bug introduced in the latest beta.

I had tried to improve the error checking for uploads and thumbs directories, but there was a bug in the new code which doesn't show up on a windows server. I'll post a new version of beta 2 in a few minutes.

Sorry.


All times are GMT. The time now is 11:14 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.04438 seconds
  • Memory Usage 1,745KB
  • 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