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)

cellarius 04-21-2009 04:22 PM

Quote:

Originally Posted by Revan (Post 1794442)
I believe these changes, especially if added as options, will be beneficial for those like me, who prefer to have the Social Groups list exactly the same way as any other forum category :)

As you can see, some of them made it into the new release, some did not. The decision to put the groups into an extra block was made to have some distinction - they are not the same as any other forum, after all. Who wishs to treat them like you do can follow your example - that's what templates are for :)

Revan 04-21-2009 05:58 PM

Well I'm most pleased that the .png change made it into the mod - template edits, I can deal with, but remembering code changes would be a hassle ;)
Nice going on the read marking change =D

Updating now :)


EDIT: Nevermind, the .png setting is global when it should be per-skin, like I put in my templates. I still need to edit the code to produce the wanted effect :(
Best way to do this would be to define the result of the AdminCP option in the template, rather than the code, so that a forum could set their default (if the majority of skins uses gifs, they use gif extension in the option, and vice versa), but still allow us to customise the extension per-skin.
Hopefully that made sense XD

cellarius 04-21-2009 06:25 PM

1 Attachment(s)
Hi, try this one.
I started to change this right after your first edit, but I guess I just had the same idea ;) I hope this will work for you.

I updated the product .zip accordingly.

blackenizer 04-21-2009 06:31 PM

When I click on the option

groups user is a member of
The forum page does not come up.

but it works if I select
groups user is subscribed to

cellarius 04-21-2009 06:37 PM

Quote:

Originally Posted by blackenizer (Post 1796192)
When I click on the option

groups user is a member of
The forum page does not come up.

but it works if I select
groups user is subscribed to

I cannot reproduce this - I myself use it with the "member of"-option only, without problems both on my test and my life-board.

Revan 04-21-2009 07:57 PM

Working like a charm now, thanks mate :D

cellarius 04-21-2009 08:06 PM

Quote:

Originally Posted by Revan (Post 1796263)
Working like a charm now, thanks mate :D

Good to hear :cool::up:

redlabour 04-21-2009 08:20 PM

Please use the Update-Mail Function. You have 120 Installs but only a few Downloads every Update. ;)

redlabour 04-21-2009 08:38 PM

BUG after Updating shown at Top of Forumhome/Header:

Warnung: Invalid argument supplied for foreach() in [path]/index.php(67) : eval()'d code (Zeile 458)

cellarius 04-21-2009 09:12 PM

Uh - I don't get that error... on neither of my boards. Since there's no line 458 in the plugin, I do not know exactly which of the two foreach statements in the plugin might be responsible. Since this only happens after upgrade, probably the newly added ;) Can't see what might be causing it at the moment.

Please try the following: in the plugin add
Code:

$array_discussionread = array();
before
Code:

while ($array = $db->fetch_array($result_discussionread))

Are you using PHP 4 or PHP 5?

If the above does not fix it, please try to replace
Code:

foreach ($array_discussionread[$cel_groups['groupid']] as $discussions)
with
Code:

foreach ((array) $array_discussionread[$cel_groups['groupid']] as $discussions)


All times are GMT. The time now is 02:24 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.01349 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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
  • (2)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