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 - Alternate Last Post Display (https://vborg.vbsupport.ru/showthread.php?t=214832)

dancue 06-12-2009 08:35 PM

question about the image sizes.

If I place a value for height and nothing for width will it automatically keep it's original ratio?

IdanB 06-13-2009 07:23 AM

Quote:

Originally Posted by dancue (Post 1828570)
question about the image sizes.

If I place a values for height and nothing for width will it automatically keep it's original ratio?

No. according to feedback & common sense, my initial assumption was that for "esthetic reasons" users would want all pics to have same width & height, else result isnt looking nice (it's really matter of original avatar dimensions).

IdanB 06-13-2009 07:28 AM

Quote:

Originally Posted by dancue (Post 1828568)
Same here.

I've flushed my cache through vboptimise and still not aligning to the left.

ok, i'll try to find source of problem & fix it.
Pretty much the major difference between 1.1.3 to 1.1.4 is i'v taken the replaced html from plugin code to template, but wierd thing is the "left align" is still same code as version 1.1.3, and it's defined on plugin code.

Can you try to set "left align" to NO, save settings, then set to YES & save again ?
Perhaps since options number are not the same as previous version, the db still has different value for these & needs to be updated.

pet0etie 06-14-2009 06:44 PM

last night i had the forum crashing after installing this plugin (so nobody could consult the main forum page)

on our forum we have a user called "/!\K.v.K./!\Boechie/!\" who has posted in a thread ... being the last one to post, his name, avatar and posting time is (should be) displayed on the index-page

but ... when i check your code u are using this query :
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `" . TABLE_PREFIX . "user` WHERE username = \"".$lastpostinfo[lastposter]."\"";
putting in the name of "/!\K.v.K./!\Boechie/!\" into that query i get :
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `user` WHERE username = \"/!\K.v.K./!\Boechie/!\\"";
your query is getting 'screwed up' because he sees the last \ of the name "/!\K.v.K./!\Boechie/!\" as an escape-character

shouldn't the query be changed towards this query ?
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `" . TABLE_PREFIX . "user` WHERE username = \"". $vbulletin->db->escape_string($lastpostinfo[lastposter]) ."\"";
thanks for looking up / solving the problem

pet0etie

IdanB 06-15-2009 06:34 PM

Quote:

Originally Posted by pet0etie (Post 1829710)
last night i had the forum crashing after installing this plugin (so nobody could consult the main forum page)

on our forum we have a user called "/!\K.v.K./!\Boechie/!\" who has posted in a thread ... being the last one to post, his name, avatar and posting time is (should be) displayed on the index-page

but ... when i check your code u are using this query :
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `" . TABLE_PREFIX . "user` WHERE username = \"".$lastpostinfo[lastposter]."\"";
putting in the name of "/!\K.v.K./!\Boechie/!\" into that query i get :
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `user` WHERE username = \"/!\K.v.K./!\Boechie/!\\"";
your query is getting 'screwed up' because he sees the last \ of the name "/!\K.v.K./!\Boechie/!\" as an escape-character

shouldn't the query be changed towards this query ?
Code:

$q_text = "SELECT userid, avatarid, avatarrevision  FROM `" . TABLE_PREFIX . "user` WHERE username = \"". $vbulletin->db->escape_string($lastpostinfo[lastposter]) ."\"";
thanks for looking up / solving the problem

pet0etie

Yes, you are correct.
I'll have it fix on upcoming revision. Thanks for the heads up.

nascartr 07-11-2009 04:32 PM

Would love to use this, has anyone found a fix for the Tabbed Forum Home mod? Thanks!

goxy63 07-19-2009 02:54 PM

not working with this mod
"Hide Last Post Date For Guests"
https://vborg.vbsupport.ru/showthrea...88#post1851088

Any suggestions, or even better making this mod working with mentioned one?

Thanks

IdanB 07-19-2009 05:13 PM

I've been busy last few weeks with coding/re-lunch of vBHackers community. Once that goes live & behind me (soon enough) i'll try to address these open issues.

nascartr 07-19-2009 11:29 PM

Thanks for the reply!

TheLastSuperman 08-08-2009 10:12 PM

I modified it a bit and have it working w/ the Forum Home Tabs mod by Bobster65!

Only setback.. which I thought was posted previously while reading this mods thread earlier is custom avatars are not showing...

We upload then create custom avatars, several categories and let our users select them... only problem is (even before I modified to work w/ the tabs) with the product installed and enabled to show on forumdisplay only it will show the "dummy" avatar but not the user selected one... if I enable to show custom profile pic it works but I need our admin defined but user selected Avatars to display... I need help with this. If you don't come on here by later tonight I might join on your site and PM if not it will be first thing in the morning... then we can have it updated to fix that as some may not have my problem and can benefit from the update.

Ok, I have some unfinished work to go do so :p installed but disabled for now until I find time to get it working with the custom avatars we let our members choose from.

S-MAN


All times are GMT. The time now is 03:18 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.01183 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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