Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Watermarking full size images in vBGarage 4.0.0 Details »»
Watermarking full size images in vBGarage 4.0.0
Version: , by noppid noppid is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-22-2005 Last Update: Never Installs: 0
 
No support by the author.

This option is available and can be turned on in vbgconfig.php. You will need to set the path to your watermark image and the name of your watermark image. The watermark image must be a .png file. If anything goes wrong with watermarking after enabling it, the affect will be the image does not get watermarked. This will mostly be caused by not configuring something correctly.

By configured correctly we mean, the watermark image is a valid .png and the watermark option is enabled in vbgconfig.php and the path to the file is set correctly in vbgconfig.php and nothing went wrong in the file system. If any of the above does occur, then the image will not be watermarked. Rather then throwing errors when something went wrong we thought it best to just skip the step if a sanity check failed.

To enable watermarking you set "$vbg_use_wm = 1;" in the vbgconfig file and set the name of the watermark image file with "$vbg_wm = "watermark.png";". You also have to set the path to your image with "$vbg_path = "/home/ACCOUNT_NAME/vbg_images_folder/";" All of this is done in the vbgconfig.php.

There is one more setting in vbgconfig.php for positioning the watermark. Setting "$vbg_position = 0;" (default) will display the watermark top and center of the full size image. Setting "$vbg_position = 1;" will display the watermark on the bottom center of the full size image.

After setting the vbgconfig.php file and having uploaded your watermark image to the configured folder, upload the vbgconfig.php file to your forums ROOT folder. When an image is uploaded, if all is configured correctly, the full size image will be watermarked and show as so when viewed as a full size popup.

If you use file system mode, the folder should/will be the same folder that you choose to store your images in.

Images for watermarking should be .png. They should not be transparent and should have a background. Be judicious about sizing, you have to consider small images being watermarked. We are using 75x15 and 100x15 in our trial runs.

If you need help with enabling watermarking or configuring watermarking, please post in this thread.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-24-2005, 05:18 AM
Turbo_WRX Turbo_WRX is offline
 
Join Date: Mar 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i hate to be stupid, but can you please be more specific? I'm new to all this coding and stuff, so I don't know what to change

also again on me being dumb, how do i check the "phpinfo()"???

another question: is there a way to set seperate user group permissions for the garage? Like, I want reg. users to be able to only upload 2 pics, while another user group, Elite Members, can post 10. How can i do that? noppid i love you! lol j/p but yeah, your the smart guy, so i ask u
Reply With Quote
  #23  
Old 03-24-2005, 11:43 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Turbo_WRX
i hate to be stupid, but can you please be more specific? I'm new to all this coding and stuff, so I don't know what to change

also again on me being dumb, how do i check the "phpinfo()"???

another question: is there a way to set seperate user group permissions for the garage? Like, I want reg. users to be able to only upload 2 pics, while another user group, Elite Members, can post 10. How can i do that? noppid i love you! lol j/p but yeah, your the smart guy, so i ask u
The features that are in there, beyond what magnus originally coded, are basically what "I" need. For a feature to be added, "I" need to need or want it or it needs to be a problem.

I took this over for two reasons, magnus was busy there I guess and I jumped in too help squash a few bugs, secondly I wanted some features for "me". Pretty selfish, I know. But that's where we are.

I have thought about granular permissions, but have not done anything about it. I probably won't do anything till I solve, what I think is an issue, the way the thumbs are displayed. I hate it. So till I'm convinced that is ok the way it is or improve it, we're in neutral as far as changes.

I don't thank magnus often enough, so Big thanks to magnus, let's not forget he started this and made it popular.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 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.03819 seconds
  • Memory Usage 2,229KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete