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 Home Enhancements - User's Social Groups on Forum Home (like forumlist, fully templated) (https://vborg.vbsupport.ru/showthread.php?t=203721)

cad2go 07-13-2009 05:01 PM

Quote:

Originally Posted by cellarius (Post 1848178)
Photopost? This mod has nothing to do with Photopost - are you sure you don't mix this up with my other mod?

Yes.

I'm talking about the timing of it stopping working and even when it did work fully it still showed the big group icons not the 80x80 ones.

Oblivion Knight 07-13-2009 07:50 PM

I also had the problem with group thumbnails showing fullsize, so I decided to use custom statusicons per groupid with this little edit of your forumhome_start plugin:
Code:

if ($vbulletin->options['cel_sgfh_iconfile'])
{
        $oldicon = "group" . $cel_groups[groupid] . "_old";
        $newicon = "group" . $cel_groups[groupid] . "_new";
}

Then for each group, you need to upload groupX_old.gif and groupX_new.gif to images/statusicon, replacing X with the groupid.

Of course, this is only particularly useful if only admins can create social groups. It's not much good if you allow members to create their own, and/or if you have LOADS of them.

cellarius 07-14-2009 10:19 AM

I repeat, now the third time: As long as nobody at least wants to give me the img source url to one of the group icons, there's really nothing I can do, since it works fine for me.

The code in the plugin calls for the groupthumb, and this code has not changed for a long time now:
Code:

$statusimg = "image.php?groupid= " . $cel_groups[groupid] . "&dateline=" . $cel_groups[dateline] . "&type=groupthumb";
Is this type-parameter in the URL that calls the group icon on your forumhome?

cad2go 07-14-2009 11:45 AM

you've got a space after 'image.php?groupid'?

HTML Code:

image.php?groupid=%204&dateline=1246647737&type=groupthumb.gif
http://www.rletc.com/forum/image.php...groupthumb.gif is nothing anyway.

cellarius 07-14-2009 01:08 PM

Somehow the code got corrupted during copy&paste. Inserted the (now hopefully) correct code from line 324 of the plugin in my previous post.

//Oh, indeed there is a space too much. Fixing this however does not solve the problem. Can someone confirm who has this problems that your groups icons are stored in the filesystem, not the database?

cad2go 07-14-2009 02:54 PM

mine are filespace - I can re-admin you over on the site if you like

Also was going to manually edit the teaser with some of the group icons - might be a thought for a later version to mimic the new groups bit in groups.php - I'll probably put them in a row. Just a thought.

cellarius 07-14-2009 02:57 PM

1 Attachment(s)
OK, please try the attached plugin. I added a check whether the icons are stored in the database or in the file system and act accordingly. Import the attached product file to test.

Mind you: I was able to see that there were no icons displayed at all if the icons were stored in the filesystem; this has now been fixed.

I still can't reproduce the issue where not thumbs, but the original sizend groups icons are shown. If pulled from the file system this should be impossible: the icons are taken directly from the respective "thumbs" folder in your filesystem. So if the images are too big, they're safed like that in there and there's probably nothing I can do. If this happens with images in the database: if there is the "type=groupthumbs"-parameter present, that should trigger image.php to show the thumb sized icons. This follows exactly the call from the groups.php.

cad2go 07-14-2009 03:05 PM

lol

That didn't go well. I've had to uninstall the product. :D Let me just reinstall the original.

cellarius 07-14-2009 03:06 PM

What happened?

cad2go 07-14-2009 03:11 PM

I got that content encoding message that I got before.

?><? What's this at the start of the plugin php? It's not in your new version?


All times are GMT. The time now is 12:08 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.01390 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)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