vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - [SIMPLISTIC] Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=259519)

hoadiem 04-03-2011 12:24 AM

Quote:

Originally Posted by Baylyns (Post 2169870)
Hello,

In the template newthread it has to be searched :
PHP Code:

action="newthread.php?do=postthread&f={vb:raw forumid}" 

I am under VB 4.1.2 and I can't find the right place:

PHP Code:

<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&amp;f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})"

Where should I place this:
PHP Code:

enctype="multipart/form-data" 

Best regards

i have the same issue

andrefedalto 04-03-2011 01:04 PM

Quote:

Originally Posted by Baylyns (Post 2169870)
Hello,

In the template newthread it has to be searched :
PHP Code:

action="newthread.php?do=postthread&amp;f={vb:raw forumid}" 

I am under VB 4.1.2 and I can't find the right place:

PHP Code:

<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&amp;f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})"

Where should I place this:
PHP Code:

enctype="multipart/form-data" 

Best regards

Right before "action="

Quote:

Originally Posted by interfx (Post 2180219)
Is there a way to make this work only a specific, defined forum category? vs. all of my forums?

Thanks in advance, this is a very simple solution!

The is an option called Forums to TurnOn. Enter the forumids, separated by a comma, and the system will only work on these forums.

dnk.it 04-05-2011 02:47 PM

is there a way to allow only certain usergroup to upload thumbnail? thanks

Khriz 05-30-2011 03:37 PM

Best seen eh I hope that you continue with the project and have compatibility with future versions of vbulletin as far as possible in the case of making a donation.

congratulations!

PuttsMoBiles 05-30-2011 07:12 PM

Where is In "threadbit"

I dont have a file named that.

LethalGaming 06-03-2011 10:40 PM

you should edit this addon and make it show users avatars ahead of the thread title :D.

RedHacker 05-23-2016 02:52 PM

I have 4.1.7 Version but not find manage file to upload when create new thread. Why ?

oimel28 02-17-2017 03:23 PM

1 Attachment(s)
Hello if a user forget to upload a thumbnail, than there will be show a "error empty picture" . How can i fix it? I want if you dont choose a thumbnail, that you will see the basic thumbnail symbol ???

Outlaw Mantis 02-19-2017 11:42 PM

I have the same problem with no upload option on thread creation. I'd be sure to chuck a donation your way but unfortunately in its current state this mod won't work for me. Like the person who requested it, I only wanted something simple. Apparently the coder hasn't been here in a year, so I'll move onto the fully-fledged mod in a couple of weeks if nobody has anything to add. :)

IggyP 12-30-2018 04:52 AM

Quote:

Originally Posted by oimel28 (Post 2582527)
Hello if a user forget to upload a thumbnail, than there will be show a "error empty picture" . How can i fix it? I want if you dont choose a thumbnail, that you will see the basic thumbnail symbol ???

idk whats the chances of getting help with this one, but i concur....if a thread is created without uploading an image, rather than the default of "no image" it shows a broken image


All times are GMT. The time now is 05: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.01076 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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