Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2010, 11:40 AM
Younessnet Younessnet is offline
 
Join Date: Jun 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Please: Problem viewing images uploaded

Hello friends

sorry for my English, I'm French and I use just a google translator


- One day, I asked how to stop members to upload their pics in profile, or their avatars on my harddisk or my ftp, and given permission to add them just by external links

Good one person helped me, and asked me to remove these code:

Quote:
in research and tmeplate modifyavatar deleted this snippet: : <div class="blockrow">
<label for="avatarupload"><vb:if condition="$show['customavatar_url']">{vb:rawphrase option_2_upload_image_from_computer}:<vb:else />{vb:rawphrase upload_image_from_computer}:</vb:if></label>
<div><input type="file" id="avatarupload" class="primary textbox" name="upload" onchange="check_yes('avatar_yes')" tabindex="1" /></div>
<vb:if condition="$show['maxnote']">
<p class="description">{vb:raw maxnote}</p>
</vb:if>
</div>
Quote:
directs you to the template modifyprofilepic then finds and removes this snippet: <div class="blockrow">
<label for="avatarupload"><vb:if condition="$show['profilepic_url']">{vb:rawphrase option_2_upload_image_from_computer}:<vb:else />{vb:rawphrase upload_image_from_computer}:</vb:if></label>
<input type="file" class="primary textbox" name="upload" id="avatarupload" />
<input type="hidden" name="MAX_FILE_SIZE" value="{vb:raw inimaxattach}" />
<vb:if condition="$show['maxnote']">
<p class="description">
{vb:raw maxnote}
</p>
</vb:if>
</div>
- Good one person helped me, and asked me to remove these code:

in research and tmeplate modifyavatar deleted this snippet:
directs you to the template modifyprofilepic then finds and removes this snippet:

Well, after this, the members have no right now to upload their personal pictures and pictures on my harddisk, but they can do just by exporting an image from an external link ...


- But I noticed a change, and I do not know if it's because of this change ...

For example, this change has not exactly hit the upload avatars and display pictures of profile, but rather all images uploaded to the forum
also add pictures and messages subjects

by cons, I just wanted to stop for display pictures and avatars, and authorize, on the topics and messages ..... and now when a member wants to upload an image on a topic or message, here is a screenshot:



- and this is how it appears on the message (in large)



- and when I am in Administrator mode, the approach works well, but slows down the rendering! , And here is a screenshot:



and here it appears on the subject in small and when you click (she grew up in flash mode) :



Good if you like,
I want to upload images is from the outside by external links and not on my harddisk, but just for display pictures and avatars ...
and at the same time I want to display the flash mode, and that's what interests me is the small display, and the flash mode when you click on filing ... I hope you understand me ...

If this is not possible, and I'm uploading the pictures on my FTP so I can have the flash mode, it does not matter, tell me how to make the codes at the top that I removed ...
Reply With Quote
  #2  
Old 07-02-2010, 06:10 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your images are dead mate
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 01:37 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.03557 seconds
  • Memory Usage 2,171KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete