vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)

farzana 04-25-2009 10:30 PM

hello i have installed this modification. but facing a small problem.. with my article i have a attachment but it is not showing as a thumbnail in the main article page..

my article page is http://www.shopnoranga.com/forum/articles.php

my recent article at the forum is http://www.shopnoranga.com/forum/sho...d.php?p=119691

waiting for the feedback..

leeherron 04-25-2009 10:42 PM

All it needs is an nice little ajax routine that uploads images to a defined folder, then creates a token that can be inserted through the article to embed the image.

farzana 04-25-2009 10:44 PM

screen shots are here-

https://vborg.vbsupport.ru/external/2009/04/33.jpg

https://vborg.vbsupport.ru/external/2009/04/34.jpg

bananalive 04-26-2009 03:11 PM

Quote:

Originally Posted by farzana (Post 1799017)
hello i have installed this modification. but facing a small problem.. with my article i have a attachment but it is not showing as a thumbnail in the main article page..

my article page is http://www.shopnoranga.com/forum/articles.php

my recent article at the forum is http://www.shopnoranga.com/forum/sho...d.php?p=119691

waiting for the feedback..

It's because the image extension is .jpeg

Find in articles.php
PHP Code:

ON (attachment.postid thread.firstpostid AND attachment.extension IN('jpg''gif'

Change to
PHP Code:

ON (attachment.postid thread.firstpostid AND attachment.extension IN('jpg''jpeg''gif'


bananalive 04-26-2009 03:12 PM

Quote:

Originally Posted by leeherron (Post 1799021)
All it needs is an nice little ajax routine that uploads images to a defined folder, then creates a token that can be inserted through the article to embed the image.

I'm not sure what you mean?

bananalive 04-26-2009 03:13 PM

Quote:

Originally Posted by Mark.B (Post 1799001)
This is an excellent modification, thank you.

I have done a little playing around with the layout as I have never been a big fan of fieldsets, you don't get enough control over how they appear in different browsers.

So I did mine like this with a little mucking about with the code.

Apologies for breaking vb.org's table layout with this image:

looks nice.

The search articles is nice addition as well

Mark.B 04-26-2009 03:19 PM

Thanks.

The search box is really easy....I simply looked in the forumdisplay template, took the search box dropdown code from there, and pasted it in.

The only problem I am having with that is that I have had to hard code the forumid in as I can't find any variable that carries it.

farzana 04-26-2009 04:09 PM

excellent thanks it is working..

bananalive 04-26-2009 04:33 PM

Quote:

Originally Posted by Mark.B (Post 1799359)
Thanks.

The search box is really easy....I simply looked in the forumdisplay template, took the search box dropdown code from there, and pasted it in.

The only problem I am having with that is that I have had to hard code the forumid in as I can't find any variable that carries it.

Use the condition:

<if condition="$c">$c<else />$vboptions[af_forumids]</if>

farzana 04-26-2009 04:44 PM

another request can you please do something like this that the picture will look same size in the main article page.. i am talking about the attachments... like the users may upload pictures with different size but at the end they will look same size.. so it will look clean..

thanks in advance..


All times are GMT. The time now is 11:33 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.01683 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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