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 06-10-2014, 03:29 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default recent forum posts widget

Hello there...
The recent forum posts widget (CMS) doesn't show images/attachments.
Is this as designed?

Thanks...
Reply With Quote
  #2  
Old 06-10-2014, 08:57 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it displays a "plain text" version of the post. My guess is that it was done that way because the idea is to show the first sentence or so of the post in a small space, and if you allowed images and bbcodes, it would get very complicated.
Reply With Quote
  #3  
Old 06-10-2014, 10:47 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so how would this be explained?



These 2 posts were made with pictures and where the pictures are supposed to be, there is a gap.

Looks a bit odd......

Thanks..
Attached Images
File Type: jpg Cheezer.jpg (39.9 KB, 0 views)
Reply With Quote
  #4  
Old 06-10-2014, 02:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hard to tell what is going on without a link to view the problem.
Reply With Quote
  #5  
Old 06-10-2014, 05:00 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, got that.....

The link is here http://www.mightymoiety.com/content.php
But it may well change over time...

Thanks.........
Reply With Quote
  #6  
Old 06-11-2014, 09:05 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
OK, so how would this be explained?
Well, obviously the space thing I mentioned doesn't apply, because there's enough space that the image could go there. Anyway, I looked at the html at the link you posted, and the "ultra white teeth" post has 2 blank lines, 1 before and one after the image, so that looks like it matches what's in the widget. The "in the doghouse" post has 14 <br> tags in the html after the image, so those translate to blank lines in the plain text. The thing I don't understand is why there isn't more space in the original post. Seems like there should be the equivalent of 14 blank lines. But I'm not really an html person, so maybe someone else could explain it.
Reply With Quote
  #7  
Old 06-12-2014, 02:47 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the look in.
I also see another issue within the same widget.
A post has been made with a secondary title centered,bolded and coloured and in the widget it shows as

Code:
[CENTER]Come to Pattaya (Thailand) but make sure you buy more than one drink or you will get battered!
instead of

Come to Pattaya (Thailand) but make sure you buy more than one drink or you will get battered!

it seems the BB code is not being converted within the widget..
Reply With Quote
  #8  
Old 06-12-2014, 08:08 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know why that's happening. I think all bbcode should be stripped from the text shown in the widget. As a test you might try temporarily disabling all plugins by editing your includes/ config.php file and inserting the line:
Code:
define('DISABLE_HOOKS',true);
at the top just under the <?php. This will disable all mods so you'll want to remove it as soon as you check, but it's a test to see if any installed mods are causing a problem.
Reply With Quote
  #9  
Old 06-12-2014, 09:33 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, now that did it...

Code:
define('DISABLE_HOOKS',true);
How do I go about finding which plugin/mod is causing this? Do I have to disable each one as process of elimination or is there a better method?

Anyway, thanks, almost there..
Reply With Quote
  #10  
Old 06-12-2014, 10:06 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, sorry, obviously that was the wrong line for disabling plugins, but you figured out the right one (and I fixed my post above to avoid confusion in the future).

You could disable each installed product one at a time and see when the problem disappears. If that doesn't work, check the plugin manager to see if there are any other added plugins that are part of the "vbulletin" product, and disable them one at a time.
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 05:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04449 seconds
  • Memory Usage 2,268KB
  • Queries Executed 12 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete