vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Cel User's Social Groups on Forum Home (like forumlist, fully templated) (https://vborg.vbsupport.ru/showthread.php?t=221581)

cellarius 08-22-2009 10:00 PM

Cel User's Social Groups on Forum Home (like forumlist, fully templated)
 
1 Attachment(s)

What does it do?
  • Shows all social groups the actual user is a member of or is subscribed to, just below the forumlist (or anywhere else on forumhome).
  • If there are new messages, the corresponding forum statusicon is highlighted - just like in forumlist.
  • Instead of the statusicons, you can show the group's icon
  • If there are no groups to show, you can choose to show a teaser message.

Things to set in AdminCP/Options
:
  • use template hook to output or - more flexible - make manual template edit
  • show member of / subscribed to /nothing
  • sort by name or last message date
  • limit max number of groups shown, then link to appropriate page (grouplist for members, usercp for subscribers)
  • restrict use by usergroup
  • show a teaser message if there are no groups to show
  • show buttons to open new discussion etc.
  • apply custom css to grouptitle
  • trim group description to max length or disable
  • parse bbcode in group descriptions
  • use a different set of statusicons for groups than for forums
  • show groupicon instead of statusicon, and choose whether you want to show original size or resized to standard statusicon size

Looks
  • Out of the box: copies the standard look of the forumlist on forumhome.
  • Fully templated.

Install/upgrade
  1. Upload folder "images" to your forum root (can be omitted if you do not want to use the buttons).
  2. Import the product file.
  3. Check settings in AdminCP->Options->Social Groups on Forumhome.
Technical stuff
  • 3 templates (following the forumbit-scheme)
  • 2 plugins
  • 2 queries to forumhome (only if groups are shown, of course).
  • a bunch of phrases (prefix: cel_sgfh_).
  • 4 png-buttons, taken from the silk icon set.
Limitations
  • Marking of new messages only works with database, not with cookie based marking of read threads (-> AdminCP setting)
  • 3.7 Discussion groups will show up as "no messages yet" as long as there was no message written under a version 3.8.0 or higher

Version history
  • 4.0.006: fixed minor display bug when no discussions yet in group and fixed encoding issue reported by Been_Told
  • 4.0.005: fixed small PHP 5.3 issue
  • 4.0.004: fixed group's icon styling issues (thanks to ZexTasy for some useful hints) and added resize option, implemented suggestions (f.e. using template hook now)
  • 4.0.003: Adapted to vB4 beta 3, first public release
  • 4.0.001: Ported to vB4 alpha 1
  • previous see 3.8 versions here.
The 3.8 version of this mod can be found here.

### Don't forget to click install ###

cellarius 08-23-2009 06:37 PM

Reserved.

Azhrialilu 08-24-2009 09:12 AM

Quote:

3.7 Discussion groups will show up as "no massages yet"
Unless you've managed to get virtual massages to work, you might want to edit that :D

Paul M 08-24-2009 09:23 AM

Quote:

Will be automatically inserted below your forums list if you are using TMS, which I highly recommend to do.
Does TMS work in 4.0 ? (Just curious, i dont use it).

cellarius 08-24-2009 09:24 AM

Quote:

Originally Posted by Azhrialilu (Post 1873241)
Unless you've managed to get virtual massages to work, you might want to edit that :D

Why? If you're updating from 3.7 to 4.0, that's just what it will say, even if there are messages in the social group. For a more verbose explanation see the 3.8 version of the mod ;)

cellarius 08-24-2009 09:25 AM

Quote:

Originally Posted by Paul M (Post 1873244)
Does TMS work in 4.0 ? (Just curious, i dont use it).

Not tried yet, Andreas might be best suited to answer that :)
That's why I'm smalled and greyed that sentence. Ever so optimistic, I hope TMS will be updated for 4.0 ;)

Paul M 08-24-2009 09:27 AM

Quote:

Originally Posted by cellarius (Post 1873245)
Why? If you're updating from 3.7 to 4.0, that's just what it will say, even if there are messages in the social group. For a more verbose explanation see the 3.8 version of the mod ;)

LOL, you might want to check the original spelling to understand what she posted .... ;)

cellarius 08-24-2009 09:33 AM

*bangs head on wall*

You're right - sorry Azrhialilu, clearly I need to go back to first grade, ever so stupid :)

*shames and is off to correct the error*

Azhrialilu 08-24-2009 10:46 AM

LOL no harm done.. it just struck me as funny is all :)

cellarius 08-25-2009 02:13 PM

Quote:

Originally Posted by Paul M (Post 1873244)
Does TMS work in 4.0 ? (Just curious, i dont use it).

Well, since the question came up and I don't know if Andreas did any testing with it until now: For me the current 3.8-version just worked fine and dandy!

cellarius 11-15-2009 09:40 PM

Hey, that was fast - only just requested the mod moved out in the open, and here we are :) Thanks to whoever that was!

MarekJan 11-15-2009 09:45 PM

Gibt es Deutsche Sprachdatei?? Sorry kann kein English

cellarius 11-15-2009 10:03 PM

Quote:

Originally Posted by MarekJan (Post 1914844)
Gibt es Deutsche Sprachdatei?? Sorry kann kein English

Die im Thread der Version f?r 3.8 sollte funktionieren (gleich im ersten Beitrag).

Question was for a German language file, which can be found in the thread for the 3.8 version.

Neo_obs 11-15-2009 10:08 PM

I was missing the phrase cel_sgfh_discussions

Also It isn't showing the title of the last discussion.

cellarius 11-15-2009 10:34 PM

Quote:

Originally Posted by Neo_obs (Post 1914868)
I was missing the phrase cel_sgfh_discussions

Indeed. Package updated.
Quote:

Also It isn't showing the title of the last discussion.
You're updating from 3.7? Read under "Limitations".

Link14716 11-15-2009 10:44 PM

+1, something like this should be in by default. Good work. :)

MarekJan 11-15-2009 10:44 PM

Quote:

Originally Posted by cellarius (Post 1914859)
Die im Thread der Version f?r 3.8 sollte funktionieren (gleich im ersten Beitrag).

Question was for a German language file, which can be found in the thread for the 3.8 version.

Leider geht die nicht, oder ist unvollst?ndig

cellarius 11-15-2009 10:56 PM

1 Attachment(s)
Probier die hier. Allerdings frage ich mich, wie Du vB4 testest, das ja nur auf englisch vorliegt, wenn Du mit dem Mod hier schon Probleme hast ;)

MarekJan 11-15-2009 11:02 PM

Quote:

Originally Posted by cellarius (Post 1914897)
Probier die hier. Allerdings frage ich mich, wie Du vB4 testest, das ja nur auf englisch vorliegt, wenn Du mit dem Mod hier schon Probleme hast ;)

Deutsche Datei war ja auf meinem Testforum 3.8 ^^
und rest einfach mit babelfish ?bersetzten und testen ;) Danke Dir:D

dacho 11-16-2009 07:37 AM

Is set to be just on home page?
If i want to set it on sub forum ?

MarekJan 11-16-2009 10:18 AM

BUG??
Sie sind momentan nicht Mitglied einer Interessengemeinschaft.
Das kann man ändern...g
Wenn man auf den Link klickt, weil man nicht in eine Gruppe ist leitet er an eine ungültige URL
http://www.xxxxxxxxx.de/vbtest1/board/group.php$session[sessionurl_q]

cellarius 11-16-2009 12:31 PM

Quote:

Originally Posted by MarekJan (Post 1915156)
BUG??
Sie sind momentan nicht Mitglied einer Interessengemeinschaft.
Das kann man ?ndern...g
Wenn man auf den Link klickt, weil man nicht in eine Gruppe ist leitet er an eine ung?ltige URL
http://www.xxxxxxxxx.de/vbtest1/board/group.php$session[sessionurl_q]

Das ist ein Problem der deutschen Sprachdatei. Entferne $session[sessionurl_q] aus der Phrase cel_sgfh_no_social_groups.

Bitte habe Verst?ndnis daf?r dass ich hier nicht dauerhaft deutschsprachigen Support biete. Die Sprache hier ist halt englisch. Auf deutsch bist Du auf vbulletin-germany.org besser aufgehoben.

The bug mentioned is not a bug in the modification but in the German language file which as of yet is not up to vB4 standards.

cellarius 11-16-2009 12:33 PM

Quote:

Originally Posted by dacho (Post 1915095)
Is set to be just on home page?
If i want to set it on sub forum ?

This is for the Formuhome, yes. You can try to adapt the two plugins to suite your needs (i.e. change the hooks), and you would need to change the variable preregistration from FORUMHOME to whatever, but then it might work. Havn't tried it, tho.

cad2go 11-17-2009 11:46 AM

Love this mod! Any plans to show a few random groups instead of the teaser message?

I'll be trying this out locally in the meantime. Cheers

cellarius 11-17-2009 12:45 PM

Quote:

Originally Posted by cad2go (Post 1915844)
Love this mod! Any plans to show a few random groups instead of the teaser message?

Sounds like a good idea. Noted for future version.

Greight 11-17-2009 12:50 PM

Why the group icon is not resized on forumhome ?

cellarius 11-17-2009 01:02 PM

Quote:

Originally Posted by Greight (Post 1915870)
Why the group icon is not resized on forumhome ?

I am not sure whether I understand your question.

bart6767 11-17-2009 05:26 PM

Thanks very much .

FiMeTi 11-18-2009 06:05 PM

Good job cellarius! Thanks for sharing! :)

Alfa1 11-18-2009 06:28 PM

https://vborg.vbsupport.ru/attachmen...6&d=1258327563

I wish the main groups page would look this this!

Dr.osamA 11-23-2009 01:37 AM

brb

try try
________
Yamaha Rd500Lc Specifications

rsuplido 12-17-2009 07:14 PM

Any way to list subscribed groups based on the actual group category?

cellarius 12-18-2009 12:15 AM

Quote:

Originally Posted by rsuplido (Post 1932446)
Any way to list subscribed groups based on the actual group category?

I have no idea what you're asking. Please explain in greater detail. You can show subscribed groups, but what do you mean by "based on actual group category"?

nitra1000 12-22-2009 05:24 PM

Works like a charm, thanks!

rsuplido 12-22-2009 05:30 PM

Quote:

Originally Posted by cellarius (Post 1932595)
I have no idea what you're asking. Please explain in greater detail. You can show subscribed groups, but what do you mean by "based on actual group category"?

Social Groups are assigned a certain category when you create it right? Instead of showing all your social group subscription in one long list like:

Groups
- My Subscribed Group 1
- My Subscribed Group 2
- My Subscribed Group 3
- My Subscribed Group 4
- My Subscribed Group 5

Maybe you can provide an option to show them under their specific categories:

Category 1
- My Subscribed Group 1
- My Subscribed Group 2

Category 2
- My Subscribed Group 3

Category 3
- My Subscribed Group 4
- My Subscribed Group 5

I hope I'm describing it clearly.

cellarius 12-22-2009 06:53 PM

Ah, now I understand. Im not ruling out anything for the future, but at the moment I don't have the time to look into that, sorry.

compact123 12-22-2009 10:58 PM

Sir i just wondered when they are updated to vb 4.0.0 gold ? thanks :)

cellarius 12-23-2009 05:19 AM

There's no need to update for Gold. It works. Anyway, mod settings changed to reflect that.

Hasann 12-25-2009 08:32 PM

Quote:

Originally Posted by cellarius (Post 1936091)
There's no need to update for Gold. It works. Anyway, mod settings changed to reflect that.

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in C:\Programme\EasyPHP5.3.0\www\vb4\forum.php(78) : eval()'d code on line 586
Powered by vBulletin Version 4.0.0 PL 1

Varsh 12-26-2009 01:58 PM

And I was just about to install it, good spot!

*tagged*


All times are GMT. The time now is 07:13 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.01443 seconds
  • Memory Usage 1,828KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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